From ac9d3e40c1b3c75131556ee2df245cedbbb48e0a Mon Sep 17 00:00:00 2001 From: QiangGuZi <42662849+QiangGuZi@users.noreply.github.com> Date: Mon, 7 Nov 2022 11:03:05 +0800 Subject: [PATCH] fix: import type (#6071) --- components/tree/DirectoryTree.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/tree/DirectoryTree.tsx b/components/tree/DirectoryTree.tsx index 4e1ffa5aa..64b9ed965 100644 --- a/components/tree/DirectoryTree.tsx +++ b/components/tree/DirectoryTree.tsx @@ -13,12 +13,11 @@ import { convertTreeToData, fillFieldNames, } from '../vc-tree/utils/treeUtil'; -import type { DataNode, EventDataNode, Key } from '../vc-tree/interface'; +import type { DataNode, EventDataNode, Key, ScrollTo } from '../vc-tree/interface'; import { conductExpandParent } from '../vc-tree/util'; import { calcRangeKeys, convertDirectoryKeysToNodes } from './utils/dictUtil'; import useConfigInject from '../_util/hooks/useConfigInject'; import { filterEmpty } from '../_util/props-util'; -import { ScrollTo } from "../vc-tree/interface"; export type ExpandAction = false | 'click' | 'doubleclick' | 'dblclick';