mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
344 B
TypeScript
12 lines
344 B
TypeScript
// since the export is a function, this is the only actual correct way:
|
|
import injectTapEventPluginRequire = require("react-tap-event-plugin");
|
|
|
|
injectTapEventPluginRequire({
|
|
shouldRejectClick: function (lastTouchEventTimestamp, clickEventTimestamp) {
|
|
return true;
|
|
}
|
|
});
|
|
|
|
injectTapEventPluginRequire();
|
|
injectTapEventPluginRequire({});
|