Skip to content

Commit 29c33c8

Browse files
author
aikoven
committed
Change ActionCreator from type to interface.
#70
1 parent a8ec0e7 commit 29c33c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function isType<Payload>(
3232
return action.type === actionCreator.type;
3333
}
3434

35-
export type ActionCreator<Payload> = {
35+
export interface ActionCreator<Payload> {
3636
type: string;
3737
/**
3838
* Identical to `isType` except it is exposed as a bound method of an action

0 commit comments

Comments
 (0)