Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export class GenericAction<ActionType, PayloadType> {
- constructor(type: ActionType, payload?: PayloadType) {
- this.type = type;
- this.payload = payload;
- }
- type: ActionType;
- payload?: PayloadType;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement