Skip to content

Commit 63bdaeb

Browse files
committed
Missed an unknown
1 parent 8af52c1 commit 63bdaeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/createAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export function createAction(type: string, prepareAction?: Function): any {
281281

282282
actionCreator.type = type
283283

284-
actionCreator.match = (action: Action<unknown>): action is PayloadAction =>
284+
actionCreator.match = (action: Action<string>): action is PayloadAction =>
285285
action.type === type
286286

287287
return actionCreator

0 commit comments

Comments
 (0)