Type-safe Messages problem #2040
Closed
mikaelkristiansson
started this conversation in
General
Replies: 2 comments 3 replies
-
Can you check what your Should be something like this: ![]() Maybe the dynamic import messes something up. The TypeScript augmentation docs are surely known to work well. If you continue to have issues, can you provide a reproduction? (e.g. based on next-intl-bug-repro-app-router) |
Beta Was this translation helpful? Give feedback.
3 replies
-
thanks for the help! Ill close the discussion 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The
values
part when callinguseTranslations('namespace')
does not work with type-safe arguments.this is my
general.d.ts
fileand this is the error I get:
Am I missing something or is it not working as it should?
im on
"next-intl": "4.3.9"
Beta Was this translation helpful? Give feedback.
All reactions