diff --git a/antd/antd.d.ts b/antd/antd.d.ts index abd5590976..8aeab7dd95 100644 --- a/antd/antd.d.ts +++ b/antd/antd.d.ts @@ -1,6 +1,6 @@ // Type definitions for Antd v0.12.10 // Project: http://ant.design -// Definitions by: bang88 +// Definitions by: bang88 , Bruce Mitchener // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -738,7 +738,7 @@ declare namespace Antd { * * @type {(MenuItem | MenuSubMenu)} */ - children?: MenuItem | MenuSubMenu + children?: JSX.Element[] } export class MenuSubMenu extends React.Component { render(): JSX.Element @@ -756,7 +756,7 @@ declare namespace Antd { * * @type {MenuItem} */ - children?: MenuItem + children?: JSX.Element[] } export class MenuItemGroup extends React.Component { render(): JSX.Element