event.d.ts 380 B

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