eslint was giving an error here
This commit is contained in:
@@ -242,9 +242,7 @@ function initMouseInteractionObserver({
|
|||||||
if ('pointerType' in event) {
|
if ('pointerType' in event) {
|
||||||
Object.keys(PointerTypes).forEach(
|
Object.keys(PointerTypes).forEach(
|
||||||
(pointerKey: keyof typeof PointerTypes) => {
|
(pointerKey: keyof typeof PointerTypes) => {
|
||||||
if (
|
if (event.pointerType === pointerKey.toLowerCase()) {
|
||||||
(event as PointerEvent).pointerType === pointerKey.toLowerCase()
|
|
||||||
) {
|
|
||||||
pointerType = PointerTypes[pointerKey];
|
pointerType = PointerTypes[pointerKey];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user