@jossmac/lil-libs
    Preparing search index...

    Type Alias Prettify<T>

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

    Expands intersections and mapped types into a single object shape for clearer editor display.

    Type Parameters

    • T

      Type to flatten for display; runtime values are unchanged.

    type Raw = { id: string } & { name: string };
    type User = Prettify<Raw>;
    // ^? { id: string; name: string }