Type anys

This commit is contained in:
Adria Navarro 2024-12-30 13:12:20 +01:00
parent 0b2b9ae1ac
commit 66e71caf1b
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ interface ViewportDerivedStore {
scrolledRowCount: Readable<any> scrolledRowCount: Readable<any>
visualRowCapacity: Readable<any> visualRowCapacity: Readable<any>
renderedRows: Readable<any> renderedRows: Readable<any>
columnRenderMap: Readable<any> columnRenderMap: Readable<Record<string, true>>
} }
export const deriveStores = (context: StoreContext): ViewportDerivedStore => { export const deriveStores = (context: StoreContext): ViewportDerivedStore => {
@ -85,7 +85,7 @@ export const deriveStores = (context: StoreContext): ViewportDerivedStore => {
leftEdge += $scrollableColumns[endColIdx].width leftEdge += $scrollableColumns[endColIdx].width
endColIdx++ endColIdx++
} }
let next = {} let next: Record<string, true> = {}
$scrollableColumns $scrollableColumns
.slice(Math.max(0, startColIdx), endColIdx) .slice(Math.max(0, startColIdx), endColIdx)
.forEach(col => { .forEach(col => {