Skip to content
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

feat(typings): general upgrade of typescript definitions/typings #610

Closed
rscotten opened this issue Jan 7, 2019 · 12 comments
Closed

feat(typings): general upgrade of typescript definitions/typings #610

rscotten opened this issue Jan 7, 2019 · 12 comments

Comments

@rscotten
Copy link
Contributor

rscotten commented Jan 7, 2019

Hello,

Big fan of this library so far. Great job!

As a Typescript user, I'd like to help out on the Typescript definition file. I've forked the repo and have been upgrading the types on the 3.0.0-alpha.5 branch. I'll make a pull request when ready.

Just to make sure I'm not duplicating anyone's work,

is anybody else was working on this?

@prescottprue
Copy link
Owner

prescottprue commented Jan 7, 2019

@rscotten I am definitely not working on the typings at the moment, thanks for reaching out to confirm. You can start from and PR against the next branch (where 3.0.0-alpha.5 was merged to) since the pre-release versions are getting merged there.

@prescottprue
Copy link
Owner

Reach out with any updates (even small ones). We can get changes out to the next tag/branch pretty quickly, and I am sure that there are others using typescript that would enjoy the changes.

@prescottprue prescottprue changed the title Upgrade Typescript definitions/typings feat(typings): general upgrade of typescript definitions/typings Jan 15, 2019
@sambokai
Copy link

sambokai commented Jan 27, 2019

Commenting to voice my support for this move.

@rscotten Are you currently working on it?

I think typing the firebase instance you get from firebaseConnect or withFirebase would be very helpful.

@rscotten
Copy link
Contributor Author

@sambokai yes, I have updated some types for the functions I'm using, but it's by no means complete.

You can see my current draft here: https://github.com/rscotten/react-redux-firebase/blob/v3.0.0-alpha.6-upgrade-ts-definitions/index.d.ts

@rscotten
Copy link
Contributor Author

Just got motivated to work on this right now.

@prescottprue Any reason why this package has a package.json devDependency of "firebase": "4.12.0", instead of 5.8.1?

@rscotten
Copy link
Contributor Author

@sambokai made some more progress on this. It's still not complete, but if you're in a pinch, you can replace your index.d.ts file with mine and it might help out some.

@sambokai
Copy link

Will try it and report back if i notice anything

@prescottprue
Copy link
Owner

@rscotten The old dev dependency is just from how long ago I set it, I'm sure it won't break anything.

Even if it isn't finished I am open to trying out some of the changes because I agree with @sambokai that the typings for firebaseConnect would be super useful

@rscotten
Copy link
Contributor Author

rscotten commented Feb 2, 2019

@prescottprue I can submit a PR this weekend.

@idanlo
Copy link

idanlo commented Feb 5, 2019

@prescottprue I'm working on some types, will open a PR to the next branch soon.

@rscotten
Copy link
Contributor Author

rscotten commented Feb 5, 2019

@prescottprue @idanlo I submitted my PR: #627

@prescottprue prescottprue mentioned this issue Feb 5, 2019
3 tasks
@prescottprue prescottprue added this to the v3.0.* milestone Feb 8, 2019
@prescottprue
Copy link
Owner

Just did a pretty big upgrade to the types as part of the v3.0.0-alpha.13 release and am planning to continue updates to them regularly. Going to close this issue for now, but please feel free to open new issues/PRs with your input. Thank you everyone for all for your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants