Skip to content

Commit

Permalink
docs: update deprecated link (#2219)
Browse files Browse the repository at this point in the history
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
  • Loading branch information
Juneezee committed Mar 21, 2023
1 parent a3bb701 commit 51e14be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -623,7 +623,7 @@ z.coerce.boolean().parse(null); // => false

## Literals

Literal schemas represent a [literal type](https://www.typescriptlang.org/docs/handbook/literal-types.html), like `"hello world"` or `5`.
Literal schemas represent a [literal type](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types), like `"hello world"` or `5`.

```ts
const tuna = z.literal("tuna");
Expand Down

0 comments on commit 51e14be

Please sign in to comment.