Skip to content

Commit 9533aa4

Browse files
committed
ci: Format code
1 parent be0f990 commit 9533aa4

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ Parses URLSearchParams to JavaScript objects according to Zod schemas.
2323
- Any property may be `z.nullable()` except `z.array()`.
2424
- Properties that are `z.literal()` are allowed and must still obey all of these rules.
2525
- A `z.array()` must be of a single value-type.
26-
- The value-types must obey all the same basic rules
27-
for primitive object, union, and property types.
28-
- Value-types may not be `z.nullable()` or `z.undefined()`.
29-
- The value-type cannot be an `z.array()` or contain a nested `z.array()` at any level.
26+
- The value-types must obey all the same basic rules
27+
for primitive object, union, and property types.
28+
- Value-types may not be `z.nullable()` or `z.undefined()`.
29+
- The value-type cannot be an `z.array()` or contain a nested `z.array()` at any level.
3030
- A `z.record()` has less-strict schema constraints but weaker parsing guarantees:
31-
- They keys must be `z.string()`.
32-
- The value-type may be a single primitive type.
33-
- The value-type may be a union of primitives.
34-
This union must include `z.string()`
35-
and all values will be parsed as `z.string()`.
36-
- The value-type may be `z.nullable()`.
37-
- The value-type may not be a `z.record()`, `z.array()`, or `z.object()`.
31+
- They keys must be `z.string()`.
32+
- The value-type may be a single primitive type.
33+
- The value-type may be a union of primitives.
34+
This union must include `z.string()`
35+
and all values will be parsed as `z.string()`.
36+
- The value-type may be `z.nullable()`.
37+
- The value-type may not be a `z.record()`, `z.array()`, or `z.object()`.
3838

3939
## Installation
4040

0 commit comments

Comments
 (0)