Skip to content
Snippets Groups Projects
Commit 59ec877d authored by Wout Mertens's avatar Wout Mertens Committed by James Long
Browse files

add: tsconfig.json

This configures TS to look at JS files as well, so that IDEs like VSCode
can provide better edit-time checks
parent 31e9025d
No related branches found
No related tags found
No related merge requests found
{
"compilerOptions": {
"target": "ES2022",
// DOM for URL global in Node 16+
"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"]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment