Skip to content

Commit 0f04bf7

Browse files
committed
Add some util types
1 parent ba2ffe4 commit 0f04bf7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

types/index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,4 +542,10 @@ declare module 'react-base-table' {
542542
}
543543

544544
export const AutoResizer: React.FC<AutoResizerProps>;
545+
546+
export type getScrollbarSize = (recalculate?: boolean) => number;
547+
export type isObjectEqual = (objA: object, objB: object) => boolean;
548+
export type hasChildren = (data: { children: any[] | undefined }) => boolean;
549+
export type getValue = (obj: object, path: string, defaultValue: any) => any;
550+
export type normalizeColumns = (elements: React.ReactElement) => React.ReactElement[];
545551
}

0 commit comments

Comments
 (0)