From b66d7195c17a55ea0931bc3744888bd4f5f01ce6 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Tue, 17 Jan 2023 09:43:07 +0800 Subject: [PATCH] Enable skipLibCheck by default (#5872) --- .changeset/witty-pugs-drum.md | 5 +++++ packages/astro/tsconfigs/base.json | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/witty-pugs-drum.md diff --git a/.changeset/witty-pugs-drum.md b/.changeset/witty-pugs-drum.md new file mode 100644 index 000000000..85c86b4af --- /dev/null +++ b/.changeset/witty-pugs-drum.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Enable `skipLibCheck` by default diff --git a/packages/astro/tsconfigs/base.json b/packages/astro/tsconfigs/base.json index 389712b23..8581d0d1b 100644 --- a/packages/astro/tsconfigs/base.json +++ b/packages/astro/tsconfigs/base.json @@ -15,6 +15,8 @@ // Report an error when importing a file using a casing different from the casing on disk. "forceConsistentCasingInFileNames": true, // Properly support importing CJS modules in ESM - "esModuleInterop": true + "esModuleInterop": true, + // Skip typechecking libraries and .d.ts files + "skipLibCheck": true } }