Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unknown compiler option 'noStrictGenericChecks'

{
    "compilerOptions": {
        "noStrictGenericChecks": true,
        "moduleResolution": "node",
        "target": "es5",
        "sourceMap": true,
        "experimentalDecorators": true,
        "emitDecoratorMetadata": true,
        "skipDefaultLibCheck": true,
        "lib": ["es6", "dom"],
        "types": ["node"]
    },
    "exclude": ["bin", "node_modules"],
    "atom": {
        "rewriteTsconfig": false
    }
}

Code json file and build error visual studio

like image 893
Tanveer Hussain Avatar asked Jul 03 '17 09:07

Tanveer Hussain


1 Answers

The noStrictGenericChecks flag was introduced as part of TypeScript 2.4. Make sure you have the latest TypeScript version.

You can update your TypeScript version using if you are using globally installed TypeScript for compilation:

npm install -g typescript
like image 193
Saravana Avatar answered Nov 15 '22 09:11

Saravana