Construct signature is valid signature declaration

Fixes #21501
This commit is contained in:
Sheetal Nandi
2018-02-07 13:29:47 -08:00
parent 1472b654db
commit 35450d3451

View File

@@ -217,6 +217,7 @@ namespace ts.GoToDefinition {
function isSignatureDeclaration(node: Node): boolean {
switch (node.kind) {
case ts.SyntaxKind.Constructor:
case ts.SyntaxKind.ConstructSignature:
case ts.SyntaxKind.FunctionDeclaration:
case ts.SyntaxKind.MethodDeclaration:
case ts.SyntaxKind.MethodSignature: