Amplify Toolbox
    Preparing search index...
    Expand: T extends infer O ? { [K in keyof O]: O[K] } : never

    This utility allows us to expand nested types in auto complete prompts.

    Type Parameters

    • T
    type OtherType = {
    property1: string;
    property2: number;
    }
    type SomeType = {
    property2: Expand<OtherType>;
    }