withContinuousTap.d.ts 315 B

12345678
  1. export declare type TapFuncType<T> = (...args: T[]) => void;
  2. /**
  3. * 单击和双击事件处理
  4. * @param singleTap - 单击事件
  5. * @param doubleTap - 双击事件
  6. * @return invokeTap
  7. */
  8. export default function withContinuousTap<T>(singleTap: TapFuncType<T>, doubleTap: TapFuncType<T>): TapFuncType<T>;