UNPKG
rxjs-es
Version:
latest (5.0.0-beta.12)
5.0.0-beta.12
5.0.0-beta.11
5.0.0-beta.10
5.0.0-beta.9
5.0.0-beta.8
5.0.0-beta.7
5.0.0-beta.6
5.0.0-beta.5
5.0.0-beta.4
5.0.0-beta.3
5.0.0-beta.2
5.0.0-beta.1
5.0.0-beta.0
5.0.0-alpha.14
5.0.0-alpha.13
5.0.0-alpha.12
Reactive Extensions for modern JavaScript
github.com/ReactiveX/RxJS
ReactiveX/RxJS
rxjs-es
/
operator
/
toPromise.d.ts
12 lines
(11 loc)
•
286 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/** *
@param
PromiseCtor
*
@return
{
Promise<T>
} *
@method
toPromise
*
@owner
Observable
*/
export
declare
function
toPromise<T>(
PromiseCtor
?:
typeof
Promise
):
Promise
<T>;
export
interface
ToPromiseSignature
<T> { ():
Promise
<T>; (
PromiseCtor
:
typeof
Promise
):
Promise
<T>; }