Repository navigation
Commit 11c9268
authored
The hunk is labelled OPTION B PROTOTYPE and changes what an exact
optional accepts. Every inner that accepts undefined on its own --
coerce, any, unknown, undefined, literal(undefined), catch -- was
rejected, and specific type errors were replaced with nonoptional.
z.exactOptional(z.undefined()) could never match a present key.
The propValues half of #6432 and its tests are untouched.
1 parent a38ab4a commit 11c9268
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3743 | 3743 | | |
3744 | 3744 | | |
3745 | 3745 | | |
3746 | | - | |
| 3746 | + | |
3747 | 3747 | | |
3748 | | - | |
3749 | | - | |
3750 | | - | |
3751 | | - | |
3752 | | - | |
3753 | 3748 | | |
3754 | 3749 | | |
3755 | 3750 | | |
| |||
0 commit comments