From 9a9fc6e7163aec3d8a58abd5915e9969938f21df Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Tue, 2 Jul 2024 15:02:20 +0200 Subject: [PATCH] Enable skipDefaultLibCheck This skips _checking_ types that are bundled with TypeScript. We should be able to trust these types, so they can be used without checking them. Many packages use the DOM types and this appeared as a hot spot when analyzing the TypeScript build. Adding this configuration should improve TypeScript build performance. --- tsconfig.base.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tsconfig.base.json b/tsconfig.base.json index 18388b7f71854c..d1747ac4d1efec 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -14,6 +14,8 @@ "emitDeclarationOnly": true, "isolatedModules": true, + "skipDefaultLibCheck": true, + /* Strict Type-Checking Options */ "strict": true,