Skip to content

Commit f2b5a2e

Browse files
docs(README.md): update
1 parent 61eaee4 commit f2b5a2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1845,7 +1845,7 @@ The **return value** is a `boolean` indicating whether or not the `value` is an
18451845
![update][update]
18461846

18471847
`4.0.0`: The function uses [`isObjectKey`](#isobjectkey) function to check the `value` and has [`callback`](#resultcallback) as optional instead of the [`guardObject`](#guardobject).
1848-
`4.0.1`: Fix guards the `key` by changing its type to `keyof Obj` instead just a [`Key`][key].
1848+
`4.0.1`: Fix guards the `key` by changing its type to `keyof Obj` instead of just a [`Key`][key].
18491849

18501850
Use `guardObjectKey()` or `guard.is.objectKey()` to guard the `value` to be an `object` of a generic `Obj` type that contains the `key`.
18511851

packages/type/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1845,7 +1845,7 @@ The **return value** is a `boolean` indicating whether or not the `value` is an
18451845
![update][update]
18461846

18471847
`4.0.0`: The function uses [`isObjectKey`](#isobjectkey) function to check the `value` and has [`callback`](#resultcallback) as optional instead of the [`guardObject`](#guardobject).
1848-
`4.0.1`: Fix guards the `key` by changing its type to `keyof Obj` instead just a [`Key`][key].
1848+
`4.0.1`: Fix guards the `key` by changing its type to `keyof Obj` instead of just a [`Key`][key].
18491849

18501850
Use `guardObjectKey()` or `guard.is.objectKey()` to guard the `value` to be an `object` of a generic `Obj` type that contains the `key`.
18511851

0 commit comments

Comments
 (0)