/** * Type utility for improving type display in IDEs * * The Prettify type helper forces TypeScript to display a more readable version of complex types. * This is only done at the top level, not recursively. * * This helps with: * - Partial - shows all properties as optional * - Required - shows all properties as required * - Intersection types (A & B) - shows combined properties * * @example * ```ts * // Works with object types, intersections, and mapped types * type User = { name: string, age: number }; * type PartialUser = Prettify>; // Shows { name?: string, age?: number } * * // Works with intersection types * type A = { a: string }; * type B = { b: number }; * type AB = Prettify; // Shows { a: string, b: number } * ``` */ export declare type Prettify = { [K in keyof T]: T[K]; } & {};