I'm using Vue.js (webpack + vueify) and TypeScript. ts configuration seems to be working but only with .ts
files.
For example in tsconfig.json
I have
"compilerOptions": {
"strictNullChecks": false,
So strictNullChecks
works fine in .ts
files:
But not in .vue
:
Error:
Initializer type null is not assignable to variable type string
TypeScript doesn't throw compile errors, only PhpStorm seems to have problems with detecting configuration.
What do I have to do so my configuration in tsconfig.json
reflects in .vue
files as well?