@import
JSDoc tag doesn't seem to account for resolution-mode
import attribute in TS v5.5.2
#58955
Labels
Fix Available
A PR has been opened for this issue
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
🔎 Search Terms
"resolution-mode"
🕗 Version & Regression Information
I was unable to test this on prior versions because the
@import
tag is newly available on TS 5.5.2⏯ Playground Link
No response
💻 Code
I couldn't create a TS playground because of this issue: #52666
🙁 Actual behavior
The
@import
usage in this context yields the following error:🙂 Expected behavior
The
@import
tag should account for import attributes likewith { 'resolution-mode': 'import' }
to enable cross CJS/ESM type imports.Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: