WebReflection/usignal

Return type of effect

Closed this issue · 0 comments

The return type of effect is marked as void but the callback is returned, hence it probably should be typed as () => void

* @type {<T>(fn: (v: T) => T, value?: T, options?: { async?: boolean }) => void}