Redux, Typescript, Angular, Redux Observable, Ngrx.
cast our type even more concise than createAction CONS: if we wanna provide payload, we have to explicitly declare typeof SET_AGE as 1st generic argument, because TS isn't able to do that for us properly ( it will flatten string literal to just simple string) Reducing the action boilerplate by