Update typescript to 4.9.5

Reviewed By: passy

Differential Revision: D46068908

fbshipit-source-id: 4c1ffff8690eec5a10c67d6c5d1aacf224e0f0d4
This commit is contained in:
Anton Kastritskiy
2023-05-23 03:15:10 -07:00
committed by Facebook GitHub Bot
parent d6b852d435
commit fda21e96e8
7 changed files with 12 additions and 15 deletions

View File

@@ -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,