5 lines
90 B
TypeScript
5 lines
90 B
TypeScript
export interface Action<T, ActionType extends string> {
|
|
payload: T
|
|
type: ActionType
|
|
}
|