/** * Improves the type readability by flattening the type. */ export type Prettify = { [K in keyof T]: T[K]; } & {}; /** * Override selected properties of a type. Uses Omit to remove the properties and then adds the new properties. */ export type Override = Omit & NewType; /** * Represents an empty object type. */ export type EmptyObject = Record;