-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Typing of return value of the withNextIntl
function
#485
Comments
Thank you for another great bug report! This is fixed in |
Ah, it was fixed already? Great, thanks. I'll try it out! |
Where can I keep track of the beta releases? |
New features are announced in #149 and bug fixes are mentioned in the issues that reference them, where typically the affected users are subscribed. The latest published version is always referenced here: https://next-intl-docs.vercel.app/docs/getting-started/app-router-server-components#current-beta-version The release process for beta versions is currently a bit manual. The stable releases are easier to keep track of, I hope that the beta period will end in the foreseeable future so the releases are a bit more transparent. |
Is your feature request related to a problem? Please describe.
I have type checking on my
next.config.js
and I'm usingcomposePlugins
from@nx/next
.On
composePlugins
I get a ts error telling meThis is referring to
withNextIntl
which has apparently a typing of(config: NextConfig) => unknown
.Describe the solution you'd like
Provide a typing of
NextConfig
for the return value of thewithNextIntl
function.Describe alternatives you've considered
Ignore TS errors with
This ignores type checking on all my plugins.
The text was updated successfully, but these errors were encountered: