Skip to content
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

Typescript moduleResolution Bundler does not work properly in combination with strict true #236

Closed
NicoVogel opened this issue Oct 30, 2023 · 1 comment · Fixed by #237
Closed

Comments

@NicoVogel
Copy link
Contributor

Minimal Repo that reproduces the error: https://github.com/NicoVogel/react-intl-universal-module-resolution-bundler

This package does not work with the new "moduleResolution": "Bundler" configuration for Typescript in combination with "strict": true.
image

Could not find a declaration file for module 'react-intl-universal'. '[...]/react-intl-universal-module-resolution-bundler/node_modules/react-intl-universal/es/index.js' implicitly has an 'any' type.
There are types at '[...]/react-intl-universal-module-resolution-bundler/node_modules/react-intl-universal/typings/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'react-intl-universal' library may need to update its package.json or typings.

@cwtuan
Copy link
Collaborator

cwtuan commented Nov 4, 2023

Released in [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants