Skip to content

Commit

Permalink
refactor: use replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Feb 9, 2023
1 parent 586a349 commit 1c7eedc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ export function forEachToken(
while (true) {
if (ts.isTokenKind(node.kind)) {
callback(node);
// TODO: Investigate?
// eslint-disable-next-line deprecation/deprecation
} else if (node.kind !== ts.SyntaxKind.JSDocComment) {
} else if (node.kind !== ts.SyntaxKind.JSDoc) {
const children = node.getChildren(sourceFile);
if (children.length === 1) {
node = children[0];
Expand Down

0 comments on commit 1c7eedc

Please sign in to comment.