Skip to content

Commit

Permalink
Update token.ts (element-plus#3001)
Browse files Browse the repository at this point in the history
fix interface FormItemContext.validate wrong parameter type
  • Loading branch information
wangbincyzj authored Aug 24, 2021
1 parent 8920101 commit 21820ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/form/src/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export interface ElFormItemContext {
formItemMitt: Emitter
size: ComponentSize
validateState: string
validate(callback?: ValidateFieldCallback): void
validate(trigger: string, callback?: ValidateFieldCallback): void
updateComputedLabelWidth(width: number): void
addValidateEvents(): void
removeValidateEvents(): void
Expand Down

0 comments on commit 21820ac

Please sign in to comment.