Skip to content

Commit

Permalink
fix: table ts error #4912
Browse files Browse the repository at this point in the history
close #4912
  • Loading branch information
tangjinzhou committed Nov 26, 2021
1 parent b20865f commit 8ade6eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/vc-tree-select/Context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ interface ContextProps {
slots: {
title?: (data: InternalDataEntity) => any;
titleRender?: (data: InternalDataEntity) => any;
[key: string]: (d: any) => any | undefined;
[key: string]: ((...args: any[]) => any) | undefined;
};
}

Expand Down
2 changes: 1 addition & 1 deletion components/vc-tree/contextTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export interface TreeContextProps {
slots: {
title?: (data: DataNode) => any;
titleRender?: (data: DataNode) => any;
[key: string]: (d: any) => any | undefined;
[key: string]: ((...args: any[]) => any) | undefined;
};
}
const TreeContextKey: InjectionKey<ComputedRef<TreeContextProps>> = Symbol('TreeContextKey');
Expand Down

0 comments on commit 8ade6eb

Please sign in to comment.