diff --git a/types/types.d.ts b/types/types.d.ts index 6b263c7..55225e4 100644 --- a/types/types.d.ts +++ b/types/types.d.ts @@ -68,7 +68,7 @@ export type CellIdxWithVisible = { } export type SearchInput = string | RegExp | ((data: string, rowData: T) => boolean); -export type SearchInputColumn = string | RegExp | ((data: string, rowData: T, column: number) => boolean); +export type SearchInputColumn = string | RegExp | ((data: string, rowData: T, rowIndex: number, columnIndex: number) => boolean); export type HeaderStructure = { cell: HTMLElement; @@ -182,7 +182,7 @@ type LayoutEdge = 'Start' | 'End'; type LayoutKeys = `${LayoutSide}${LayoutNumber}${LayoutEdge}` | `${LayoutSide}${LayoutNumber}`; -type Layout = Partial | Feature[]>>; +type Layout = Partial | Feature[] | null>>; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *