Skip to content

Commit da5d394

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 (cherry picked from commit e2f92ab)
1 parent a1e8ffa commit da5d394

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)