Appearance
you have a function, and you have an interface.
how to type them?
I managed to solve this by re-writing the function as an arrow-function
not a prefect solution, but works.
into