event.d.ts 416 B

123456
  1. export declare const composeEventHandlers: <E>(theirsHandler?: ((event: E) => boolean | void) | undefined, oursHandler?: ((event: E) => void) | undefined, { checkForDefaultPrevented }?: {
  2. checkForDefaultPrevented?: boolean | undefined;
  3. }) => (event: E) => void;
  4. declare type WhenMouseHandler = (e: PointerEvent) => any;
  5. export declare const whenMouse: (handler: WhenMouseHandler) => WhenMouseHandler;
  6. export {};