Skip to content

Commit

Permalink
types: replace @ts-expect-error with type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
npdev453 committed Jan 11, 2022
1 parent 082a7ee commit c4b9902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/isSqlToken.ts
Expand Up @@ -28,5 +28,5 @@ export const isSqlToken = (subject: unknown): subject is SqlTokenType => {
return false;
}

return Tokens.includes((subject as {type: string}).type);
return Tokens.includes((subject as SqlTokenType).type);
};

0 comments on commit c4b9902

Please sign in to comment.