In JavaScript, why is this lambda function of type `{}`? - Stack Overflow

In JavaScript, why is this lambda function of type `{}`? - Stack Overflow