tablejohn/tsconfig.json
Joscha 8c7399725d Switch to ES2022
I looked through caniuse.com and it seemed like almost much all features
were supported by newer browsers. Curious to see whether this'll work
out or if everything will blow up at some point.
2023-10-22 01:50:19 +02:00

24 lines
603 B
JSON

{ // See also https://aka.ms/tsconfig
"include": [ "scripts/**/*" ],
"compilerOptions": {
"target": "ES2022", // Should be fine according to caniuse.com
"module": "ES2015",
"rootDir": "scripts",
"outDir": "target/static",
"allowJs": true,
// Misc
// TODO Source maps?
"forceConsistentCasingInFileNames": true,
"newLine": "lf",
"removeComments": true,
// Type checking
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"strict": true,
}
}