-
Notifications
You must be signed in to change notification settings - Fork 674
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
Help wanted with Typescript PRs #125
Comments
I can review. I'm fairly new to Typescript, but the library's small enough that it shouldn't be a problem. |
@threehams That would be awesome. Thank you. |
I'm going to start contributing some work to the declaration files, so it might be good to have a second collaborator, as well. |
Not sure who is really to blame for this but please don't put breaking TS changes in dot releases. |
The work involved for types in 3.0 is very little, but I'm really concerned about reducing the number of exported types from the definition file. At the moment, internal and external interfaces are mixed together, and it's possible (likely?) that some people are importing and using types meant to be internal in their projects. I'm also starting to think that including type definitions in a non-Typescript repo may not be the best idea, as narrowing types over time - especially as new features come out in 2.1 and beyond - requires major version releases in Reselect itself, even though the library itself hasn't changed at all. Immutable.js has a similar problem. The type definitions in the repo are backwards compatible with 1.6, even though improvements in 1.8 - 2.0 (especially the polymorphic Some opinions here from @ellbee or anyone in the community would be greatly appreciated. |
@threehams I totally agree with you. It would be great if we could specify different definition file for each TS version in For the time being, we can still keep separate versions of definitions in this repo, but only put to |
I've been maintaining custom typings for Also consider that TS 2.1 will include Mapped types that would allow us to correctly type |
@threehams I am unsure on best practices here, for Typescript and Flow, so I will follow the lead of someone who knows what they are doing. @aikoven You have commit access, right? I would be happy for you to handle the Typescript stuff if you are up for it. |
@ellbee Ok, I'm on it. Are there any API changes for 3.0? |
I updated the type definition file as well #224, Is it necessary to keep this issue open ? |
No, let's close it down. Thanks to everyone who helped! |
There are a couple of outstanding PRs that I don't feel qualified to review (#123 and #115) relating to Typescript. It would be great to give someone commit access to the project who has Typescript experience and feels able to review and merge these PRs. Would anyone like to help out?
The text was updated successfully, but these errors were encountered: