Skip to content

Commit 35450d3

Browse files
committed
Construct signature is valid signature declaration
Fixes microsoft#21501
1 parent 1472b65 commit 35450d3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/services/goToDefinition.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ namespace ts.GoToDefinition {
217217
function isSignatureDeclaration(node: Node): boolean {
218218
switch (node.kind) {
219219
case ts.SyntaxKind.Constructor:
220+
case ts.SyntaxKind.ConstructSignature:
220221
case ts.SyntaxKind.FunctionDeclaration:
221222
case ts.SyntaxKind.MethodDeclaration:
222223
case ts.SyntaxKind.MethodSignature:

0 commit comments

Comments
 (0)