Performance #95
Annotations
10 errors and 1 warning
build
Argument of type '(args: any) => Promise<Ok<any, never>>' is not assignable to parameter of type '(args: { input: {}; unsafeRawInput: {}; ctx: undefined; ctxInput: []; }) => TMaybePromise<TSafeFnHandlerReturn<ZodUnknown>>'.
|
build
Argument of type '(args: any) => Promise<Ok<any, never>>' is not assignable to parameter of type '(args: { input: {}; unsafeRawInput: {}; ctx: any; ctxInput: [...any[], any]; }) => TMaybePromise<TSafeFnHandlerReturn<ZodUnknown>>'.
|
build
Argument of type '(args: any) => AsyncGenerator<never, Ok<any, never>, unknown>' is not assignable to parameter of type '(args: { input: {}; unsafeRawInput: {}; ctx: undefined; ctxInput: []; }) => AsyncGenerator<never, Result<unknown, unknown>, unknown>'.
|
build
Argument of type '(args: any) => AsyncGenerator<never, Ok<any, never>, unknown>' is not assignable to parameter of type '(args: { input: {}; unsafeRawInput: {}; ctx: any; ctxInput: [...any[], any]; }) => AsyncGenerator<never, Result<unknown, unknown>, unknown>'.
|
build
Argument of type '(args: any) => Promise<Ok<any, never>>' is not assignable to parameter of type '(args: { input: {}; unsafeRawInput: {}; ctx: undefined; ctxInput: []; }) => TMaybePromise<TSafeFnHandlerReturn<ZodUnknown>>'.
|
build
Argument of type '(args: any) => Promise<Ok<any, never>>' is not assignable to parameter of type '(args: { input: {}; unsafeRawInput: {}; ctx: any; ctxInput: [...any[], any]; }) => TMaybePromise<TSafeFnHandlerReturn<ZodUnknown>>'.
|
build
This expression is not callable.
|
build
Parameter 'e' implicitly has an 'any' type.
|
build
Parameter 'e' implicitly has an 'any' type.
|
build
@repo/benchmark#check-types: command (/home/runner/work/safe-fn/safe-fn/packages/benchmark) /home/runner/setup-pnpm/node_modules/.bin/pnpm run check-types exited (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/
|