How to type a callback?

as in, var callback: whatGoesHere?
2 Replies
Stole
Stole15mo ago
var callback: fn (A, B) -> C, etc It's quite intuitive
aetherclouds
aethercloudsOP15mo ago
forgot to mark this as closed since I found it in the docs LOL
Want results from more Discord servers?
Add your server