We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the jsDoc field on JSDocContainer is marked as @internal.
jsDoc
JSDocContainer
@internal
It would be nice to be able to use the jsDoc field in linting tools like eslint in custom rules.
eslint
here's an example where the jsDoc field is used ( typescript-eslint/typescript-eslint#2939 (comment) ).
jsDoc, jsdoc, internal
My suggestion meets these guidelines:
Remove the @internal declaration on the jsDoc field.
typescript-eslint/typescript-eslint#2939 (comment)
To be able to use the jsDoc field without casting in linting rules.
The text was updated successfully, but these errors were encountered:
Duplicate of #7393
There's a function getJsDoc in my package tsutils that does exactly what you want: https://github.com/ajafff/tsutils/blob/752e8024003afc23c55f1fae8fbfb015068b9c10/util/util.ts#L1226
getJsDoc
tsutils
Sorry, something went wrong.
Awesome, that resolves this issue.
No branches or pull requests
Suggestion
Currently the
jsDoc
field onJSDocContainer
is marked as@internal
.It would be nice to be able to use the
jsDoc
field in linting tools likeeslint
in custom rules.here's an example where the
jsDoc
field is used ( typescript-eslint/typescript-eslint#2939 (comment) ).🔍 Search Terms
jsDoc, jsdoc, internal
✅ Viability Checklist
My suggestion meets these guidelines:
⭐ Suggestion
Remove the
@internal
declaration on thejsDoc
field.📃 Motivating Example
typescript-eslint/typescript-eslint#2939 (comment)
💻 Use Cases
To be able to use the
jsDoc
field without casting in linting rules.The text was updated successfully, but these errors were encountered: