You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VS Code/language server doesn't properly detect NodeNext module kind based on package.json #47806
typescript nodenext errors not reported by vs code
🕗 Version & Regression Information
I noticed this in 4.6.0-dev.20220208 and didn't try earlier versions because the NodeNext module kind hasn't been included in a stable release yet.
⏯ Playground Link
Can't be reproduced in the Playground.
💻 Code
Reproducing the bug doesn't require specific code, but rather a specific TypeScript and VS Code setup, so I created a reproduction repo. Here's what's necessary to reproduce the issue:
Thanks for the succinct test case - I've added it to #47732, which contains the fix to the services resolution cache. (Technically this is probably a dupe of #47795, but this test case is much more contained!)
Activity
Add test for microsoft#47806
weswigham commentedon Feb 9, 2022
Thanks for the succinct test case - I've added it to #47732, which contains the fix to the services resolution cache. (Technically this is probably a dupe of #47795, but this test case is much more contained!)
Triple-slash reference type directives can override the import mode u…