export type Nullable = T | null | undefined; export type Omit, K extends keyof T> = Pick>; export type ExtractItem = T extends Array ? TItem : never;