From 350287a9c64b81880c3d4a9f6eb52295ba0c87c1 Mon Sep 17 00:00:00 2001 From: jdbao Date: Tue, 14 Sep 2021 01:21:16 +0800 Subject: [PATCH] fix: export Displayable for type annotation compatibility --- src/export.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/export.ts b/src/export.ts index 1b7dc35ed..7889e74a9 100644 --- a/src/export.ts +++ b/src/export.ts @@ -23,6 +23,7 @@ export { ElementProps } from './Element'; +export {default as Displayable, DisplayableProps} from './graphic/Displayable'; export {default as Group, GroupProps} from './graphic/Group'; export {default as Path, PathStyleProps, PathProps, PathStatePropNames, PathState} from './graphic/Path'; export {default as Image, ImageStyleProps, ImageProps, ImageState} from './graphic/Image';