fix(42019): include the jsdoc tags from the base declaration (#42098)

This commit is contained in:
Oleksandr T
2021-01-04 17:33:26 +02:00
committed by GitHub
parent 822962e7b3
commit f1dca6a61f
14 changed files with 758 additions and 43 deletions

View File

@@ -2992,7 +2992,7 @@ namespace ts {
}
export function getEffectiveImplementsTypeNodes(node: ClassLikeDeclaration): undefined | readonly ExpressionWithTypeArguments[]{
if(isInJSFile(node)) {
if (isInJSFile(node)) {
return getJSDocImplementsTags(node).map(n => n.class);
}
else {