UNPKG

@wulperstudio/cms

Version:
13 lines (12 loc) 473 B
export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; export type AutocompleteData = { id: string; name: string; }; export type ImageWork = FileList | File | string | null | undefined; export type Maybe<T> = T | null | undefined; export type GetValueMultiple<Value, Multiple> = Multiple extends true ? Value[] : Value | null; export type UniqueIdentifier = string | number; export interface ObjectWithUniqueIdentifier { id: UniqueIdentifier; }