Combines members of an intersection into a readable type.
https://twitter.com/mattpocockuk/status/1622730173446557697?s=20&t=NdpAcmEFXY01xkqU3KO0Mg
Prettify<{ a: string } & { b: string } & { c: number, d: bigint }>=> { a: string, b: string, c: number, d: bigint } Copy
Prettify<{ a: string } & { b: string } & { c: number, d: bigint }>=> { a: string, b: string, c: number, d: bigint }
Generated using TypeDoc
Description
Combines members of an intersection into a readable type.
See
https://twitter.com/mattpocockuk/status/1622730173446557697?s=20&t=NdpAcmEFXY01xkqU3KO0Mg
Example