Closed Arkellys closed 2 months ago
To replicate, I will need your full ESLint config and details (e.g., version of eslint-plugin-jsdoc
).
To replicate, I will need your full ESLint config and details (e.g., version of
eslint-plugin-jsdoc
).
Oh yes sorry, I put it on the other issue and I forgot to add it here, my full config + version used is available on this repository. The JSDoc config specifically is on this file.
To use the latest TypeScript features, I'm using the VSCode plugin JavaScript and TypeScript Nightly.
The import
issue should be fixed in v48.2.3.
Sorry, got confused. It doesn't fix it.
:tada: This issue has been resolved in version 48.2.4 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
The no-undefined-types
rule is currently discouraged if you are using TypeScript checking (which checks for undefined types anyways). If you change your config to "recommended-typescript-flavor" or "recommended-typescript-flavor-error" (for JavaScript; if using TypeScript syntax, use "recommended-typescript" or "recommended-typescript-error"), this rule will be disabled and you will not see the error.
All right, thank you for the information, and the fix! I'll see about adjusting my configuration. 🙂
Clone of this feature request, originally posted on
jsdoc-type-pratt-parser
.Motivation
Typescript v5.5 introduces the tag
@import
, which allows importing types (or other stuff) within JSDoc:Would it be possible to add support for this new syntax?
Current behavior
With
mode: "typescript"
types.js
other.js
Except for the errors, the imports works well.
Desired behavior
Being able to use
@import
without errors.