-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
Bug Report
🔎 Search Terms
- node12
- nodenext
🕗 Version & Regression Information
4.5.0-dev.20211016
- I was unable to test this on prior versions because this nodenext modules will only become available in 4.5
💻 Code
It needs a monorepo setup to reproduce. I made a small repository: https://github.com/ilogico/ts-nodenext-bug
This happens all the time when editing a file, but it's hard to reproduce in a deterministic way.
I reproduce it here by toggling line comments back and forth:
🙁 Actual behavior
The language service says it cannot find the module or it's corresponding type declarations after having correctly resolved the module.
🙂 Expected behavior
The module stays resolved.
uhyo
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue