[Fix] improve type and use collection form #662
Annotations
4 errors
|
ci
Process completed with exit code 2.
|
|
ci
Argument of type 'SubmitHandler<{ example: string; title: string; content: JsonValue; author: Partial<{ connect: string; }>; createdAt: never; postTags: InferCreateManyRelationFieldShape<{ $client: { source: "relation"; fieldName: string; relation: SanitizeFieldRelationSchema<...>; }; $server: { ...; }; } & { ...; }, "create">; updat...' is not assignable to parameter of type 'SubmitHandler<TFieldValues>'.
|
|
ci
@example/erp#typecheck: command (/home/runner/work/genseki/genseki/examples/erp) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
|
|
ci
Type 'Resolver<{ example: string; author: { connect?: string | undefined; }; content: any; postTags: any; title: string; }, any, { example: string; author: { connect?: string | undefined; }; content: any; postTags: any; title: string; }>' is not assignable to type 'Resolver<{ example: string; title: string; content: JsonValue; author: Partial<{ connect: string; }>; createdAt: never; postTags: InferCreateManyRelationFieldShape<{ $client: { source: "relation"; fieldName: string; relation: SanitizeFieldRelationSchema<...>; }; $server: { ...; }; } & { ...; }, "create">; updatedAt:...'.
|