Skip to content

Commit 8e078b9

Browse files
author
Andy
authored
Add comment to isGlobalCompletion (#21973)
1 parent 69abe49 commit 8e078b9

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/services/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,7 @@ namespace ts {
727727
}
728728

729729
export interface CompletionInfo {
730+
/** Not true for all glboal completions. This will be true if the enclosing scope matches a few syntax kinds. See `isGlobalCompletionScope`. */
730731
isGlobalCompletion: boolean;
731732
isMemberCompletion: boolean;
732733

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4490,6 +4490,7 @@ declare namespace ts {
44904490
argumentCount: number;
44914491
}
44924492
interface CompletionInfo {
4493+
/** Not true for all glboal completions. This will be true if the enclosing scope matches a few syntax kinds. See `isGlobalCompletionScope`. */
44934494
isGlobalCompletion: boolean;
44944495
isMemberCompletion: boolean;
44954496
/**

tests/baselines/reference/api/typescript.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4742,6 +4742,7 @@ declare namespace ts {
47424742
argumentCount: number;
47434743
}
47444744
interface CompletionInfo {
4745+
/** Not true for all glboal completions. This will be true if the enclosing scope matches a few syntax kinds. See `isGlobalCompletionScope`. */
47454746
isGlobalCompletion: boolean;
47464747
isMemberCompletion: boolean;
47474748
/**

0 commit comments

Comments
 (0)