5 lines
131 B
TypeScript
5 lines
131 B
TypeScript
|
type ExtendableEventHandler<T> = (
|
||
|
toolbox: { handlers: { base?: T; origin?: T } },
|
||
|
...rest: Parameters<T>
|
||
|
) => ReturnType<T>;
|