-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nodenext moduleResolution can't resolve package types correctly #53759
Comments
I don't think |
Looks like this is just how |
I just want to to know why tsc throw this error when I using moduleResolution:nodenext. The package had already configured the types using package.json exports and the .d.ts is also exits.
Why not click the playground link. |
We'll have some new module docs soon that will explain all of this in more detail. |
@RyanCavanaugh How soon? This all is just extremely confusing |
@MrHBS probably a preview version available in a couple weeks |
Bug Report
🔎 Search Terms
nodenext, moduleResolution, exports
🕗 Version & Regression Information
happen on [email protected] to typescript@next
⏯ Playground Link
Playground link with relevant code
The playground seems can't save my tsconfig.
You need to set:
💻 Code
🙁 Actual behavior
🙂 Expected behavior
No compile error
The text was updated successfully, but these errors were encountered: