From e8173699aa64de17d4fc827df5668ecc98e7bc58 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Wed, 1 Mar 2017 20:15:36 +0100 Subject: [PATCH] build: fix dgeni warning for component-groups * Since we create our own `componentGroup` docs inside of Dgeni, the `computeIdsProcessor` is looking for aliases for those Dgeni docs. * Right now those docs don't contain any `aliases` property and therefore Dgeni shows warnings and wants to have a `getAliases` function. --- tools/dgeni/processors/component-grouper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/dgeni/processors/component-grouper.js b/tools/dgeni/processors/component-grouper.js index 91b367a75b54..676430dbb3af 100644 --- a/tools/dgeni/processors/component-grouper.js +++ b/tools/dgeni/processors/component-grouper.js @@ -11,6 +11,7 @@ class ComponentGroup { constructor(name) { this.name = name; this.id = `component-group-${name}`; + this.aliases = []; this.docType = 'componentGroup'; this.directives = []; this.services = [];