Closed
Description
Currently it is only possible to define function overloads for function declarations.
Sometimes it is desirable to use function expressions instead of function declarations. It would be nice if the function overload feature was applicable to function expressions as well.
By function expression, I mean something like this:
const identity = <X>(x: X) => x;