We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 687e2fe commit 2063199Copy full SHA for 2063199
src/types/actions.ts
@@ -14,7 +14,7 @@
14
*
15
* @template T the type of the action's `type` tag.
16
*/
17
-export interface Action<T extends string = string> {
+export type Action<T extends string = string> = {
18
type: T
19
}
20
0 commit comments