/** * Created by Ying on 13/11/2017. **/ import { Observable, Subject } from "rxjs"; export declare class RxCommand extends Subject { protected sub: any; protected _canExe: boolean; protected _canExe$: Observable; constructor(canExec: Observable | boolean); get canExecute(): Observable; execute(args?: TArgs): boolean; next(v: any): void; error(err: any): void; complete(): void; }