devtypes
    Preparing search index...

    Type Alias Simplify<T>

    Simplify: T extends Function ? T : { [K in keyof T]: T[K] } & {}

    Simplify a type to make Intellisense show a friendly shape

    Type Parameters

    • T
    type Complex = { a: string } & { b: number } & { c: boolean };
    type Simple = Simplify<Complex>; // { a: string; b: number; c: boolean }