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/src/input.ts:45

Infers a TypeScript type from an option or positional.

T