type EventCallback<T extends CanvasEvent<T> = CanvasEvent<any>> = (event: T) => void
packages / workbench / src / interact / event.ts