mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
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
15 lines
495 B
JSON
15 lines
495 B
JSON
{
|
|
"compilerOptions": {
|
|
// 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
|
|
}
|
|
}
|