mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
bump rx to 2.5.3
This commit is contained in:
Vendored
+5
-4
@@ -7,6 +7,7 @@
|
||||
|
||||
declare module Rx {
|
||||
export interface BehaviorSubject<T> extends Subject<T> {
|
||||
getValue(): T;
|
||||
}
|
||||
|
||||
interface BehaviorSubjectStatic {
|
||||
@@ -43,10 +44,10 @@ declare module Rx {
|
||||
/**
|
||||
* Returns an observable sequence that shares a single subscription to the underlying sequence.
|
||||
* This operator is a specialization of publish which creates a subscription when the number of observers goes from zero to one, then shares that subscription with all subsequent observers until the number of observers returns to zero, at which point the subscription is disposed.
|
||||
*
|
||||
*
|
||||
* @example
|
||||
* var res = source.share();
|
||||
*
|
||||
*
|
||||
* @returns An observable sequence that contains the elements of a sequence produced by multicasting the source sequence.
|
||||
*/
|
||||
share(): Observable<T>;
|
||||
@@ -57,10 +58,10 @@ declare module Rx {
|
||||
/**
|
||||
* Returns an observable sequence that shares a single subscription to the underlying sequence and starts with an initialValue.
|
||||
* This operator is a specialization of publishValue which creates a subscription when the number of observers goes from zero to one, then shares that subscription with all subsequent observers until the number of observers returns to zero, at which point the subscription is disposed.
|
||||
*
|
||||
*
|
||||
* @example
|
||||
* var res = source.shareValue(42);
|
||||
*
|
||||
*
|
||||
* @param initialValue Initial value received by observers upon subscription.
|
||||
* @returns An observable sequence that contains the elements of a sequence produced by multicasting the source sequence.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user