/** * Get the result type of a `Promise` * @param P A promise * @returns [[Any]] * @example * ```ts * import {C} from 'ts-toolbelt' * * const promise = new Promise((res, rej) => res('x')) * * type test0 = C.Await // string * type test1 = C.Await> // number * ``` */ export declare type Await

= P extends Promise ? A : P;