Open rendaw opened 3 years ago
I should clarify, this also happens with 2 arguments, and where the argument types are from generic arguments. I haven't tested further.
The workaround seems to be to use Runnable/Consumer/Supplier/Function/BiConsumer/BiFunction/etc whenever possible.
This one seems blocking to me. It should definitively work.
Thanks for reporting.
Oh, I notice you are using J4TS. Do you reproduce without J4TS please?
produces the error
expected 1-2 arguments, but got 0
with:produces error
the 'this' context of type 'void' is not assignable to method's 'this' of type 'Function'
with output: