Skip to content

Commit

Permalink
fix(@schematics/angular): enable TypeScript skipLibCheck in new wor…
Browse files Browse the repository at this point in the history
…kspace

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
  • Loading branch information
alan-agius4 authored and dgp1130 committed Dec 2, 2023
1 parent a9fa561 commit e2f92ab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,<% } %>
"skipLibCheck": true,
"esModuleInterop": true,
"sourceMap": true,
"declaration": false,
Expand Down

0 comments on commit e2f92ab

Please sign in to comment.