build(docs-infra): add @nocollapse tag-def to prevent warning (#26039)

See https://github.com/angular/angular/blob/master/packages/compiler-cli/src/transformers/nocollapse_hack.ts

PR Close #26039
This commit is contained in:
Pete Bacon Darwin 2018-09-20 14:09:23 +01:00 committed by Kara Erickson
parent 7f1cace2a2
commit cee7448efc
1 changed files with 7 additions and 0 deletions

View File

@ -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'};
};