Урош
TTCTheo's Typesafe Cult
•Created by Урош on 7/17/2024 in #questions
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!
4 replies