DisBot
    Preparing search index...

    Type Alias PromiseType<T>

    PromiseType: T extends PromiseLike<infer U> ? U : T

    Get the type of the value, that the Promise holds.

    Type Parameters

    • T extends PromiseLike<any>