fix: table columns ts type

pull/3598/head
tangjinzhou 2021-01-23 23:50:10 +08:00
parent cdadeeeb04
commit 1ea865e59b
1 changed files with 3 additions and 1 deletions

View File

@ -52,7 +52,9 @@ export const columnProps = {
// onHeaderCell?: (props: ColumnProps<T>) => any;
};
export type ColumnProps = Partial<ExtractPropTypes<typeof columnProps>>;
export type ColumnProps = Partial<ExtractPropTypes<typeof columnProps>> & {
slots?: Record<string, string>;
};
export interface TableComponents {
table?: any;