Skip to content

Validator Overhaul #231

Validator Overhaul

Validator Overhaul #231

Triggered via pull request December 6, 2023 03:19
Status Failure
Total duration 1m 40s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Typecheck
Type 'unknown' does not satisfy the constraint 'Validator<any, unknown> | undefined'.
Typecheck
Type 'FieldApi<{ firstName: string; lastName: string; }, "firstName", undefined, undefined, string>' is not assignable to type 'FieldApi<any, any, unknown, unknown, any>'.
Typecheck
Type 'FieldApi<{ firstName: string; lastName: string; }, "lastName", undefined, undefined, string>' is not assignable to type 'FieldApi<any, any, unknown, unknown, any>'.
Typecheck
Type 'unknown' does not satisfy the constraint 'Validator<any, unknown> | undefined'.
Typecheck
Type 'FieldApi<{ firstName: string; lastName: string; }, "firstName", undefined, Validator<unknown, BaseSchema | BaseSchemaAsync>, string>' is not assignable to type 'FieldApi<any, any, unknown, unknown, any>'.
Typecheck
Type 'FieldApi<{ firstName: string; lastName: string; }, "lastName", undefined, Validator<unknown, BaseSchema | BaseSchemaAsync>, string>' is not assignable to type 'FieldApi<any, any, unknown, unknown, any>'.
Typecheck
Type 'unknown' does not satisfy the constraint 'Validator<any, unknown> | undefined'.
Typecheck
Type 'FieldApi<{ firstName: string; lastName: string; }, "firstName", undefined, () => { validate({ value }: { value: unknown; }, fn: AnySchema): ValidationError; validateAsync({ value }: { ...; }, fn: AnySchema): Promise<...>; }, string>' is not assignable to type 'FieldApi<any, any, unknown, unknown, any>'.
Typecheck
Type 'FieldApi<{ firstName: string; lastName: string; }, "lastName", undefined, () => { validate({ value }: { value: unknown; }, fn: AnySchema): ValidationError; validateAsync({ value }: { ...; }, fn: AnySchema): Promise<...>; }, string>' is not assignable to type 'FieldApi<any, any, unknown, unknown, any>'.
Typecheck
Type 'unknown' does not satisfy the constraint 'Validator<any, unknown> | undefined'.