TS-Scribe - v0.6.2
    Preparing search index...

    Type Alias Simplify<T>

    Simplify: T extends Record<string, unknown> ? { [P in keyof T]: T[P] } : T

    Simplifies a type by merging intersected objects into a single object with all properties. This utility is helpful when dealing with complex object intersections. For example, { foo: string } & { bar: string } would be simplified to { foo: string; bar: string }.

    Type Parameters

    • T

      The type to simplify, typically an intersection of types.