Closed benmerckx closed 2 years ago
The return type of effect is marked as void but the callback is returned, hence it probably should be typed as () => void
void
() => void
https://github.com/WebReflection/usignal/blob/a7d634a6bee97a9ffc334aa33c9f74c317df1c7b/esm/index.js#L141
The return type of effect is marked as
void
but the callback is returned, hence it probably should be typed as() => void
https://github.com/WebReflection/usignal/blob/a7d634a6bee97a9ffc334aa33c9f74c317df1c7b/esm/index.js#L141