Skip to content

Commit 2063199

Browse files
author
ben.durrant
committed
action needs to be a type not interface
1 parent 687e2fe commit 2063199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* @template T the type of the action's `type` tag.
1616
*/
17-
export interface Action<T extends string = string> {
17+
export type Action<T extends string = string> = {
1818
type: T
1919
}
2020

0 commit comments

Comments
 (0)