Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
by committed Jul 8, 2020
1 parent 933acdd commit 83198ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Expand Up @@ -48,7 +48,7 @@ export interface RuleItem {
whitespace?: boolean;
fields?: Rules; // ignore when without required
options?: ValidateOption;
defaultField?: { type: RuleType }; // 'object' or 'array' containing validation rules
defaultField?: RuleItem; // 'object' or 'array' containing validation rules
transform?: (value: any) => any;
message?: string;
asyncValidator?: (
Expand Down

0 comments on commit 83198ad

Please sign in to comment.