mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 11:17:46 +08:00
feat(components): [tree] export TreeInstance (#15293)
This commit is contained in:
parent
d553ae3920
commit
ef4fbe3be2
@ -11,3 +11,4 @@ const _Tree = Tree as SFCWithInstall<typeof Tree>
|
||||
|
||||
export default _Tree
|
||||
export const ElTree = _Tree
|
||||
export type { TreeInstance } from './src/instance'
|
||||
|
3
packages/components/tree/src/instance.ts
Normal file
3
packages/components/tree/src/instance.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import type Tree from './tree.vue'
|
||||
|
||||
export type TreeInstance = InstanceType<typeof Tree>
|
Loading…
Reference in New Issue
Block a user