Jan @amann.work Β· Nov 18

🌐 next-intl@4.0 preview: Strictly-typed locale By strictly typing your supported locales, APIs like useLocale() or <Link /> that either return or receive a locale will now require a precise value based on a string union, improving type safety across your app.

4 likes 3 replies

?

Replies

Alex Β· Nov 18

πŸ“Œnext,next-intl

philip/oliver Β· Nov 18

πŸ“Œ

Jan Β· Nov 18

This feature is opt-in, and can be activated by augmenting the new AppConfig type.