diff --git a/packages/semi-foundation/resizable/foundation.ts b/packages/semi-foundation/resizable/foundation.ts index 462bcbda3f..4bfb6f4243 100644 --- a/packages/semi-foundation/resizable/foundation.ts +++ b/packages/semi-foundation/resizable/foundation.ts @@ -1,15 +1,29 @@ -export { - ResizableHandlerAdapter, +import { ResizableHandlerFoundation, ResizableFoundation, - ResizableAdapter } from './single'; -export { +import { + ResizeGroupFoundation, + ResizeItemFoundation, + ResizeHandlerFoundation +} from './group'; + +import type { ResizableHandlerAdapter, ResizableAdapter } from './single'; +import type { ResizeGroupAdapter, ResizeItemAdapter, ResizeHandlerAdapter } from './group'; + +export type { + ResizableHandlerAdapter, + ResizableAdapter, ResizeGroupAdapter, ResizeItemAdapter, ResizeHandlerAdapter, +}; + +export { + ResizableHandlerFoundation, + ResizableFoundation, ResizeGroupFoundation, ResizeItemFoundation, ResizeHandlerFoundation -} from './group'; +}; \ No newline at end of file diff --git a/packages/semi-ui/jsonViewer/index.tsx b/packages/semi-ui/jsonViewer/index.tsx index facaf204c7..90cf12a6a5 100644 --- a/packages/semi-ui/jsonViewer/index.tsx +++ b/packages/semi-ui/jsonViewer/index.tsx @@ -22,7 +22,7 @@ import { import BaseComponent, { BaseProps } from '../_base/baseComponent'; const prefixCls = cssClasses.PREFIX; -export { JsonViewerOptions }; +export type { JsonViewerOptions }; export interface JsonViewerProps extends BaseProps { value: string; width: number;