@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: