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.
This commit is contained in:
Shubham Padia
2025-07-03 15:04:38 +00:00
committed by Tim Abbott
parent e0abc5253b
commit c03328eeee

View File

@@ -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"],
}