diff --git a/src/types.ts b/src/types.ts index 4888052..20ff6fa 100644 --- a/src/types.ts +++ b/src/types.ts @@ -2,7 +2,7 @@ // SPDX-License-Identifier: MIT // Copyright (c) vis.gl contributors -import type {HammerEvent} from './hammerjs'; +import type {HammerEvent} from './hammerjs/index'; export type Point = { x: number; diff --git a/src/utils/event-utils.ts b/src/utils/event-utils.ts index 8775e02..4cb5d35 100644 --- a/src/utils/event-utils.ts +++ b/src/utils/event-utils.ts @@ -3,7 +3,7 @@ // Copyright (c) vis.gl contributors import type {MjolnirEventRaw, Point} from '../types'; -import type {HammerEvent} from '../hammerjs'; +import type {HammerEvent} from '../hammerjs/index'; /* Constants */ const DOWN_EVENT = 1;