Amplify JS API Documentation
    Preparing search index...

    Type Alias SettableFieldType<T>

    SettableFieldType: T extends Promise<infer InnerPromiseType>
        ? undefined extends InnerPromiseType
            ? InnerPromiseType
            | null
            : InnerPromiseType
        : T extends AsyncCollection<infer InnerCollectionType>
            ? InnerCollectionType[] | undefined
            : undefined extends T ? T | null : T

    Type Parameters

    • T