Skip to content

React types

React types #82

Triggered via pull request September 20, 2024 13:36
Status Failure
Total duration 34s
Artifacts

main.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
build
Argument of type '(args: { input: { firstName: string; lastName: string; }; unsafeRawInput: { firstName: string; lastName: string; }; ctx: undefined; ctxInput: []; }) => Promise<Ok<{ fullName: string; }, never>>' is not assignable to parameter of type '(args: { input: { firstName: string; lastName: string; }; unsafeRawInput: { firstName: string; lastName: string; }; ctx: undefined; ctxInput: []; }) => TMaybePromise<TSafeFnHandlerReturn<ZodObject<{ fullName: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>>>'.
build
@repo/type-test#check-types: command (/home/runner/work/safe-fn/safe-fn/packages/type-tests) /home/runner/setup-pnpm/node_modules/.bin/pnpm run check-types exited (2)
build
Argument of type '(args: { input: { birthday: Date; }; unsafeRawInput: { firstName: string; lastName: string; birthday: string; }; ctx: { fullName: string; }; ctxInput: [{ firstName: string; lastName: string; }]; }) => AsyncGenerator<...>' is not assignable to parameter of type '(args: { input: { birthday: Date; }; unsafeRawInput: { firstName: string; lastName: string; birthday: string; }; ctx: { fullName: string; }; ctxInput: [{ firstName: string; lastName: string; }]; }) => AsyncGenerator<...>'.
build
Process completed with exit code 2.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/