cannot find name json angular 7

JavaScript
{
  "files": [
    "src/index.ts"
  ],
  "compilerOptions": {
    "target": "es5",
    "module": "es2015",
    "lib": [
      "es5",
      "dom"
    ]
  }
}
Source

Also in JavaScript: