We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f1ec7a commit a66b38aCopy full SHA for a66b38a
src/services/services.ts
@@ -4247,7 +4247,7 @@ namespace ts {
4247
addRange(entries, keywordCompletions);
4248
}
4249
4250
- return { isMemberCompletion, isNewIdentifierLocation, entries };
+ return { isMemberCompletion, isNewIdentifierLocation: isSourceFileJavaScript(sourceFile) ? true : isNewIdentifierLocation, entries };
4251
4252
function getJavaScriptCompletionEntries(sourceFile: SourceFile, position: number, uniqueNames: Map<string>): CompletionEntry[] {
4253
const entries: CompletionEntry[] = [];
0 commit comments