update row to remove implicit any (#7803)

This commit is contained in:
ravirambles 2017-10-08 09:14:31 -05:00 committed by 偏右
parent a4a0816e5a
commit 8ccd02139c

View File

@ -13,7 +13,7 @@ export interface RowProps {
prefixCls?: string;
}
export default class Row extends React.Component<RowProps, any> {
export default class Row extends React.Component<RowProps, {}> {
static defaultProps = {
gutter: 0,
};
@ -41,7 +41,7 @@ export default class Row extends React.Component<RowProps, any> {
marginRight: (gutter as number) / -2,
...style,
} : style;
const cols = Children.map(children, (col: React.ReactElement<any>) => {
const cols = Children.map(children, (col: React.ReactElement<HTMLDivElement>) => {
if (!col) {
return null;
}