Skip to content

InferEntry

InferEntry<T> = T extends object ? List extends true ? Required extends true ? TypeOf<TKind>[] : TypeOf<TKind>[] | undefined : Required extends true ? TypeOf<TKind> : TypeOf<TKind> | undefined : never

Defined in: packages/input/dist/index.d.mts:91

Infers a TypeScript type from an option or positional.

T