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:
parent
7f1cace2a2
commit
cee7448efc
|
@ -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'};
|
||||
};
|
Loading…
Reference in New Issue