File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4775,6 +4775,7 @@ namespace FourSlashInterface {
4775
4775
"package" ,
4776
4776
"yield" ,
4777
4777
"async" ,
4778
+ "await" ,
4778
4779
] . map ( keywordEntry ) ;
4779
4780
4780
4781
// TODO: many of these are inappropriate to always provide
Original file line number Diff line number Diff line change @@ -1957,7 +1957,7 @@ namespace ts.Completions {
1957
1957
}
1958
1958
1959
1959
function isFunctionLikeBodyKeyword ( kind : SyntaxKind ) {
1960
- return kind === SyntaxKind . AsyncKeyword || ! isContextualKeyword ( kind ) && ! isClassMemberCompletionKeyword ( kind ) ;
1960
+ return kind === SyntaxKind . AsyncKeyword || SyntaxKind . AwaitKeyword || ! isContextualKeyword ( kind ) && ! isClassMemberCompletionKeyword ( kind ) ;
1961
1961
}
1962
1962
1963
1963
function keywordForNode ( node : Node ) : SyntaxKind {
You can’t perform that action at this time.
0 commit comments