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; className?: string;
type?: CardType; type?: CardType;
cover?: React.ReactNode; cover?: React.ReactNode;
actions?: Array<React.ReactNode>; actions?: React.ReactNode[];
tabList?: CardTabListType[]; tabList?: CardTabListType[];
onTabChange?: (key: string) => void; onTabChange?: (key: string) => void;
activeTabKey?: string; activeTabKey?: string;

View File

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