Skip to content

Commit

Permalink
fix(Table, Transfer): 解决 build:esm-browser 报错循环依赖问题
Browse files Browse the repository at this point in the history
  • Loading branch information
1zumii committed Apr 18, 2024
1 parent 097f37b commit 565959b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions components/table/useTableStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import useTableLayout from './useTableLayout';

const prefixCls = getPrefixCls('table');

import { type TableProps } from './table';
import { type RowType } from './interface';
import { type ColumnInst } from './column';
import { type ColumnFixedStatus } from './useTableColumn';
import type { ColumnFixedStatus } from './useTableColumn';
import type { TableProps } from './table';
import type { RowType } from './interface';
import type { ColumnInst } from './column';

export default ({
props,
Expand Down
2 changes: 1 addition & 1 deletion components/transfer/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { type CSSProperties, type Ref, type VNodeChild } from 'vue';
import { type TreeOption } from '../tree/interface';
import { type TreeProps } from '../tree/props';
import { type RequiredByKeys } from '../_util/types';
import { type TransferInnerProps } from './props';
import type { TransferInnerProps } from './props';

export type TreeFilter = TreeProps['filterMethod'];

Expand Down
8 changes: 4 additions & 4 deletions components/transfer/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import {
type ComponentInnerProps,
type ExtractPublicPropTypes,
} from '../_util/interface';
import {
type TransferFilter,
type TransferOption,
type TransferOptionValue,
import type {
TransferFilter,
TransferOption,
TransferOptionValue,
} from './interface';

export const transferProps = {
Expand Down

0 comments on commit 565959b

Please sign in to comment.