Redux, Typescript, Angular, Redux Observable, Ngrx.
setAge ? We need to provide a type annotation as a generic argument to ReturnType mapped type. We can actually use a variable in a type annotation using the typeof operator. This allows you to tell the compiler that one variable is the same type as another. In our case we are capturing the type