aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/InteractionUtils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/util/InteractionUtils.ts')
-rw-r--r--src/client/util/InteractionUtils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/InteractionUtils.ts b/src/client/util/InteractionUtils.ts
index f8088825a..63cba4982 100644
--- a/src/client/util/InteractionUtils.ts
+++ b/src/client/util/InteractionUtils.ts
@@ -2,7 +2,7 @@ export namespace InteractionUtils {
export const MOUSE = "mouse";
export const TOUCH = "touch";
- export function IsType(e: PointerEvent, type: PointerTypes): boolean {
+ export function IsType(e: PointerEvent | React.PointerEvent, type: string): boolean {
return e.pointerType === type;
}