Update typescript to 4.9.5
Reviewed By: passy Differential Revision: D46068908 fbshipit-source-id: 4c1ffff8690eec5a10c67d6c5d1aacf224e0f0d4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d6b852d435
commit
fda21e96e8
@@ -104,7 +104,7 @@ type TableRowProps<T> = {
|
||||
style?: CSSProperties;
|
||||
};
|
||||
|
||||
export const TableRow = memo(function TableRow<T>({
|
||||
export const TableRow = memo(function TableRow<T extends object>({
|
||||
record,
|
||||
itemIndex,
|
||||
highlighted,
|
||||
@@ -155,7 +155,7 @@ export const TableRow = memo(function TableRow<T>({
|
||||
}
|
||||
});
|
||||
|
||||
export function renderColumnValue<T>(
|
||||
export function renderColumnValue<T extends object>(
|
||||
col: DataTableColumn<any>,
|
||||
record: T,
|
||||
highlighted: boolean,
|
||||
|
||||
Reference in New Issue
Block a user