Slightly stricter tsconfig

This commit is contained in:
Rory& committed 2026-10-29 13:08:30 +01:00
1 parent 51829c6ce3
commit 5354cfc3c2
1 file changed
+4 -4
+4 -4
View File
@@ -51,7 +51,7 @@
"@spacebar/integrations": ["./src/integrations"], // Required for stable tsc, typescript-go doesn't need this
"@spacebar/integrations*": ["./src/integrations*"],
"lambert-server": ["./src/util/util/lambert-server"], // Required for stable tsc, typescript-go doesn't need this
"lambert-server*": ["./src/util/util/lambert-server*"],
"lambert-server*": ["./src/util/util/lambert-server*"]
} /* Specify a set of entries that re-map imports to additional lookup locations. */,
"rootDir": "./src", // Required as of TypeScript 7
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
@@ -103,8 +103,8 @@
"strict": true /* Enable all strict type-checking options. */,
"noImplicitAny": true /* Enable error reporting for expressions and declarations with an implied 'any' type. */,
"strictNullChecks": true /* When type checking, take into account 'null' and 'undefined'. */,
// "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
// "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
"strictFunctionTypes": true /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */,
"strictBindCallApply": true /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */,
"strictPropertyInitialization": false /* Check for class properties that are declared but not set in the constructor. */,
// "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
// "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
@@ -113,7 +113,7 @@
// "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
// "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
"noFallthroughCasesInSwitch": true /* Enable error reporting for fallthrough cases in switch statements. */,
// "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
// "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */