export type ValueOf<T> = T[keyof T];
export type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
export type OrNull<T> = T | null | undefined;
