8000 Updated test case and added comment · hbcodeXCI/TypeScript@629ea86 · GitHub
[go: up one dir, main page]

Skip to content

Commit 629ea86

Browse files
author
Paul van Brenk
committed
Updated test case and added comment
1 parent 5778094 commit 629ea86

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/services/services.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4693,6 +4693,7 @@ module ts {
46934693
case SyntaxKind.ImportDeclaration:
46944694
return SemanticMeaning.Value | SemanticMeaning.Type | SemanticMeaning.Namespace;
46954695

4696+
// An external module can be a Value
46964697
case SyntaxKind.SourceFile:
46974698
return SemanticMeaning.Namespace | SemanticMeaning.Value;
46984699
}

tests/cases/fourslash/quickInfoForRequire.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
////import a = require("AA/B/*1*/B");
88

99
goTo.marker('1');
10-
verify.quickInfoIs('module a');
10+
verify.quickInfoIs('module a');
11+
verify.referencesCountIs(0);

0 commit comments

Comments
 (0)
0