I would like to import a JSON5 file into a Javascript object in the same way [one can import a JSON file](import config from '../config.json').
Shows this message on hovering but it's clearly there
Cannot find module '../conf/config.json5' or its corresponding type declarations.ts(2307)
I have 2 side questions related to the main one above:
- Will I get intelisense for contents inside .json5, like regular json
- Does it even work like it works with require()? Do I have to use import() instead of regular import ?