mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-19 01:33:15 -05:00
fix(57392): using is not suggested as a keyword (#57394)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user