Skip to content

Commit 69afddd

Browse files
authored
Merge pull request #2323 from aroyan/patch-1
2 parents 2c6fab0 + 20f1fb7 commit 69afddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/createAction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ This has different uses:
149149
150150
### As a TypeScript Type Guard
151151
152-
This `match` method is a [TypeScript type guard](https://www.typescriptlang.org/docs/handbook/advanced-types.html#user-defined-type-guards) and can be used to discriminate the `payload` type of an action.
152+
This `match` method is a [TypeScript type guard](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates) and can be used to discriminate the `payload` type of an action.
153153
154154
This behavior can be particularly useful when used in custom middlewares, where manual casts might be neccessary otherwise.
155155

0 commit comments

Comments
 (0)