Redux, Typescript, Angular, Redux Observable, Ngrx.
annotation of our setAge function That’s it! Is it!? …well when we look at the inferred implementation of SetAgeAction, we will see following type definition { type: string payload: number } Oh no, where did our const type literal go? TypeScript flattened it to a string literal base type, which is