Skip to content

Commit

Permalink
chore: remove redundant cast
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Jun 22, 2024
1 parent 1660b13 commit f5208eb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/apidocs/processing/jsdocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export function getTypeParameterTags(jsdocs: JSDoc): Record<string, JSDocTag> {
.getTags()
.filter((tag) => tag.getTagName() === 'template')
.filter((tag) => tag instanceof JSDocTemplateTag)
.map((tag) => tag as JSDocTemplateTag)
.map((tag) => [tag.getTypeParameters()[0].getName(), tag] as const)
);
}
Expand All @@ -42,7 +41,6 @@ export function getParameterTags(jsdocs: JSDoc): Record<string, JSDocTag> {
.getTags()
.filter((tag) => tag.getTagName() === 'param')
.filter((tag) => tag instanceof JSDocParameterTag)
.map((tag) => tag as JSDocParameterTag)
.map((tag) => [tag.getName(), tag] as const)
);
}
Expand Down

0 comments on commit f5208eb

Please sign in to comment.