tsconfig-noastro

This commit is contained in:
tonyrewin 2022-10-04 14:42:12 +03:00
parent 8a0079e466
commit fc2d956349

View File

@ -1,7 +1,21 @@
{ {
"extends": "astro/tsconfigs/base",
"compilerOptions": { "compilerOptions": {
"allowSyntheticDefaultImports": true,
"importsNotUsedAsValues": "error",
// Solid specific settings
"jsx": "preserve", "jsx": "preserve",
"jsxImportSource": "solid-js" "jsxImportSource": "solid-js",
// Enable top-level await and other modern ESM features.
"target": "ESNext",
"module": "ESNext",
// Enable node-style module resolution, for things like npm package imports.
"moduleResolution": "node",
// Enable JSON imports.
"resolveJsonModule": true,
// Enable stricter transpilation for better output.
"isolatedModules": true,
// Astro will directly run your TypeScript code, no transpilation needed.
"noEmit": true,
"skipLibCheck": true
} }
} }