mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-15 03:06:25 +08:00

* refactor(components): export `TreeV2Instance` & optimize type usage * refactor: change type declaration entry file
10 lines
299 B
TypeScript
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'
|