katoikia-app/web-ui/web-react/node_modules/primereact/terminalservice/terminalservice.d.ts

10 lines
357 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
type TerminalServiceActionType = 'command' | 'response' | 'clear';
export interface TerminalServiceOptions {
on(action: TerminalServiceActionType, fn: any): void;
emit(action: TerminalServiceActionType, params?: any): void;
off(action: TerminalServiceActionType, fn: any): void;
}
export declare const TerminalService: TerminalServiceOptions;