From fb94726a1e1a7a7e4395facfc224ed3aa420a5cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=89=BE=E6=96=AF=E7=89=B9=E6=B4=9B?= Date: Sun, 11 Jul 2021 10:00:52 +0800 Subject: [PATCH] fix: TypeScript definition of Table interface for typescript 4.3.5 (#4353) * fix type for typescript 4.3.5 * Update interface.ts close #4296 --- components/table/interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/table/interface.ts b/components/table/interface.ts index 1784ecf21..fe56d5133 100644 --- a/components/table/interface.ts +++ b/components/table/interface.ts @@ -60,7 +60,7 @@ export type ColumnProps = Partial> & { filterIcon?: string; filterDropdown?: string; customRender?: string; - [key: string]: string; + [key: string]: string | undefined; }; };