ant-design-vue/components/_util/EventInterface.ts
2021-08-29 10:44:24 +08:00

11 lines
319 B
TypeScript

export type FocusEventHandler = (e: FocusEvent) => void;
export type MouseEventHandler = (e: MouseEvent) => void;
export type KeyboardEventHandler = (e: KeyboardEvent) => void;
export type ChangeEvent = Event & {
target: {
value?: string | undefined;
};
};
export type EventHandler = (...args: any[]) => void;