Skip to content

Commit 950edaf

Browse files
jeessy2zombieJ
authored andcommitted
fix: Update validator typescript definition (#27)
* Update typescript definition * Update interface.ts
1 parent 0f48380 commit 950edaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export type RuleType =
4141
| 'email';
4242

4343
type Validator = (
44-
rule: Rule,
44+
rule: RuleObject,
4545
value: StoreValue,
4646
callback: (error?: string) => void,
4747
) => Promise<void> | void;

0 commit comments

Comments
 (0)