-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
No types available for redux/es/redux.mjs #4279
Comments
Hmm. Why does TS not pick up the types file from the Tbh everything related to use of ESM as a delivery mechanism still confuses me at this point :( |
ESM support is coming, but is only in the experimental builds at the moment: https://www.typescriptlang.org/docs/handbook/esm-node.html |
tsc doesn't know that |
This should be fixed in the 5.0 alphas, I think. |
Prior Issues
#3143
What is the current behavior?
redux/es/redux.mjs
does not have any associated typings.Steps to Reproduce
Import
redux/es/redux.mjs
in a TypeScript file:tsc
reports:What is the expected behavior?
No error and types are found.
Environment Details
redux@4.1.2
The text was updated successfully, but these errors were encountered: