You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
380 B

1 month ago
  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 {};