fix(typescript): Table type modification (#4781)

vite build error: Wrong type
pull/4791/head
hyw123456 2021-10-21 21:26:10 +08:00 committed by GitHub
parent f2994c8fcc
commit d41d7a610c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ export type ContextSlots = {
customFilterIcon?: (...args: any[]) => any; customFilterIcon?: (...args: any[]) => any;
customFilterDropdown?: (...args: any[]) => any; customFilterDropdown?: (...args: any[]) => any;
// 兼容 2.x 的 columns slots 配置 // 兼容 2.x 的 columns slots 配置
[key: string]: (...args: any[]) => any; [key: string]: ((...args: any[]) => any) | undefined;
}; };
export type ContextProps = ComputedRef<ContextSlots>; export type ContextProps = ComputedRef<ContextSlots>;