Skip to content

Commit e2f92ab

Browse files
alan-agius4dgp1130
authored andcommitted
fix(@schematics/angular): enable TypeScript skipLibCheck in new workspace
This commit enables `skipLibCheck` in new workspaces which is now recommanded by TypeScript. When enabled, type checking of declaration files is skipped as rather than doing a full check of all `d.ts` files, TypeScript will type check the code you specifically refer to in your app’s source code. See: https://www.typescriptlang.org/tsconfig#skipLibCheck
1 parent a9fa561 commit e2f92ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/schematics/angular/workspace/files/tsconfig.json.template

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"noPropertyAccessFromIndexSignature": true,
1010
"noImplicitReturns": true,
1111
"noFallthroughCasesInSwitch": true,<% } %>
12+
"skipLibCheck": true,
1213
"esModuleInterop": true,
1314
"sourceMap": true,
1415
"declaration": false,

0 commit comments

Comments
 (0)