fix: improve tree type definition (#3659)

pull/3667/head
zkwolf 2021-02-06 13:30:08 +08:00 committed by GitHub
parent cdac96b0bc
commit 18ce372a13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ export interface TreeDataItem {
icon?: VNode;
slots?: Record<string, string>;
switcherIcon?: VNode;
// support custom field
[key: string]: any;
}
interface DefaultEvent {