actual/tsconfig.json
Wout Mertens ac1e2b3c79 add: tsconfig.json
This configures TS to look at JS files as well, so that IDEs like VSCode
can provide better edit-time checks
2022-08-12 09:29:18 -04:00

19 lines
463 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2021", "DOM"],
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
"downlevelIteration": true,
"jsx": "preserve",
// Check JS files too
"allowJs": true,
"checkJs": true,
// Used for temp builds
"outDir": "build",
"moduleResolution": "Node",
"module": "ESNext"
},
"exclude": ["node_modules", "build"]
}