[ABANDONED] React/Redux front end for the Flexor social network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
580 B

import { AnyAction } from 'redux'
import { ThunkDispatch, ThunkAction } from 'redux-thunk'
import { AppState } from './store'
export type FetchMethods = 'get' | 'post' | 'put'
export interface FetchOptions {
path: string
method?: FetchMethods
body?: object
headers?: HeadersInit
}
export interface ClassDictionary {
[name: string]: boolean
}
export * from './entities'
export * from './store'
export type AppThunkDispatch = ThunkDispatch<AppState, void, AnyAction>
export type AppThunkAction<T = void> = ThunkAction<Promise<T>, AppState, void, AnyAction>