Skip to content

Commit 8ade6eb

Browse files
committed
fix: table ts error #4912
close #4912
1 parent b20865f commit 8ade6eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/vc-tree-select/Context.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ interface ContextProps {
4040
slots: {
4141
title?: (data: InternalDataEntity) => any;
4242
titleRender?: (data: InternalDataEntity) => any;
43-
[key: string]: (d: any) => any | undefined;
43+
[key: string]: ((...args: any[]) => any) | undefined;
4444
};
4545
}
4646

components/vc-tree/contextTypes.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export interface TreeContextProps {
8181
slots: {
8282
title?: (data: DataNode) => any;
8383
titleRender?: (data: DataNode) => any;
84-
[key: string]: (d: any) => any | undefined;
84+
[key: string]: ((...args: any[]) => any) | undefined;
8585
};
8686
}
8787
const TreeContextKey: InjectionKey<ComputedRef<TreeContextProps>> = Symbol('TreeContextKey');

0 commit comments

Comments
 (0)