Skip to content

Commit 99b2986

Browse files
committed
docs: Fixed comments in the examples inside README.md
1 parent 872e200 commit 99b2986

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ const violations = await validate({
4848
}),
4949
],
5050
})) /* [{
51-
by: '@modulify/validator/IsString',
5251
value: '',
5352
path: ['form', 'nickname'],
53+
violates: '@modulify/validator/IsString',
5454
reason: 'min',
5555
meta: 4,
5656
}, {
57-
by: '@modulify/validator/IsString',
5857
value: '',
5958
path: ['form', 'password'],
59+
violates: '@modulify/validator/IsString',
6060
reason: 'min',
6161
meta: 6,
6262
}] */

0 commit comments

Comments
 (0)