Skip to content

Commit 91f3059

Browse files
authored
Merge branch 'master' into docs-chinese
2 parents 6ac2e6f + 61e9748 commit 91f3059

28 files changed

+7211
-4678
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
node: ["18"]
17-
typescript: ["4.5", "4.6", "4.7", "4.8", "4.9", "5.0"]
16+
node: ["18", "20"]
17+
typescript: ["4.5", "4.6", "4.7", "4.8", "4.9", "5.0", "5.3"]
1818
name: Test with TypeScript ${{ matrix.typescript }} on Node ${{ matrix.node }}
1919
steps:
2020
- uses: actions/checkout@v2

ERROR_HANDLING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Each ZodError has an `issues` property that is an array of `ZodIssues`. Each iss
2626

2727
`ZodIssue` is _not_ a class. It is a [discriminated union](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#discriminated-unions).
2828

29-
The link above is the best way to learn about the concept. Discriminated unions are an ideal way to represent a data structures that may be one of many possible variants. You can see all the possible variants defined [here](./src/ZodError.ts). They are also described in the table below if you prefer.
29+
The link above is the best way to learn about the concept. Discriminated unions are an ideal way to represent a data structures that may be one of many possible variants. You can see all the possible variants defined [here](https://github.com/colinhacks/zod/blob/master/src/ZodError.ts). They are also described in the table below if you prefer.
3030

3131
_Every_ ZodIssue has these fields:
3232

0 commit comments

Comments
 (0)