I’m getting a typescript error when I try the last solution.
Error: (TS) Property ‘positiveInteger’ does not exist on type ‘typeof”*.json”’.
The variable positiveInteger exists in my JSON file.
It works and logs the correct value, but in VS it looks like I have an error. Is there any way to fix this?