Replies: 1 comment 1 reply
-
It's unfortunately a limitation in TypeScript: #823 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @amannn
Just try this code within an async function
Why using redirect from next-intl, a is infered
string|null
at console.log level and onlystring
when using nextjs redirect function ?Both are returning
never
Beta Was this translation helpful? Give feedback.
All reactions