mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
536 B
TypeScript
15 lines
536 B
TypeScript
// Type definitions for react-tap-event-plugin
|
|
// Project: https://github.com/zilverline/react-tap-event-plugin
|
|
// Definitions by: Michael Ledin <https://github.com/mxl>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare module 'react-tap-event-plugin'{
|
|
interface StrategyOverrides {
|
|
shouldRejectClick?: (lastTouchEventTimestamp: Date, clickEventTimestamp: Date) => boolean;
|
|
}
|
|
|
|
var injectTapEventPlugin: (strategyOverrides?: StrategyOverrides) => void;
|
|
|
|
export = injectTapEventPlugin;
|
|
}
|