Consider using '--resolveJsonModule

JavaScript
add to tsconfig.json

{
	...
    "resolveJsonModule": true
  }
}add "resolveJsonModule": true key in tsconfig.json

{
  "compilerOptions": {
    "target": "es2015",
    "module": "commonjs",
    "strict": true,
    "moduleResolution": "node",
    "resolveJsonModule": true
  }
}declare module "*.json" {
  const value: any;
  export default value;
}

Source

Also in JavaScript: