Prettify
Prettify<
T> ={ [K in keyof T]: T[K] }&object
Forces TypeScript to flatten an intersection / mapped type into a single object literal. Doesn’t change semantics — only what TS shows in tooltips and error messages.
Type Parameters
Section titled “Type Parameters”T