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
7
aio/tools/transforms/angular-api-package/tag-defs/nocollapse.js
vendored
Normal file
7
aio/tools/transforms/angular-api-package/tag-defs/nocollapse.js
vendored
Normal 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'};
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user