Skip to content

Commit e7b8dd0

Browse files
authored
[docs] fix code snippet
1 parent 4fdc244 commit e7b8dd0

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
@@ -149,8 +149,8 @@ _.record({
149149
id: _.string(),
150150
}); // { timestamp: number; id: string; }
151151

152-
_.listof(validators.string()); // string[]
153-
_.recordof(validators.string()); // Record<string, string>
152+
_.listof(_.string()); // string[]
153+
_.recordof(_.string()); // Record<string, string>
154154
```
155155

156156
Check out the full validators API below:

0 commit comments

Comments
 (0)