Skip to content

Commit 1baf7fb

Browse files
authored
Merge pull request #106 from aeagle/hotfix/fix-exported-types
Ensure ResizeTouchEvent and Type are exported from library
2 parents 1659a2d + 9d06e62 commit 1baf7fb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/index.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,20 @@ import type {
66
OnResizeStart,
77
OnResizeEnd,
88
OnDragEnd,
9-
ResizeMouseEvent
9+
ResizeMouseEvent,
10+
ResizeTouchEvent
1011
} from "./core-types";
1112

12-
export { ResizeHandlePlacement, ResizeType, AnchorType, CenterType } from "./core-types";
13+
export { ResizeHandlePlacement, ResizeType, AnchorType, CenterType, Type } from "./core-types";
1314

1415
export type {
1516
ISpaceContext,
1617
IPosition,
1718
OnResizeStart,
1819
OnResizeEnd,
1920
OnDragEnd,
20-
ResizeMouseEvent
21+
ResizeMouseEvent,
22+
ResizeTouchEvent
2123
}
2224

2325
export { useCurrentSpace } from "./core-react";

0 commit comments

Comments
 (0)