Calling a function from two locations is what I meant.
Basically since moving to a functional approach in typescript I find I do not fight abstractions as I used to when I used classes and inheritance.