From 6fec8bd3407f463f157522a3979b4d202870ba4c Mon Sep 17 00:00:00 2001 From: Eng Zer Jun Date: Mon, 22 May 2023 09:19:02 +0800 Subject: [PATCH] docs: fix typo in link fragment (#2329) This commit corrects the wrong #partialt fragment identifier to #partialtype. Signed-off-by: Eng Zer Jun --- README.md | 2 +- README_ZH.md | 2 +- deno/lib/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ce25eaa5c..4057cf424 100644 --- a/README.md +++ b/README.md @@ -1183,7 +1183,7 @@ type NoIDRecipe = z.infer; ### `.partial` -Inspired by the built-in TypeScript utility type [Partial](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialt), the `.partial` method makes all properties optional. +Inspired by the built-in TypeScript utility type [Partial](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype), the `.partial` method makes all properties optional. Starting from this object: diff --git a/README_ZH.md b/README_ZH.md index 47429a708..ef86a460d 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -576,7 +576,7 @@ type NoIDRecipe = z.infer; ### `.partial` -受 TypeScript 内置的实用类型[Partial](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialt)的启发, `.partial` 方法使所有属性都是可选的。 +受 TypeScript 内置的实用类型[Partial](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)的启发, `.partial` 方法使所有属性都是可选的。 从这个对象开始: diff --git a/deno/lib/README.md b/deno/lib/README.md index ce25eaa5c..4057cf424 100644 --- a/deno/lib/README.md +++ b/deno/lib/README.md @@ -1183,7 +1183,7 @@ type NoIDRecipe = z.infer; ### `.partial` -Inspired by the built-in TypeScript utility type [Partial](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialt), the `.partial` method makes all properties optional. +Inspired by the built-in TypeScript utility type [Partial](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype), the `.partial` method makes all properties optional. Starting from this object: