Skip to content

Commit 26aaafc

Browse files
committed
Fix normalizeColumns arg type
1 parent 0f04bf7 commit 26aaafc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,5 +547,5 @@ declare module 'react-base-table' {
547547
export type isObjectEqual = (objA: object, objB: object) => boolean;
548548
export type hasChildren = (data: { children: any[] | undefined }) => boolean;
549549
export type getValue = (obj: object, path: string, defaultValue: any) => any;
550-
export type normalizeColumns = (elements: React.ReactElement) => React.ReactElement[];
550+
export type normalizeColumns = (elements: React.ReactElement[]) => React.ReactElement[];
551551
}

0 commit comments

Comments
 (0)