Skip to content

Commit 01fa842

Browse files
committed
lint
1 parent b9953b5 commit 01fa842

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/utils/src/platform.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,12 @@ const coarsePointer = matchMedia('(pointer: coarse)');
5858
// Capability check: does the runtime expose the `Touch` / `TouchEvent`
5959
// constructors? True on any device able to dispatch touch events, including
6060
// hybrid laptops with both a mouse and a touchscreen. Independent of `noHover`.
61+
/* eslint-disable compat/compat */
6162
const touchCapable =
6263
typeof window !== 'undefined' &&
6364
typeof window.Touch !== 'undefined' &&
6465
typeof window.TouchEvent !== 'undefined';
66+
/* eslint-enable compat/compat */
6567

6668
// --- Screen reader -----------------------------------------------------------
6769

0 commit comments

Comments
 (0)