diff --git a/types/card.d.ts b/types/card.d.ts index 4896f72a0..455925d8e 100644 --- a/types/card.d.ts +++ b/types/card.d.ts @@ -13,12 +13,12 @@ export declare class Card extends AntdComponent { static Meta: typeof Meta; $props: AntdProps & { - tabBarExtraContent: any; + tabBarExtraContent?: any; /** * The action list, shows at the bottom of the Card. * @type any (slots) */ - actions: VNodeChild | JSX.Element; + actions?: VNodeChild | JSX.Element; /** * Current TabPane's key