tl-esa-tools/survey/src/types/reducers.ts

11 lines
186 B
TypeScript
Raw Normal View History

2023-04-29 22:45:52 +03:00
export interface ReducerData {
contents: string[]
}
export type ReduxActionData<T> = {
type: any
payload?: T
}
export type ReduxAction<T> = (data: T) => ReduxActionData<T>