Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[react-virtualized] Loosen deferredMeasurementCache prop #58648

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions types/react-virtualized/dist/es/Grid.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Validator, Requireable, PureComponent, Component } from 'react';
import { List } from './List';
import { Table } from './Table';
import { CellMeasurerCache, MeasuredCellParent } from './CellMeasurer';
import { CellMeasurerCache, CellMeasurerCacheInterface, MeasuredCellParent } from './CellMeasurer';
import { Index, Map, Alignment, OverscanIndexRange } from '../../index';

export type RenderedSection = {
Expand Down Expand Up @@ -197,7 +197,7 @@ export type GridCoreProps = {
* If CellMeasurer is used to measure this Grid's children, this should be a pointer to its CellMeasurerCache.
* A shared CellMeasurerCache reference enables Grid and CellMeasurer to share measurement data.
*/
deferredMeasurementCache?: CellMeasurerCache | undefined;
deferredMeasurementCache?: CellMeasurerCacheInterface | undefined;
/**
* Used to estimate the total width of a Grid before all of its columns have actually been measured.
* The estimated total width is adjusted as columns are rendered.
Expand Down