-
Notifications
You must be signed in to change notification settings - Fork 10
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
Typescript definition #26
Comments
Mmmh I see that |
I welcome a definition, are you interested in doing a pull request? A full TypeScript rewrite has been on the cards for a while. If someone is keen to get stuck into that I would be happy to support them. |
Sure, I will work it properly and do a pull request. |
I'm not sure, I'm no TypeScript expert. It's worth noting that collection On 25/10/2016 10:28 AM, "Vincent Aravantinos" [email protected]
|
Ok I understand you can use any other library. But in any case you still need to import xstream don't you? |
I see what you're saying now, yes, you're right, you could pull in |
Sorry was not clear in the first place. Great I'll work on it, but don't expect a pull request before a month or so - going for three weeks on vacation :-) |
Have a lovely holiday! 😸 I'll leave this issue unassigned for now, and if you feel like working on it when you get back, just comment and I'll assign it to you. I'll also open an issue for a typescript rewrite. 😄 |
Hi, for info, I'm back from vacation and working on it! :-) |
Great to hear. I've been brushing up on my TypeScript recently, looking forward to reviewing 😄 |
Uhhh, I'm myself not an expert... Fearing your reviewing! ;-) Anyways it's tougher than I thought. I will do it XStream-specific, at least for a start. On my way I have a collection-specific question: which sort of data is actually carried by a stream issued from |
Correct, it is a stream of arrays of item sinks. You could write an equivalent to pluck like Pluck remembers sink streams across collection changes. Tell you the truth, there's a whole bunch of things that coukd probably be simplified inside of collection, so please keep asking questions as they come up :) |
Hi,
would be great to have a typescript definition file.
I think it's hard to make it perfect due to the fact that cyclejs tries to be stream-library independent (entailing no one-type for streams), but at least a pragmatic typing which would just prevent having "unknown module" errors when using collections.
The following one could be a basis I believe:
The text was updated successfully, but these errors were encountered: