cc-terminal
Version:
AngularJs Web based terminal module
12 lines (11 loc) • 354 B
TypeScript
import { Observable } from 'rxjs';
/**
* @description - This Class will work as a storage of any kind of data, but we will going to store the commands for now
*/
export declare class Store<T> {
state$: Observable<T>;
private _state$;
protected constructor(initialState: T);
get state(): T;
protected setState(nextState: T): void;
}