fix(components): [table] fix SummaryMethod type (#7206)

This commit is contained in:
hminghe 2022-04-18 14:28:44 +08:00 committed by GitHub
parent 503be91343
commit 3d3621698f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ type RenderExpanded<T> = ({
}: RIS<T>) => VNode
type SummaryMethod<T> = (data: {
columns: TableColumnCtx<T>
columns: TableColumnCtx<T>[]
data: T[]
}) => string[]