12 lines
385 B
TypeScript
Executable File
12 lines
385 B
TypeScript
Executable File
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;
|