diff --git a/types/react-virtualized/dist/es/ArrowKeyStepper.d.ts b/types/react-virtualized/dist/es/ArrowKeyStepper.d.ts index e42ff353f2..6bc853361b 100644 --- a/types/react-virtualized/dist/es/ArrowKeyStepper.d.ts +++ b/types/react-virtualized/dist/es/ArrowKeyStepper.d.ts @@ -21,6 +21,14 @@ export type ArrowKeyStepperProps = { columnCount: number; rowCount: number; mode?: 'edges' | 'cells'; + /** + * PLEASE NOTE + * The [key: string]: any; line is here on purpose + * This is due to the need of force re-render of PureComponent + * Check the following link if you want to know more + * https://github.com/bvaughn/react-virtualized#pass-thru-props + */ + [key: string]: any; } export type ScrollIndexes = { scrollToRow: number, diff --git a/types/react-virtualized/dist/es/AutoSizer.d.ts b/types/react-virtualized/dist/es/AutoSizer.d.ts index 1da48c8120..35a9081095 100644 --- a/types/react-virtualized/dist/es/AutoSizer.d.ts +++ b/types/react-virtualized/dist/es/AutoSizer.d.ts @@ -20,6 +20,14 @@ export type AutoSizerProps = { * ({ height, width }) => PropTypes.element */ children?: (props: Dimensions) => React.ReactNode + /** + * PLEASE NOTE + * The [key: string]: any; line is here on purpose + * This is due to the need of force re-render of PureComponent + * Check the following link if you want to know more + * https://github.com/bvaughn/react-virtualized#pass-thru-props + */ + [key: string]: any; }; /** * Decorator component that automatically adjusts the width and height of a single child. diff --git a/types/react-virtualized/dist/es/CellMeasurer.d.ts b/types/react-virtualized/dist/es/CellMeasurer.d.ts index 0621d5579a..46c033ba49 100644 --- a/types/react-virtualized/dist/es/CellMeasurer.d.ts +++ b/types/react-virtualized/dist/es/CellMeasurer.d.ts @@ -53,6 +53,14 @@ export type CellMeasurerProps = { parent?: React.ReactType; rowIndex?: number; style?: React.CSSProperties; + /** + * PLEASE NOTE + * The [key: string]: any; line is here on purpose + * This is due to the need of force re-render of PureComponent + * Check the following link if you want to know more + * https://github.com/bvaughn/react-virtualized#pass-thru-props + */ + [key: string]: any; } /** * Wraps a cell and measures its rendered content. diff --git a/types/react-virtualized/dist/es/Collection.d.ts b/types/react-virtualized/dist/es/Collection.d.ts index 9a6730b76e..e3b378eacb 100644 --- a/types/react-virtualized/dist/es/Collection.d.ts +++ b/types/react-virtualized/dist/es/Collection.d.ts @@ -106,6 +106,14 @@ export type CollectionProps = { * (vs virtualized) columns. */ width: number; + /** + * PLEASE NOTE + * The [key: string]: any; line is here on purpose + * This is due to the need of force re-render of PureComponent + * Check the following link if you want to know more + * https://github.com/bvaughn/react-virtualized#pass-thru-props + */ + [key: string]: any; }; /** diff --git a/types/react-virtualized/dist/es/ColumnSizer.d.ts b/types/react-virtualized/dist/es/ColumnSizer.d.ts index 512e8db4a1..c3779c493c 100644 --- a/types/react-virtualized/dist/es/ColumnSizer.d.ts +++ b/types/react-virtualized/dist/es/ColumnSizer.d.ts @@ -26,6 +26,14 @@ export type ColumnSizerProps = { columnCount?: number; /** Width of Grid or Table child */ width: number; + /** + * PLEASE NOTE + * The [key: string]: any; line is here on purpose + * This is due to the need of force re-render of PureComponent + * Check the following link if you want to know more + * https://github.com/bvaughn/react-virtualized#pass-thru-props + */ + [key: string]: any; } /** * High-order component that auto-calculates column-widths for `Grid` cells. diff --git a/types/react-virtualized/dist/es/Grid.d.ts b/types/react-virtualized/dist/es/Grid.d.ts index 66801c4592..cc4cbaa9ac 100644 --- a/types/react-virtualized/dist/es/Grid.d.ts +++ b/types/react-virtualized/dist/es/Grid.d.ts @@ -280,6 +280,14 @@ export type GridCoreProps = { * Width of Grid; this property determines the number of visible (vs virtualized) columns. */ width: number; + /** + * PLEASE NOTE + * The [key: string]: any; line is here on purpose + * This is due to the need of force re-render of PureComponent + * Check the following link if you want to know more + * https://github.com/bvaughn/react-virtualized#pass-thru-props + */ + [key: string]: any; } export type GridProps = GridCoreProps & { diff --git a/types/react-virtualized/dist/es/InfiniteLoader.d.ts b/types/react-virtualized/dist/es/InfiniteLoader.d.ts index 1062caeb35..746ddc71f0 100644 --- a/types/react-virtualized/dist/es/InfiniteLoader.d.ts +++ b/types/react-virtualized/dist/es/InfiniteLoader.d.ts @@ -44,6 +44,14 @@ export type InfiniteLoaderProps = { * This value defaults to 15. */ threshold?: number; + /** + * PLEASE NOTE + * The [key: string]: any; line is here on purpose + * This is due to the need of force re-render of PureComponent + * Check the following link if you want to know more + * https://github.com/bvaughn/react-virtualized#pass-thru-props + */ + [key: string]: any; }; /** diff --git a/types/react-virtualized/dist/es/Masonry.d.ts b/types/react-virtualized/dist/es/Masonry.d.ts index 25b790ced6..4c67835722 100644 --- a/types/react-virtualized/dist/es/Masonry.d.ts +++ b/types/react-virtualized/dist/es/Masonry.d.ts @@ -46,7 +46,15 @@ export type MasonryProps = { scrollTop?: number, style?: React.CSSProperties, tabIndex?: number, - width: number + width: number, + /** + * PLEASE NOTE + * The [key: string]: any; line is here on purpose + * This is due to the need of force re-render of PureComponent + * Check the following link if you want to know more + * https://github.com/bvaughn/react-virtualized#pass-thru-props + */ + [key: string]: any; } export type MasonryState = { diff --git a/types/react-virtualized/dist/es/ScrollSync.d.ts b/types/react-virtualized/dist/es/ScrollSync.d.ts index 2d49bee5d0..00137bf635 100644 --- a/types/react-virtualized/dist/es/ScrollSync.d.ts +++ b/types/react-virtualized/dist/es/ScrollSync.d.ts @@ -26,6 +26,14 @@ export type ScrollSyncProps = { * ({ onScroll, scrollLeft, scrollTop }) => PropTypes.element */ children?: (props: ScrollSyncChildProps) => React.ReactNode + /** + * PLEASE NOTE + * The [key: string]: any; line is here on purpose + * This is due to the need of force re-render of PureComponent + * Check the following link if you want to know more + * https://github.com/bvaughn/react-virtualized#pass-thru-props + */ + [key: string]: any; }; export type ScrollSyncState = { diff --git a/types/react-virtualized/dist/es/WindowScroller.d.ts b/types/react-virtualized/dist/es/WindowScroller.d.ts index 16be9f8e1a..5ee54eb178 100644 --- a/types/react-virtualized/dist/es/WindowScroller.d.ts +++ b/types/react-virtualized/dist/es/WindowScroller.d.ts @@ -19,6 +19,14 @@ export type WindowScrollerProps = { onScroll?: (params: { scrollTop: number }) => void; /** Element to attach scroll event listeners. Defaults to window. */ scrollElement?: HTMLElement; + /** + * PLEASE NOTE + * The [key: string]: any; line is here on purpose + * This is due to the need of force re-render of PureComponent + * Check the following link if you want to know more + * https://github.com/bvaughn/react-virtualized#pass-thru-props + */ + [key: string]: any; } export type WindowScrollerState = { height: number, diff --git a/types/react-virtualized/index.d.ts b/types/react-virtualized/index.d.ts index 598d65302c..8bd32e7b26 100644 --- a/types/react-virtualized/index.d.ts +++ b/types/react-virtualized/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/bvaughn/react-virtualized // Definitions by: Kalle Ott // John Gunther +// Konstantin Nesterov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3