diff --git a/packages/frontend-core/src/components/grid/stores/viewport.ts b/packages/frontend-core/src/components/grid/stores/viewport.ts index 3cc5c11000..47cfc55d36 100644 --- a/packages/frontend-core/src/components/grid/stores/viewport.ts +++ b/packages/frontend-core/src/components/grid/stores/viewport.ts @@ -6,7 +6,7 @@ interface ViewportDerivedStore { scrolledRowCount: Readable visualRowCapacity: Readable renderedRows: Readable - columnRenderMap: Readable + columnRenderMap: Readable> } export const deriveStores = (context: StoreContext): ViewportDerivedStore => { @@ -85,7 +85,7 @@ export const deriveStores = (context: StoreContext): ViewportDerivedStore => { leftEdge += $scrollableColumns[endColIdx].width endColIdx++ } - let next = {} + let next: Record = {} $scrollableColumns .slice(Math.max(0, startColIdx), endColIdx) .forEach(col => {