1 | /**
|
2 | * @param { Promise } promise
|
3 | * @param { Object= } errorExt - Additional Information you can pass to the err object
|
4 | * @return { Promise }
|
5 | */
|
6 | export declare function to<T, U = Error>(promise: Promise<T>, errorExt?: object): Promise<[U, undefined] | [null, T]>;
|
7 | export default to;
|