Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 541 Bytes

File metadata and controls

17 lines (9 loc) · 541 Bytes

unchangeableDocs


unchangeable / WithoutEmpty

Type Alias: WithoutEmpty<T>

WithoutEmpty<T>: T extends readonly infer U[] ? readonly Exclude<U, Empty>[] : T extends object ? { [K in keyof T as T[K] extends Empty ? never : K]: Exclude<T[K], Empty> } : T

Type Parameters

T

Defined in

types/WithoutEmpty.ts:3