Migrate actions,reducers and action types to TS #15
This commit is contained in:
14
app/reducers/votes/IVoteAction.ts
Normal file
14
app/reducers/votes/IVoteAction.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import {VoteActionType} from 'constants/voteActionType'
|
||||
|
||||
|
||||
/**
|
||||
* Vote action interface
|
||||
*
|
||||
* @export
|
||||
* @interface IVoteAction
|
||||
*/
|
||||
export interface IVoteAction {
|
||||
payload: any,
|
||||
type: VoteActionType
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user