From e39de50b4a6e5b0f00b29b7e1afa6b05c2e6dc74 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 13 Jan 2019 21:53:10 +0800 Subject: [PATCH] :hammer: tweak typescript types --- components/empty/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/empty/index.tsx b/components/empty/index.tsx index 508d555bd3..923e6a3deb 100644 --- a/components/empty/index.tsx +++ b/components/empty/index.tsx @@ -11,8 +11,8 @@ export interface EmptyProps { prefixCls?: string; className?: string; style?: React.CSSProperties; - image?: string | React.ReactNode; - description?: string | React.ReactNode; + image?: React.ReactNode; + description?: React.ReactNode; children?: React.ReactNode; }