Skip to content

Commit

Permalink
Update predicates.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed May 12, 2021
1 parent 919c2ac commit c5672c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/experimental-utils/src/ast-utils/predicates.ts
Expand Up @@ -210,7 +210,7 @@ function isAwaitExpression(
*/
function isAwaitKeyword(
node: TSESTree.Token | TSESTree.Comment | undefined | null,
): node is TSESTree.Identifier & { value: 'await' } {
): node is TSESTree.IdentifierToken & { value: 'await' } {
return node?.type === AST_TOKEN_TYPES.Identifier && node.value === 'await';
}

Expand Down

0 comments on commit c5672c9

Please sign in to comment.