Typing an RxJS pipeline
How do you define an OperatorPipeline
type in TypeScript that takes zero or more RxJS operators and without using any
and or a fixed number of overloads, can match:
Typescript: RXJS `distinctUntilChanged` not working with strict / first parameter undefined
The following code doesn’t work: