Skip to content

Commit

Permalink
fix(typescript-estree): fix node-utils' convertToken function
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Jun 8, 2021
1 parent 07b9830 commit f37ecc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typescript-estree/src/node-utils.ts
Expand Up @@ -611,7 +611,7 @@ export function convertToken(
} else {
return {
type: tokenType,
value,
value: value as never,
range: [start, end],
loc: getLocFor(start, end, ast),
};
Expand Down

0 comments on commit f37ecc1

Please sign in to comment.