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
Thanks a lot for the package, I knew someone must have had the same idea (even though I want to use it for more than intl: for "variants" of messages)!
I have an error when trying to import anything in this library with NextJS: Could not find a declaration file for module 'intl-ts'. '/node_modules/intl-ts/lib/module.mjs' implicitly has an 'any' type. There are types at '/node_modules/intl-ts/lib/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'intl-ts' library may need to update its package.json or typings.
Steps to reproduce:
Create a NextJS app with default settings (npx create-next-app@latest).
Try to import a function such as createMessages from this library into any TS file.
It works when I revert the changes from commit 1a00bcb. I'm not sure how to fix it properly without breaking retrocompatibility though. tsconfig.json
The text was updated successfully, but these errors were encountered:
Hi,
Thanks a lot for the package, I knew someone must have had the same idea (even though I want to use it for more than intl: for "variants" of messages)!
I have an error when trying to import anything in this library with NextJS:
Could not find a declaration file for module 'intl-ts'. '/node_modules/intl-ts/lib/module.mjs' implicitly has an 'any' type. There are types at '/node_modules/intl-ts/lib/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'intl-ts' library may need to update its package.json or typings.
Steps to reproduce:
It works when I revert the changes from commit 1a00bcb. I'm not sure how to fix it properly without breaking retrocompatibility though.
tsconfig.json
The text was updated successfully, but these errors were encountered: