source: trip-planner-front/node_modules/rxjs/internal/BehaviorSubject.d.ts@ e29cc2e

Last change on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 597 bytes
Line 
1import { Subject } from './Subject';
2import { Subscriber } from './Subscriber';
3import { Subscription } from './Subscription';
4/**
5 * A variant of Subject that requires an initial value and emits its current
6 * value whenever it is subscribed to.
7 *
8 * @class BehaviorSubject<T>
9 */
10export declare class BehaviorSubject<T> extends Subject<T> {
11 private _value;
12 constructor(_value: T);
13 readonly value: T;
14 /** @deprecated This is an internal implementation detail, do not use. */
15 _subscribe(subscriber: Subscriber<T>): Subscription;
16 getValue(): T;
17 next(value: T): void;
18}
Note: See TracBrowser for help on using the repository browser.