fix: col type error #4226

refactor-list
tangjinzhou 3 years ago
parent f9e6217bc9
commit a1a8b799d0

@ -29,7 +29,7 @@ function parseFlex(flex: FlexType): string {
}
const stringOrNumber = PropTypes.oneOfType([PropTypes.string, PropTypes.number]);
export const colSize = PropTypes.shape({
export const colSize = PropTypes.shape<ColSize>({
span: stringOrNumber,
order: stringOrNumber,
offset: stringOrNumber,

Loading…
Cancel
Save