Front end of the Slack clone application.

BehaviorSubject.d.ts 437B

123456789101112131415
  1. import { Subject } from './Subject';
  2. import { Subscriber } from './Subscriber';
  3. import { Subscription } from './Subscription';
  4. /**
  5. * @class BehaviorSubject<T>
  6. */
  7. export declare class BehaviorSubject<T> extends Subject<T> {
  8. private _value;
  9. constructor(_value: T);
  10. readonly value: T;
  11. /** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T>): Subscription;
  12. getValue(): T;
  13. next(value: T): void;
  14. }