Skip to content

Commit

Permalink
Fix type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Dec 5, 2024
1 parent 0692c59 commit c079e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/event-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c079e40

Please sign in to comment.