add original event to control events.

This commit is contained in:
Miroslav Šedivý
2022-02-12 14:25:25 +01:00
parent 1fdcac5826
commit b3eba8bd14
3 changed files with 5 additions and 5 deletions

View File

@ -8,8 +8,8 @@ import { NekoConnection } from './connection'
import { Control } from '../types/state'
export interface NekoControlEvents {
['overlay.click']: () => void
['overlay.contextmenu']: () => void
['overlay.click']: (e: MouseEvent) => void
['overlay.contextmenu']: (e: MouseEvent) => void
}
export class NekoControl extends EventEmitter<NekoControlEvents> {