Skip to content

Prettify

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

Defined in: packages/core/src/api/types.ts:36

Forces TypeScript to eagerly evaluate a mapped/conditional type into a concrete object shape rather than displaying the opaque alias. Without this, hover would show Populated<"posts", { parent: true }> instead of the expanded { _id: ...; parent: Post[]; ... } form.

T