fixed GridCellProps parent type, which incompatible with CellMeasurer parent type

This commit is contained in:
yu.zhang
2018-03-12 20:14:23 +08:00
parent 3cafa3ebdd
commit 2271071fb5
2 changed files with 2 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ export type GridCellProps = {
isScrolling: boolean;
isVisible: boolean;
key: string;
parent: Grid | List | Table;
parent: typeof Grid | typeof List | typeof Table;
rowIndex: number;
style: React.CSSProperties;
};

View File

@@ -5,6 +5,7 @@
// Konstantin Nesterov <https://github.com/wasd171>
// Szőke Szabolcs <https://github.com/szabolcsx>
// Kræn Hansen <https://github.com/kraenhansen>
// Steve Zhang <https://github.com/Stevearzh>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.6