TypeScript Lire le fichier JSON
"resolveJsonModule": true,
"esModuleInterop": true,
Blushing Bug
"resolveJsonModule": true,
"esModuleInterop": true,
import {default as a} from "config.json";
config.targetKey
// this requires `"resolveJsonModule": true` in tsconfig.json
import {default as a} from "a.json";
a.primaryMain