From c45c16f4d450519399d5483255bc1aac2c18d634 Mon Sep 17 00:00:00 2001 From: Karl Kallavus Date: Wed, 6 Oct 2021 17:15:52 +0300 Subject: [PATCH] fix: ts --- next-docs/pages/components/table/table.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/next-docs/pages/components/table/table.tsx b/next-docs/pages/components/table/table.tsx index 3e46b79a7c..0710bc28af 100644 --- a/next-docs/pages/components/table/table.tsx +++ b/next-docs/pages/components/table/table.tsx @@ -65,7 +65,7 @@ const DefaultTablePreview = () => { }, ]; - const makeData = (length) => { + const makeData = (length: number) => { return Array.from('_'.repeat(length)).map(() => { return { firstName: 'Test', @@ -186,7 +186,7 @@ const ExpandedRowTablePreview = () => { }, ]; - const makeData = (length) => { + const makeData = (length: number) => { return Array.from('_'.repeat(length)).map(() => { return { firstName: 'Test',