Is it meant by this
function foo(): () => void | string
that
a) the function foo
might return a string, or another function that doesn't return anything; or
b) the function foo
returns a different function, which may or may not return a string?
Furthermore, how can you accurately and distinctly represent the alternative option (the incorrect one)?