diff --git a/waspc/data/Generator/templates/sdk/wasp/tsconfig.json b/waspc/data/Generator/templates/sdk/wasp/tsconfig.json index b3a321ca6..c6e5e1fa4 100644 --- a/waspc/data/Generator/templates/sdk/wasp/tsconfig.json +++ b/waspc/data/Generator/templates/sdk/wasp/tsconfig.json @@ -17,7 +17,7 @@ "strictNullChecks": true, // See https://github.com/wasp-lang/wasp/issues/2056 before activating this: // "useUnknownInCatchVariables": true, - // The following 3 stict options will require more work: + // The following 2 stict options will require more work: // "noImplicitAny": true, // "strictPropertyInitialization": true, // Overriding this because we want to use top-level await diff --git a/waspc/examples/todoApp/src/testTypes/operations/client.ts b/waspc/examples/todoApp/src/testTypes/operations/client.ts index 2345a9612..bb4744ec9 100644 --- a/waspc/examples/todoApp/src/testTypes/operations/client.ts +++ b/waspc/examples/todoApp/src/testTypes/operations/client.ts @@ -1,4 +1,3 @@ -// @ts-nocheck import { AuthUser } from 'wasp/auth' import { getMe } from 'wasp/client/auth' import { @@ -32,17 +31,17 @@ import { Expect, Equal } from '../helpers' import { QueryMetadata } from 'wasp/client/operations/rpc' type TestCases = [ - Expect Promise>>, + Expect Promise>>, Expect< Equal< typeof taskToTaskUnspecified, - (args: Task) => ReturnType + (args?: Task) => ReturnType > >, Expect< Equal< typeof taskToTaskSatisfies, - (args: Task) => ReturnType + (args?: Task) => ReturnType > >, Expect< @@ -50,12 +49,12 @@ type TestCases = [ >, Expect Promise>>, Expect< - Equal Promise> + Equal Promise> >, Expect Promise>>, - Expect Promise>>, - Expect Promise>>, - Expect Promise>>, + Expect Promise>>, + Expect Promise>>, + Expect Promise>>, Expect Promise)>>, Expect< Equal<