summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bjorn Lu <bjornlu.dev@gmail.com> 2023-01-17 09:43:07 +0800
committerGravatar GitHub <noreply@github.com> 2023-01-17 09:43:07 +0800
commitb66d7195c17a55ea0931bc3744888bd4f5f01ce6 (patch)
tree757f3b2298b5366e152e80dcf69c085ce9e46c04
parent8c100a6fe6cc652c3799d1622e12c2c969f30510 (diff)
downloadastro-b66d7195c17a55ea0931bc3744888bd4f5f01ce6.tar.gz
astro-b66d7195c17a55ea0931bc3744888bd4f5f01ce6.tar.zst
astro-b66d7195c17a55ea0931bc3744888bd4f5f01ce6.zip
Enable skipLibCheck by default (#5872)
Diffstat (limited to '')
-rw-r--r--.changeset/witty-pugs-drum.md5
-rw-r--r--packages/astro/tsconfigs/base.json4
2 files changed, 8 insertions, 1 deletions
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
}
}