diff --git a/aio/tools/transforms/angular-api-package/tag-defs/nocollapse.js b/aio/tools/transforms/angular-api-package/tag-defs/nocollapse.js new file mode 100644 index 0000000000..71c62ca536 --- /dev/null +++ b/aio/tools/transforms/angular-api-package/tag-defs/nocollapse.js @@ -0,0 +1,7 @@ +// A fake annotation to prevent Closure compiler from modifying the +// associated code. +// See https://github.com/angular/angular/blob/master/packages/compiler-cli/src/transformers/nocollapse_hack.ts +// We must provide a tag-def for it or the doc-gen will error. +module.exports = function() { + return {name: 'nocollapse'}; +};