fix(57392): using is not suggested as a keyword (#57394)

This commit is contained in:
Oleksandr T
2024-02-17 00:12:17 +02:00
committed by GitHub
parent 29c0024bcf
commit 91e67ffbea
66 changed files with 1074 additions and 0 deletions

View File

@@ -1418,6 +1418,7 @@ export namespace Completion {
"typeof",
"unique",
"unknown",
"using",
"var",
"void",
"while",
@@ -1530,6 +1531,7 @@ export namespace Completion {
"try",
"type",
"typeof",
"using",
"var",
"void",
"while",
@@ -1635,6 +1637,7 @@ export namespace Completion {
"typeof",
"unique",
"unknown",
"using",
"var",
"void",
"while",
@@ -1686,6 +1689,7 @@ export namespace Completion {
"try",
"type",
"typeof",
"using",
"var",
"void",
"while",

View File

@@ -5335,6 +5335,7 @@ function isClassMemberCompletionKeyword(kind: SyntaxKind) {
function isFunctionLikeBodyKeyword(kind: SyntaxKind) {
return kind === SyntaxKind.AsyncKeyword
|| kind === SyntaxKind.AwaitKeyword
|| kind === SyntaxKind.UsingKeyword
|| kind === SyntaxKind.AsKeyword
|| kind === SyntaxKind.SatisfiesKeyword
|| kind === SyntaxKind.TypeKeyword