From 7a7dc8933254168f48125e165c26b1830208e3e8 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Tue, 12 Jan 2021 20:56:05 +0000 Subject: [PATCH] build(docs-infra): add `@default` tag-def support (#40404) This tag-def is being used in the `platform-server` source code, and was causing warnings in the doc-gen. Adding support prevents the warning from being shown. Other than that this change has no effect on the generated documentation, since the `@default` tag is not used in any templates. PR Close #40404 --- aio/tools/transforms/angular-api-package/tag-defs/default.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 aio/tools/transforms/angular-api-package/tag-defs/default.js diff --git a/aio/tools/transforms/angular-api-package/tag-defs/default.js b/aio/tools/transforms/angular-api-package/tag-defs/default.js new file mode 100644 index 0000000000..d43674d845 --- /dev/null +++ b/aio/tools/transforms/angular-api-package/tag-defs/default.js @@ -0,0 +1,3 @@ +module.exports = function() { + return {name: 'default'}; +};