From 06654afae3f84267b50e2faf1e9b9e08783f0279 Mon Sep 17 00:00:00 2001 From: Cam Wiegert Date: Thu, 14 Mar 2019 13:35:32 -0500 Subject: [PATCH] fix(scripts): check for TypeDoc tags when selecting plugin class (#2963) --- scripts/docs-json/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docs-json/index.ts b/scripts/docs-json/index.ts index f2391d532..decb3b6c7 100644 --- a/scripts/docs-json/index.ts +++ b/scripts/docs-json/index.ts @@ -90,7 +90,7 @@ const isClass = (child: any): boolean => child.kind === 128; const isPlugin = (child: any): boolean => - isClass(child) && Array.isArray(child.decorators) && child.decorators.some(d => d.name === 'Plugin'); + isClass(child) && hasTags(child) && Array.isArray(child.decorators) && child.decorators.some(d => d.name === 'Plugin'); const hasPlugin = (child: any): boolean => child.children.some(isPlugin);