We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 950edaf commit 72a48b1Copy full SHA for 72a48b1
src/utils/validateUtil.ts
@@ -140,7 +140,7 @@ export function validateRules(
140
}
141
return {
142
...currentRule,
143
- validator(rule: Rule, val: StoreValue, callback: (error?: string) => void) {
+ validator(rule: RuleObject, val: StoreValue, callback: (error?: string) => void) {
144
let hasPromise = false;
145
146
// Wrap callback only accept when promise not provided
0 commit comments