work.suroh.tk/node_modules/rxjs/BehaviorSubject.d.ts

15 lines
437 B
TypeScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
import { Subject } from './Subject';
import { Subscriber } from './Subscriber';
import { Subscription } from './Subscription';
/**
* @class BehaviorSubject<T>
*/
export declare class BehaviorSubject<T> extends Subject<T> {
private _value;
constructor(_value: T);
readonly value: T;
/** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T>): Subscription;
getValue(): T;
next(value: T): void;
}