From f5e7018d5e6ed9c8cf38e6acf0f19ccf09999ba3 Mon Sep 17 00:00:00 2001 From: bluwy Date: Mon, 16 Jan 2023 21:43:56 +0800 Subject: [PATCH] Enable skipLibCheck by default --- .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 000000000000..85c86b4afffd --- /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 389712b23353..8581d0d1bfbc 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 } }