Skip to content
This repository was archived by the owner on Jun 2, 2022. It is now read-only.

Commit a004485

Browse files
committed
refactor: explicit export of values / interfaces
1 parent bd288b3 commit a004485

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

src/index.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,21 @@
3434
*
3535
* @packageDocumentation
3636
*/
37+
38+
/* Exported values */
3739
export { Typer } from '@components/Typer'
3840
export { Print } from '@components/Print'
3941
export { Bridge, buildBridge } from '@core/Bridge'
40-
export {
41-
Toolbar,
42-
DocumentControlAction,
43-
CONTROL_SEPARATOR,
44-
buildVectorIconControlSpec,
45-
GenericControlAction,
46-
} from '@components/Toolbar'
42+
export { Toolbar, DocumentControlAction, CONTROL_SEPARATOR, buildVectorIconControlSpec } from '@components/Toolbar'
4743
export { useBridge } from '@hooks/use-bridge'
4844
export { useDocument } from '@hooks/use-document'
45+
export { Transforms, defaultTextTransforms } from '@core/Transforms'
46+
47+
/* Exported types and interfaces */
48+
export { GenericControlAction } from '@components/Toolbar'
4949
export { Attributes } from '@delta/attributes'
5050
export { GenericRichContent } from '@delta/generic'
5151
export { GenericOp, TextOp, ImageOp, BlockOp, ImageKind } from '@delta/operations'
52-
export { Transforms, defaultTextTransforms } from '@core/Transforms'
5352
export { Document, buildEmptyDocument, cloneDocument } from '@model/document'
5453
export { SelectionShape } from '@delta/Selection'
5554
export { Images } from '@core/Images'

0 commit comments

Comments
 (0)