c9b679e56e
* Move types to a .d.ts file to avoid making types explicit * Rename to proper types * Move to proper place * Add noEmit to tsconfig.json * Add back removed code by accident
18 lines
584 B
JSON
18 lines
584 B
JSON
{
|
|
"compilerOptions": {
|
|
// Solid specific settings
|
|
"jsx": "preserve",
|
|
"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
|
|
}
|
|
}
|