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