Skip to content

Commit

Permalink
fix(components): [el-form] fix async-validator version (element-plus#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz authored Sep 28, 2021
1 parent 4a775cf commit 4a4f049
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/components/form/src/form.type.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { RuleItem } from 'async-validator'

export declare interface FormItemRule extends RuleItem {
export interface FormItemRule extends RuleItem {
trigger?: string
}

export declare interface FormRulesMap {
export interface FormRulesMap {
[key: string]: FormItemRule | FormItemRule[]
}
2 changes: 1 addition & 1 deletion packages/element-plus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"dependencies": {
"@popperjs/core": "^2.10.1",
"@vueuse/core": "~6.1.0",
"async-validator": "^3.4.0",
"async-validator": "^4.0.3",
"dayjs": "^1.10.7",
"lodash": "^4.17.21",
"memoize-one": "^5.2.1",
Expand Down
8 changes: 2 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4a4f049

Please sign in to comment.