Stop using the term JSON for JavaScript objects. Create an interface that describes the data. Don't use
any
in your code. Configure your build step to break, when
any
is used, implicitly or explicitly.
interface CustomJson { [key: string]: any }
is garbage and shouldn't pass any code review. —
jabaa 57 secs ago