Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
What's the correct type for a callback passed to JS which is getting passed one argument?
I _think_ it's EffectFn1 element Unit, but I'm not 100% sure.
EffectFn1 element Unit
assuming you want to do an effect, yeah, it's EffectFn1
it doesn't necessarily have to return Unit