Redux, Typescript, Angular, Redux Observable, Ngrx.
shape const setAge = (age: number): SetAgeAction => ({ type: SET_AGE, payload: age }) Thanks God ( Anders ), that is past now… With latest additions to TypeScript 2.8, we can get return type of any particular function definition! Let’s see how and why is it important for our action creators et al…