fix: resizeColumn ts type error

pull/4861/head
tangjinzhou 2021-11-04 22:00:07 +08:00
parent 6dfc8375c8
commit 641afe1b34
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ export const tableProps = () => {
default: undefined,
},
onResizeColumn: {
type: Function as PropType<(w: number, col: ColumnsType) => void>,
type: Function as PropType<(w: number, col: ColumnType) => void>,
default: undefined,
},
rowSelection: { type: Object as PropType<TableRowSelection>, default: undefined },