Skip to content

Commit 72a48b1

Browse files
committed
fix: Adjust ts define
1 parent 950edaf commit 72a48b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/validateUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export function validateRules(
140140
}
141141
return {
142142
...currentRule,
143-
validator(rule: Rule, val: StoreValue, callback: (error?: string) => void) {
143+
validator(rule: RuleObject, val: StoreValue, callback: (error?: string) => void) {
144144
let hasPromise = false;
145145

146146
// Wrap callback only accept when promise not provided

0 commit comments

Comments
 (0)