update typescript array definites

This commit is contained in:
afc163 2018-11-01 14:49:51 +08:00
parent af2e76d64c
commit 78a82151eb
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ export interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 't
className?: string;
type?: CardType;
cover?: React.ReactNode;
actions?: Array<React.ReactNode>;
actions?: React.ReactNode[];
tabList?: CardTabListType[];
onTabChange?: (key: string) => void;
activeTabKey?: string;

View File

@ -10,7 +10,7 @@ export interface ListItemProps {
prefixCls?: string;
style?: React.CSSProperties;
extra?: React.ReactNode;
actions?: Array<React.ReactNode>;
actions?: React.ReactNode[];
grid?: ListGridType;
}