Create an asynchronous operation like the original Promise type but this one prevents promises to be wrapped within more promises (not possible).
Promise
import {A} from 'ts-toolbelt' type test0 = A.Promise<Promise<number>> // Promise<number> type test1 = Promise<Promise<number>> // Promise<Promise<number>>
Create an asynchronous operation like the original
Promise
type but this one prevents promises to be wrapped within more promises (not possible).