Skip to content

Commit 29cc976

Browse files
author
Pavel Zavora
committed
fix(api-extractor): repair references from computed properties #3629
1 parent b13bd76 commit 29cc976

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/api-extractor/src/generators/DeclarationReferenceGenerator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export class DeclarationReferenceGenerator {
6060
private static _isInExpressionContext(node: ts.Node): boolean {
6161
switch (node.parent.kind) {
6262
case ts.SyntaxKind.TypeQuery:
63+
case ts.SyntaxKind.ComputedPropertyName:
6364
return true;
6465
case ts.SyntaxKind.QualifiedName:
6566
return DeclarationReferenceGenerator._isInExpressionContext(node.parent);

0 commit comments

Comments
 (0)