Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FieldErrorsImpl

type FieldErrorsImpl<T extends FieldValues = FieldValues> = [K in keyof T]?: T[K] extends BrowserNativeObject | Blob ? FieldError : K extends "root" | `root.${string}` ? GlobalError : T[K] extends object ? Merge<FieldError, FieldErrorsImpl<T[K]>> : FieldError;

§Type Parameters

§Type

§
[K in keyof T]?: T[K] extends BrowserNativeObject | Blob ? FieldError : K extends "root" | `root.${string}` ? GlobalError : T[K] extends object ? Merge<FieldError, FieldErrorsImpl<T[K]>> : FieldError
[src]