how to import json file in ts file code example
Example 1: typescript read json file
"resolveJsonModule": true,
"esModuleInterop": true,
Example 2: typescript read json file
import {default as a} from "config.json";
config.targetKey
// this requires `"resolveJsonModule": true` in tsconfig.json