Search code examples
typescriptgrunt-ts

error TS6044: Compiler option 'types' expects an argument


i'm facing with the following error error TS6044: Compiler option 'types' expects an argument. when trying to set "types": [] in tsconfig.json.

We are using grunt-ts

This is recommended by official TS documentation in order to get rid of the following errors: node_modules/@types/angular/index.d.ts(14,9): error TS2403

Here is the link to TS documentation

Specify "types": [] to disable automatic inclusion of @types packages.

But instead of disabling automatic inclusion of @types i see error error TS6044: Compiler option 'types' expects an argument.

Can someone help me?


Solution

  • Finally i've solved my problem specifying jasmine in types "types" : ["jasmine"]