-
-
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
Add support for @import
#1226
Add support for @import
#1226
Comments
To replicate, I will need your full ESLint config and details (e.g., version of |
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. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
🎉 This issue has been resolved in version 48.2.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
The |
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:/** @import { SomeType } from "some-module" */
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.The text was updated successfully, but these errors were encountered: