Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-georgiadis committed Dec 15, 2020
1 parent c3a780e commit c13f277
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@ So in order to check the errors you'll have to do
console.log(validationResult.errors);
}
```
And it will look like this
```typescript
[
{
property: "The property of the given object",
error: "Custom Message Here!"
}
]
```

## Cool Features!
This library supports custom rules!
Expand Down

0 comments on commit c13f277

Please sign in to comment.