fix: col type error #4226

refactor-list
tangjinzhou 2021-06-19 15:29:07 +08:00
parent f9e6217bc9
commit a1a8b799d0
1 changed files with 1 additions and 1 deletions

View File

@ -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,