Creating Plot Twists
    Preparing search index...

    Type Alias PromiseValues<T>

    PromiseValues: { [K in keyof T]: T[K] extends Promise<infer U> ? U : T[K] }

    Unwraps Promise types to their resolved values. Converts { foo: Promise } to { foo: string }

    Type Parameters

    • T