Skip to content

Commit c32571f

Browse files
committed
docs: fix typo in link fragment
This commit corrects the wrong #partialt fragment identifier to #partialtype. Signed-off-by: Eng Zer Jun <[email protected]>
1 parent 502384e commit c32571f

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
@@ -1143,7 +1143,7 @@ type NoIDRecipe = z.infer<typeof NoIDRecipe>;
11431143

11441144
### `.partial`
11451145

1146-
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.
1146+
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.
11471147

11481148
Starting from this object:
11491149

README_ZH.md

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

576576
### `.partial`
577577

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

580580
从这个对象开始:
581581

deno/lib/README.md

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

11431143
### `.partial`
11441144

1145-
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.
1145+
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.
11461146

11471147
Starting from this object:
11481148

0 commit comments

Comments
 (0)