Theo's Typesafe CultTTC
Theo's Typesafe Cult2y ago
3 replies
Урош

Losing typesafety after wrapping json import in a function

I'm trying to follow this guide of localization for next13 where an import of json is made where the object is typesafe but when i return the object from a function there is non. I'm not very well versed in typescript, thanks in advanced!
Add support for multiple languages with internationalized routing and localized content.
Routing: Internationalization | Next.js
Was this page helpful?