mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 21:06:50 -05:00
Don’t suppress completions after yield (#37609)
This commit is contained in:
@@ -2159,7 +2159,6 @@ namespace ts.Completions {
|
||||
case SyntaxKind.ImportKeyword:
|
||||
case SyntaxKind.LetKeyword:
|
||||
case SyntaxKind.ConstKeyword:
|
||||
case SyntaxKind.YieldKeyword:
|
||||
case SyntaxKind.TypeKeyword: // type htm|
|
||||
return true;
|
||||
|
||||
@@ -2200,7 +2199,6 @@ namespace ts.Completions {
|
||||
case SyntaxKind.PublicKeyword:
|
||||
case SyntaxKind.StaticKeyword:
|
||||
case SyntaxKind.VarKeyword:
|
||||
case SyntaxKind.YieldKeyword:
|
||||
return true;
|
||||
case SyntaxKind.AsyncKeyword:
|
||||
return isPropertyDeclaration(contextToken.parent);
|
||||
|
||||
Reference in New Issue
Block a user