From ef742ea9b2f246f74eae74169675a331679ad41c Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Fri, 26 Mar 2021 01:56:04 +0300
Subject: feat: add strong typing where possible

---
 src/components/ListTable.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/ListTable.tsx')

diff --git a/src/components/ListTable.tsx b/src/components/ListTable.tsx
index 79e1ecd..89a2e06 100644
--- a/src/components/ListTable.tsx
+++ b/src/components/ListTable.tsx
@@ -7,8 +7,8 @@ export interface Field {
   transform?: (value: string) => JSX.Element | string;
 }
 
-interface Props {
-  items?: any[];
+interface Props<T = any> {
+  items?: T[];
   fields: Field[];
   handleRowClick?: (index: number) => void;
 }
-- 
cgit v1.2.3

