Skip to content

gunshi / default / Prettify

Type Alias: Prettify<T>

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

Prettify a type by flattening its structure.

Type Parameters

Type ParameterDescription
TThe type to be prettified.

Released under the MIT License.