From 760872b314f4e91528864e497ec92544be0855d0 Mon Sep 17 00:00:00 2001 From: James Herdman Date: Thu, 9 May 2024 11:06:48 -0400 Subject: [PATCH] fix: Walk back some `unknown`s This is causing grief with type assertions. Let's walk this back until we can adequately type the table component. --- src/Table/Table.types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Table/Table.types.ts b/src/Table/Table.types.ts index 81d98f51e..49ed794f1 100644 --- a/src/Table/Table.types.ts +++ b/src/Table/Table.types.ts @@ -1,10 +1,10 @@ import type { Key } from "react"; import PropTypes from "prop-types"; -export type RowType = unknown; +export type RowType = any; export interface CellInfoType { - cellData: unknown; + cellData: any; column: ColumnType; row: RowType; }