Warning: cannot find parent tsconfig.json (WebStorm 2016.3.2)

Using TypeScript 2.1.4 and WebStorm 2016.3.2, I get this error: Warning: Cannot find parent tsconfig.jsonin specific files.

It compiles fine without this problem if I call tscmanually, but in the IDE it calls some ES6 functions that are not recognized (Promise, Map, etc.).

Here is tsconfig:

{
  "compilerOptions": {
    "target": "es6",
    "lib": ["es6"],
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": true,
    "suppressImplicitAnyIndexErrors": true
  },
  "files": [
    "app/**/*.ts"
  ]
}

I know this was mentioned earlier: Warning: the parent tsconfig.json cannot be found , but the decision made should use WebStorm 2016.3.2 (version I'm using).

+4
source share

Source: https://habr.com/ru/post/1664202/


All Articles