consider using '--resolvejsonmodule' to import module with '.json' extension angular code example
Example: Consider using '--resolveJsonModule
add "resolveJsonModule": true key in tsconfig.json
{
"compilerOptions": {
"target": "es2015",
"module": "commonjs",
"strict": true,
"moduleResolution": "node",
"resolveJsonModule": true
}
}