Skip to content

Commit

Permalink
chore: fix type export
Browse files Browse the repository at this point in the history
  • Loading branch information
pointhalo committed Dec 3, 2024
1 parent 65c9fe7 commit dd74228
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
24 changes: 19 additions & 5 deletions packages/semi-foundation/resizable/foundation.ts
Original file line number Diff line number Diff line change
@@ -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';
};
2 changes: 1 addition & 1 deletion packages/semi-ui/jsonViewer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dd74228

Please sign in to comment.