Skip to content

Not portable types #1014

Answered by amannn
sohrab- asked this question in Q&A
Apr 23, 2024 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

I've isolated the issue to "declaration": true. If you remove that, the error should be gone. Note that this option isn't set by default in a new Next.js app.

If there's anything that next-intl can do to be more compatible with this config option I'd generally be open to discuss, but as far as I understand, this setting is rather intended to be used in libraries rather than apps.

Hope this helps!

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@thebossjon
Comment options

@sohrab-
Comment options

@amannn
Comment options

Answer selected by amannn
@sohrab-
Comment options

@MrMilan
Comment options

@vaishnavi-jadhav-amla
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants