12 lines
385 B
TypeScript
12 lines
385 B
TypeScript
|
type TerminalServiceActionType = 'command' | 'response' | undefined;
|
||
|
|
||
|
export interface TerminalServiceOptions {
|
||
|
on(action: TerminalServiceActionType, fn: any): void;
|
||
|
emit(action: TerminalServiceActionType, params?: any): void;
|
||
|
off(action: TerminalServiceActionType, fn: any): void;
|
||
|
}
|
||
|
|
||
|
declare const TerminalService: TerminalServiceOptions;
|
||
|
|
||
|
export default TerminalService;
|