Closed as not planned
Description
If I have a function with the signature of (...args: never) => void
, TypeScript 5.1 now throws this error:
Argument of type '[]' is not assignable to parameter of type 'never'.
Previous versions of TypeScript allows me to call the function without any parameters.
Is this intended behaviour? I don't believe seeing anything in the changelog mentioning this.