mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-02-07 00:26:09 +01:00
This will stop situations where the throttling queue was uninitialized in the Draupnir instances. We should really enable `strict` for typescript. The blocker for that is `useUnknownInCatchVariables` around legacy code (which should be minor). And also `strictFunctionTypes`, which `interface-manager` exacerbates by not providing the right generics for `describeRenderer` and other methods. https://github.com/the-draupnir-project/Draupnir/issues/496
27 lines
698 B
JSON
27 lines
698 B
JSON
{
|
|
"compilerOptions": {
|
|
"alwaysStrict": true,
|
|
"esModuleInterop": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"newLine": "LF",
|
|
"noImplicitAny": true,
|
|
"noImplicitReturns": true,
|
|
"noImplicitThis": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noUnusedLocals": true,
|
|
"outDir": "./lib",
|
|
"sourceMap": true,
|
|
"strictNullChecks": true,
|
|
"strictPropertyInitialization": true,
|
|
"target": "es2021",
|
|
"types": ["node", "mocha"],
|
|
"jsx": "react",
|
|
"jsxFactory": "DeadDocumentJSX.JSXFactory"
|
|
},
|
|
"include": ["./src/**/*"]
|
|
}
|