Skip to content

Commit da6d3ca

Browse files
fixed re-export types
1 parent 22124c7 commit da6d3ca

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@idapgroup/react-image-annotate",
3-
"version": "2.0.4",
3+
"version": "2.0.6",
44
"type": "module",
55
"main": "dist/react-image-annotate.js",
66
"types": "dist/lib.d.ts",

src/lib.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ import Annotator from "./Annotator";
44

55
// re-export types
66
export type { AnnotatorProps } from "./Annotator";
7-
export type { MainLayoutState, AnnotatorToolEnum } from "./MainLayout/types.ts";
7+
export type {
8+
MainLayoutState,
9+
MainLayoutImageAnnotationState,
10+
MainLayoutVideoAnnotationState,
11+
MainLayoutStateBase,
12+
AnnotatorToolEnum,
13+
} from "./MainLayout/types";
814

915
export { Annotator };
1016

0 commit comments

Comments
 (0)