Uh... I'm pretty sure I've used both in TypeScript projects.
I will admit I have to pass type hints via generics to my compose / pipe calls more often than I would like, but it definitely still works.