From 47c5191b8c301f9642116aae42c514a480dd75c2 Mon Sep 17 00:00:00 2001 From: zkwolf Date: Fri, 18 Sep 2020 22:53:33 +0800 Subject: [PATCH] chore: update tooltip type (#2862) --- types/tootip/tooltip.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/tootip/tooltip.d.ts b/types/tootip/tooltip.d.ts index 5dee1bdf1..ec7ebc554 100644 --- a/types/tootip/tooltip.d.ts +++ b/types/tootip/tooltip.d.ts @@ -12,6 +12,6 @@ export declare class Tooltip extends AntdComponent { * The text shown in the tooltip * @type any (string | slot) */ - title: VNodeChild | JSX.Element; + title?: VNodeChild | JSX.Element; } & TooltipCommon; }