diff --git a/packages/components/rate/src/types.ts b/packages/components/rate/src/types.ts index 34eb09b48..d1878a03d 100644 --- a/packages/components/rate/src/types.ts +++ b/packages/components/rate/src/types.ts @@ -5,12 +5,15 @@ * found in the LICENSE file at https://github.com/IDuxFE/idux/blob/main/LICENSE */ +import type { AbstractControl } from '@idux/cdk/forms' import type { ExtractInnerPropTypes, ExtractPublicPropTypes, MaybeArray } from '@idux/cdk/utils' import type { FormSize } from '@idux/components/form' import type { DefineComponent, HTMLAttributes, PropType } from 'vue' export const rateProps = { + control: { type: [String, Number, Object] as PropType, default: undefined }, value: [Number, String] as PropType, + allowHalf: { type: Boolean, default: undefined,