Skip to content

Commit bd3d44b

Browse files
authored
chore(hadron-document): export type explicitly (#3158)
1 parent dde9a83 commit bd3d44b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/hadron-document/src/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ import Element, {
33
Events as ElementEvents,
44
isInternalFieldPath,
55
} from './element';
6-
import ElementEditor, { Editor } from './editor';
6+
import ElementEditor from './editor';
7+
import type { Editor } from './editor';
78

89
export default Document;
10+
export type { Editor };
911
export {
1012
Document,
1113
DocumentEvents,
1214
Element,
1315
ElementEvents,
1416
ElementEditor,
15-
Editor,
1617
isInternalFieldPath,
1718
};

0 commit comments

Comments
 (0)