From c03328eeeefbb21b1a91b51f9df0b68bcb430a8a Mon Sep 17 00:00:00 2001 From: Shubham Padia Date: Thu, 3 Jul 2025 15:04:38 +0000 Subject: [PATCH] help-beta: Use astro recommended tsconfig for our project. Having some options not set to true was causing hard to debug issues when it comes to types. While that can be solved by changing `allowJs` to true, it would be good to use the standard tsconfig they recommend in order to avoid such issues in the future. --- help-beta/tsconfig.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/help-beta/tsconfig.json b/help-beta/tsconfig.json index 4cb11df41f..8f35106383 100644 --- a/help-beta/tsconfig.json +++ b/help-beta/tsconfig.json @@ -1,4 +1,5 @@ { + "extends": "astro/tsconfigs/strict", "compilerOptions": { /* Type Checking */ "exactOptionalPropertyTypes": true, @@ -29,4 +30,6 @@ "types": ["unplugin-icons/types/astro"], }, + "include": [".astro/types.d.ts", "**/*"], + "exclude": ["dist"], }