feat: use modular built-in multi validation system #450
Annotations
10 errors
CI
next-safe-action#lint: command (/home/runner/work/next-safe-action/next-safe-action/packages/next-safe-action) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (2)
|
CI
Type '() => ZodObject<{ actionName: ZodString; }, "strip", ZodTypeAny, { actionName: string; }, { actionName: string; }>' is not assignable to type '() => undefined'.
|
CI
Argument of type '{ actionName: string; }' is not assignable to parameter of type 'undefined'.
|
CI
Argument of type '{ defaultValidationErrorsShape: "formatted"; }' is not assignable to parameter of type 'SafeActionClientOpts<string, undefined, "formatted">'.
|
CI
Argument of type '{ defaultValidationErrorsShape: "flattened"; }' is not assignable to parameter of type 'SafeActionClientOpts<string, undefined, "flattened">'.
|
CI
Argument of type '{ defaultValidationErrorsShape: "formatted"; }' is not assignable to parameter of type 'SafeActionClientOpts<string, undefined, "formatted">'.
|
CI
Argument of type '{ defaultValidationErrorsShape: "flattened"; }' is not assignable to parameter of type 'SafeActionClientOpts<string, undefined, "flattened">'.
|
CI
Type '() => ZodObject<{ actionName: ZodString; }, "strip", ZodTypeAny, { actionName: string; }, { actionName: string; }>' is not assignable to type '() => undefined'.
|
CI
Argument of type '{ actionName: string; }' is not assignable to parameter of type 'undefined'.
|
CI
Argument of type '{ actionName: string; }' is not assignable to parameter of type 'undefined'.
|