From 5354cfc3c280e60a2fe5f4bc7613da04a6d208ae Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 29 Oct 2026 12:45:38 +0100 Subject: [PATCH] Slightly stricter tsconfig --- tsconfig.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index be2dd2c15..7b5545571 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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. */