Skip to content

Commit c8a1096

Browse files
authored
Merge pull request #59 from darky/master
hot fix, fix broken type
2 parents c550abf + 0bb4466 commit c8a1096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ declare interface ValidationRuleObject {
2222
convert?: boolean;
2323
items?: string;
2424
props?: ValidationSchema;
25-
check?: (value: any, ValidationSchema) => boolean | ValidationResult;
25+
check?: (value: any, schema: ValidationSchema) => boolean | ValidationResult;
2626
}
2727

2828
declare type ValidationRule = ValidationRuleObject | ValidationRuleObject[] | string;

0 commit comments

Comments
 (0)