spiegel-keyman/tsconfig.base.json
Marc Durdin 5642b8c047 chore(common): disable strictNullChecks for TypeScript for now
As we have a lot of code that does not have comprehensive null checking,
and TypeScript has moved to enable this by default in recent versions,
for now, disable at top-level to avoid being spammed with unhelpful null
errors in editors.

Test-bot: skip
Build-bot: skip
2026-08-17 11:25:04 +02:00

39 lines
1.2 KiB
JSON

{
"compilerOptions": {
"module": "node16",
"target": "es2022",
"moduleResolution": "node16",
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"alwaysStrict": true,
"noImplicitThis": true,
"noImplicitReturns": true,
"noImplicitAny": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictNullChecks": false,
"noUnusedLocals": true,
"allowJs": true,
"rootDir": ".",
// TODO: move all compiler options here
"composite": true,
"declaration": true,
"declarationMap": true,
"baseUrl": "./",
"paths": {
"@keymanapp/common-types": ["./common/web/types/src/main"],
"@keymanapp/langtags": ["./common/web/langtags/src/main"],
"@keymanapp/keyman": ["./web" ],
"@keymanapp/models-templates": ["./web/src/engine/predictive-text/templates/"],
"@keymanapp/models-wordbreakers": ["./web/src/engine/predictive-text/wordbreakers"],
"@keymanapp/lm-message-types": ["./web/src/engine/predictive-text/types"],
"@keymanapp/keyman-version": ["./common/web/keyman-version"],
"@keymanapp/ldml-keyboard-constants": [ "./core/include/ldml" ],
}
}
}