We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
TypeScript typings for most does not support sending only one stream as an argument to sample(). (But most supports this.)
most
sample()
I also suggest we move to using mapped types instead, supporting arbitrary number of arguments for functions where supported by TypeScript.
I have made a PR implementing a simple change without mapped types to support this use case, #536.
Not getting a type error
Getting a type error
import { just } from "most"; just().sample((x) => x, just())
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
TypeScript typings for
most
does not support sending only one stream as an argument tosample()
. (Butmost
supports this.)I also suggest we move to using mapped types instead, supporting arbitrary number of arguments for functions where supported by TypeScript.
I have made a PR implementing a simple change without mapped types to support this use case, #536.
Expected result
Not getting a type error
Actual Result
Getting a type error
Versions
Steps to reproduce
Code to reproduce
The text was updated successfully, but these errors were encountered: