-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jsdoc/check-template-names
reports used template as unused
#1286
Closed
ehoogeveen-medweb opened this issue
Jul 30, 2024
· 3 comments
· Fixed by #1287 · May be fixed by AKJUS/node#19
Closed
jsdoc/check-template-names
reports used template as unused
#1286
ehoogeveen-medweb opened this issue
Jul 30, 2024
· 3 comments
· Fixed by #1287 · May be fixed by AKJUS/node#19
Comments
🎉 This issue has been resolved in version 48.10.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Thanks for the report! |
Thanks for the quick fix! |
This was referenced Aug 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
No warnings. Template
T
is in use and the function type checks with// @ts-check
. I would expect both@param
s and maybe the@returns
to separately be enough to mark the template as used.The
@type
inside the function also references it, but that probably shouldn't be considered as the template should already be part of the function signature.Actual behavior
Starting from
eslint-plugin-jsdoc
version48.10.0
,jsdoc/check-template-names
reports that@template T not in use
.ESLint Config
ESLint sample
Environment
v20.16.0
v8.57.0
eslint-plugin-jsdoc
version:48.10.1
The text was updated successfully, but these errors were encountered: