QuiiBz / next-international

Type-safe internationalization (i18n) for Next.js
https://next-international.vercel.app
MIT License
1.3k stars 61 forks source link

fix(next-international): type of `useCurrentLocale` #123

Closed QuiiBz closed 1 year ago

QuiiBz commented 1 year ago

Relates to #122

Remove the return type of createUseCurrentLocale to keep it inferred and allow passing a config to useCurrentLocale.