From 6f6f4a5b454f2e6bbe1722b485e61fec6f9d1b73 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Thu, 21 Mar 2024 11:32:05 -0400 Subject: [PATCH] fix(types): compatibility with @types/react >=18.2.66 (#655) * fix(types): compatibility with @types/react >=18.2.66 * Create stale-seahorses-speak.md --- .changeset/stale-seahorses-speak.md | 5 +++++ packages/core/src/types/utils.ts | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .changeset/stale-seahorses-speak.md diff --git a/.changeset/stale-seahorses-speak.md b/.changeset/stale-seahorses-speak.md new file mode 100644 index 000000000..bafbf7a7d --- /dev/null +++ b/.changeset/stale-seahorses-speak.md @@ -0,0 +1,5 @@ +--- +"@use-gesture/core": patch +--- + +fix(types): compatibility with @types/react >=18.2.66 diff --git a/packages/core/src/types/utils.ts b/packages/core/src/types/utils.ts index a22508af1..8fe6101ed 100644 --- a/packages/core/src/types/utils.ts +++ b/packages/core/src/types/utils.ts @@ -165,9 +165,7 @@ export interface DOMHandlers { onPointerCancel?: EventHandler onPointerCancelCapture?: EventHandler onPointerEnter?: EventHandler - onPointerEnterCapture?: EventHandler onPointerLeave?: EventHandler - onPointerLeaveCapture?: EventHandler onPointerOver?: EventHandler onPointerOverCapture?: EventHandler onPointerOut?: EventHandler