mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-20 05:17:43 -05:00
Fix missing abstract keyword in completion (#45710)
* first commit * tests
This commit is contained in:
@@ -1292,6 +1292,7 @@ namespace FourSlashInterface {
|
||||
"let",
|
||||
"package",
|
||||
"yield",
|
||||
"abstract",
|
||||
"as",
|
||||
"asserts",
|
||||
"any",
|
||||
@@ -1495,6 +1496,7 @@ namespace FourSlashInterface {
|
||||
"let",
|
||||
"package",
|
||||
"yield",
|
||||
"abstract",
|
||||
"as",
|
||||
"asserts",
|
||||
"any",
|
||||
|
||||
@@ -2960,6 +2960,7 @@ namespace ts.Completions {
|
||||
|| kind === SyntaxKind.ModuleKeyword
|
||||
|| kind === SyntaxKind.TypeKeyword
|
||||
|| kind === SyntaxKind.NamespaceKeyword
|
||||
|| kind === SyntaxKind.AbstractKeyword
|
||||
|| isTypeKeyword(kind) && kind !== SyntaxKind.UndefinedKeyword;
|
||||
case KeywordCompletionFilters.FunctionLikeBodyKeywords:
|
||||
return isFunctionLikeBodyKeyword(kind);
|
||||
|
||||
Reference in New Issue
Block a user