Skip to content

Commit

Permalink
fix(cli): Don't validate types within node_modules
Browse files Browse the repository at this point in the history
Related to yargs/yargs-parser#452 which caused synth to fail. After this change TypeScript will only check types that are actually used in user code but not whether all types in dependencies are correct. We opted for this instead of pinning a version of yargs-parser without this bug because disabling this kind of checking will also help with future bugs that might occur and won't require an update of the TypeScript template. Thus this change also helps with #1991
  • Loading branch information
ansgarm committed Aug 4, 2022
1 parent cb3d155 commit 2213ca2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cdktf-cli/templates/typescript/tsconfig.json
Expand Up @@ -23,7 +23,8 @@
"strictPropertyInitialization": true,
"stripInternal": true,
"target": "ES2018",
"incremental": true
"incremental": true,
"skipLibCheck": true
},
"include": [
"**/*.ts"
Expand Down

0 comments on commit 2213ca2

Please sign in to comment.