This PR moves the entire project to Typescript. Due to the ~1000 ignores this will lead to a messy codebase for a while, but the churn is worth it – all of those ignore comments are places that were never type-safe previously. closes #1282
35 lines
889 B
JSON
35 lines
889 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowSyntheticDefaultImports": true,
|
|
"alwaysStrict": true,
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"baseUrl": ".",
|
|
"jsx": "react",
|
|
"lib": ["dom", "es2020", "dom.iterable", "esnext.asynciterable"],
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"noImplicitAny": true,
|
|
"noImplicitOverride": false,
|
|
"noImplicitReturns": true,
|
|
"noImplicitThis": false,
|
|
"sourceMap": true,
|
|
"resolveJsonModule": true,
|
|
"strictNullChecks": true,
|
|
"noEmit": true,
|
|
"suppressImplicitAnyIndexErrors": true,
|
|
"target": "es2020",
|
|
"paths": {
|
|
"@server/*": ["./server/*"],
|
|
"@shared/*": ["./shared/*"],
|
|
"~/*": ["./app/*"]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
"build",
|
|
"server/migrations"
|
|
]
|
|
} |