Join Slack
Powered by
and what would I use for a callback function that ...
# javascript
b
Bernhard
07/23/2024, 5:30 PM
and what would I use for a callback function that takes 0..n Any values?
✅ 1
t
turansky
07/24/2024, 11:56 AM
It depends on your case
turansky
07/24/2024, 11:57 AM
Do you have TS code example?
b
Bernhard
07/24/2024, 11:58 AM
I think it's (...args: any[]) => void
t
turansky
07/24/2024, 11:59 AM
Function<Unit>
?
b
Bernhard
07/24/2024, 12:00 PM
thank you
2
Views
Open in Slack
Previous
Next