Skip to content

Commit 0140e6d

Browse files
author
Andy Hanson
committed
Remove goToImplementation test, not supported for parameters
1 parent 38784b7 commit 0140e6d

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/services/findAllReferences.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ namespace ts.FindAllReferences {
6767
}
6868

6969
function getImplementationReferenceEntries(typeChecker: TypeChecker, cancellationToken: CancellationToken, sourceFiles: SourceFile[], node: Node): Entry[] | undefined {
70-
if (node.parent.kind === SyntaxKind.SourceFile) {
70+
if (node.kind === SyntaxKind.SourceFile) {
7171
return undefined;
7272
}
7373
// If invoked directly on a shorthand property assignment, then return

tests/cases/fourslash/jsDocGoToImplementation.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)