fix: use of as ToZod
instead of satisfies ToZod
#593
Annotations
6 errors and 1 warning
Typecheck examples
Type of property 'parent' circularly references itself in mapped type '{ [k in keyof { [k in keyof { id?: ZodOptional<ZodNumber> | undefined; name?: ZodOptional<ZodString> | undefined; parent?: ZodOptional<ZodObject<..., "strict", ZodTypeAny, CategoryType, { ...; }>> | undefined; }]: { ...; }[k]["_input"]; }]: undefined extends { [k in keyof { ...; }]: { ...; }[k]["_input"]; }[k] ? nev...'.
|
Typecheck examples
Type of property 'parent' circularly references itself in mapped type '{ [k in keyof { id?: ZodOptional<ZodNumber> | undefined; name?: ZodOptional<ZodString> | undefined; parent?: ZodOptional<ZodObject<..., "strict", ZodTypeAny, CategoryType, { ...; }>> | undefined; }]: { ...; }[k]["_input"]; }'.
|
Typecheck examples
Type of property 'parent' circularly references itself in mapped type '{ id?: "id" | undefined; name?: "name" | undefined; parent?: any; }'.
|
Typecheck examples
Type of property 'parent' circularly references itself in mapped type '{ id?: ZodOptional<ZodNumber> | undefined; name?: ZodOptional<ZodString> | undefined; parent?: ZodOptional<ZodObject<..., "strict", ZodTypeAny, CategoryType, { ...; }>> | undefined; }'.
|
Typecheck examples
zod-pet-store#typecheck: command (/home/runner/work/kubb/kubb/examples/zod) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
|
Typecheck examples
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading