Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Commit 67ee781

Browse files
committed
fix: fix imports and exports
1 parent e03ad0b commit 67ee781

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

demo/components/Navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import clsx from 'clsx';
1+
import { clsx } from 'clsx';
22
import { Link, useLocation } from 'react-router-dom';
33

44
const navigation = [

src/geometry/getPerspectiveWarp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { Point } from '../utils/geometry/points.js';
55
/**
66
* Options for getPerspectiveWarp function.
77
*/
8-
interface GetPerspectiveWarpOptions {
8+
export interface GetPerspectiveWarpOptions {
99
/**
1010
* The horizontal dimension (in pixels) of the final rectified rectangular image.
1111
*/
@@ -18,7 +18,7 @@ interface GetPerspectiveWarpOptions {
1818
/**
1919
* Returns result matrix along with vertical and horizontal dimensions for the rectangular image.
2020
*/
21-
type GetPerspectiveWarpData = Required<GetPerspectiveWarpOptions> & {
21+
export type GetPerspectiveWarpData = Required<GetPerspectiveWarpOptions> & {
2222
matrix: number[][];
2323
};
2424

0 commit comments

Comments
 (0)