Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6fec8bd

Browse files
authored
docs: fix typo in link fragment (#2329)
This commit corrects the wrong #partialt fragment identifier to #partialtype. Signed-off-by: Eng Zer Jun <[email protected]>
1 parent ca7b032 commit 6fec8bd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ type NoIDRecipe = z.infer<typeof NoIDRecipe>;
11831183

11841184
### `.partial`
11851185

1186-
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.
1186+
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.
11871187

11881188
Starting from this object:
11891189

README_ZH.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ type NoIDRecipe = z.infer<typeof NoIDRecipe>;
576576

577577
### `.partial`
578578

579-
受 TypeScript 内置的实用类型[Partial](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialt)的启发, `.partial` 方法使所有属性都是可选的。
579+
受 TypeScript 内置的实用类型[Partial](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)的启发, `.partial` 方法使所有属性都是可选的。
580580

581581
从这个对象开始:
582582

deno/lib/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ type NoIDRecipe = z.infer<typeof NoIDRecipe>;
11831183

11841184
### `.partial`
11851185

1186-
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.
1186+
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.
11871187

11881188
Starting from this object:
11891189

0 commit comments

Comments
 (0)