-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Closed
Copy link
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScript
Milestone
Description
Bug Report
ts.ModuleResolutionKind seems to have changed between 4.9 and 5. The enum now has a Node10 value which I guess is the old NodeJs. This isn't mentioned in the API breaking changes list, so this is either a bug (which will probably break a few libraries [for example the rollup typescript plugin, through which I discovered this]) or should be added to that list.
(for me personally, if you want to keep the name change, it would be best to first deprecate the old name and remove it later)
🔎 Search Terms
ModuleResolutionKind
🕗 Version & Regression Information
- This changed between versions 4.9 and 5.0
⏯ Playground Link
Doesn't apply here
💻 Code
ts.ModuleResolutionKind.NodeJs🙁 Actual behavior
Error
🙂 Expected behavior
No error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScript