Validator Overhaul #231
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'.
|