Browse Source

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

vite build error: Wrong type
pull/4791/head
hyw123456 3 years ago committed by GitHub
parent
commit
d41d7a610c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/table/context.ts

2
components/table/context.ts

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

Loading…
Cancel
Save