Skip to content

Commit

Permalink
docs: fix typo in link fragment (#2329)
Browse files Browse the repository at this point in the history
This commit corrects the wrong #partialt fragment identifier to #partialtype.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
  • Loading branch information
Juneezee committed May 22, 2023
1 parent ca7b032 commit 6fec8bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -1183,7 +1183,7 @@ type NoIDRecipe = z.infer<typeof NoIDRecipe>;

### `.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:

Expand Down
2 changes: 1 addition & 1 deletion README_ZH.md
Expand Up @@ -576,7 +576,7 @@ type NoIDRecipe = z.infer<typeof NoIDRecipe>;

### `.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` 方法使所有属性都是可选的。

从这个对象开始:

Expand Down
2 changes: 1 addition & 1 deletion deno/lib/README.md
Expand Up @@ -1183,7 +1183,7 @@ type NoIDRecipe = z.infer<typeof NoIDRecipe>;

### `.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:

Expand Down

0 comments on commit 6fec8bd

Please sign in to comment.