Prettify<T>: {
    [K in keyof T]: T[K]
} & {}

Type Parameters

  • T

Type declaration

    Description

    Combines members of an intersection into a readable type.

    See

    https://twitter.com/mattpocockuk/status/1622730173446557697?s=20&t=NdpAcmEFXY01xkqU3KO0Mg

    Example

    Prettify<{ a: string } & { b: string } & { c: number, d: bigint }>
    => { a: string, b: string, c: number, d: bigint }

    Generated using TypeDoc