Files
知晓同丶 25c7ea2b3c refactor(components): export TreeV2Instance & optimize type usage (#21718)
* refactor(components): export `TreeV2Instance` & optimize type usage

* refactor: change type declaration entry file
2025-08-13 12:33:30 +08:00

10 lines
299 B
TypeScript

import { withInstall } from '@element-plus/utils'
import TreeV2 from './src/tree.vue'
import type { SFCWithInstall } from '@element-plus/utils'
export const ElTreeV2: SFCWithInstall<typeof TreeV2> = withInstall(TreeV2)
export default ElTreeV2
export type { TreeV2Instance } from './src/instance'