Skip to content

Commit

Permalink
fix: tag type
Browse files Browse the repository at this point in the history
  • Loading branch information
skarab42 committed Jul 13, 2022
1 parent 5d51c86 commit fa7592c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/assert/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function getTag(tagName: string, argument: ts.Node, typeChecker: ts.TypeC
return;
}

return tags.find((tag) => tag.name === tagName);
return tags.find((tag: ts.JSDocTagInfo) => tag.name === tagName);
}

export function hasDeprecatedTag(argument: ts.Node, typeChecker: ts.TypeChecker): boolean {
Expand Down

0 comments on commit fa7592c

Please sign in to comment.