UnwrapOneLevelOfArray

Type Alias: UnwrapOneLevelOfArray<T>

ts
type UnwrapOneLevelOfArray<T> = T extends infer U[] ? U : T;
type UnwrapOneLevelOfArray<T> = T extends infer U[] ? U : T;

Defined in: packages/form-core/src/util-types.ts:4

Type Parameters

T

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.