New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong typings for RxJS and Most.js versions of makeDOMDriver #860
Comments
This can be worked around using
|
Yeah, sorry, this is an incredibly stupid bug. Will fix that tomorrow |
I've also encountered some problems with
Files for reference: I think it might be better to use common |
This sadly does not work as we cannot have generics of generics |
@issuehuntfest has funded $60.00 to this issue. See it on IssueHunt |
@jvanbruegge has submitted a pull request. See it on IssueHunt |
@staltz has rewarded $54.00 to @jvanbruegge. (Total deposit: $60.00, Repository reward(0%): $0.00, Service fee(10%): $6.00) See it on IssueHunt |
This is now released as |
@cycle/dom v22.0.0 introduced separate makeDOMDriver() functions for RxJS and Most.js, but Typescript throws an error when I try to use them. Probably because the new separate functions describe no arguments in their types:
8174c25#diff-6ec374a820c34eab57b27ca30d8e6ad8R22
8174c25#diff-01aea6cd37e196dd39a5549985abd670R18
Code to reproduce the issue:
Expected behavior:
Code above compiling without any errors.
Actual behavior:
Typescript throws an error
Expected 0 arguments, but got 1.
when I pass'#root'
tomainDOMDriver()
.Versions of packages used:
The text was updated successfully, but these errors were encountered: