-
Notifications
You must be signed in to change notification settings - Fork 6
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
npm install @types/rethinkdb installs type definitions for rethinkdb 1.10.0 #3
Comments
To install this, you need |
Or without typings, |
To further clarify, we can not publish to NPM. TypeScript owns that process, I've done as much possible to make it work for users (including enabling the |
We could PR to DefinitelyTyped, which gets autopublished to |
I don't really have any desire to keep PRing DefinitelyTyped though. It's just a duplication of source code and effort, which sucks. If I were to do it here, I'd have to consider the workflow with the other 100 modules under @types, and it just doesn't scale. Not even in terms of code, copying and pasting is terrible but doable, but in terms of maintenance. Unless you decide to subscribe to DefinitelyTyped issues (of which, 99.9% won't be relevant to you) you'll never know if someone run into an issue or has submitted a fix. It's not really even possible to have project discussions on there, like the ones you've already created, because there's just too many projects there to focus. |
Yeah, that's the downside. Perhaps there could be a bot for @types which PRs all changes from its repos to DefinitelyTyped automatically? It's a really sad state to have two sources of typings rather than just one, "canonical" one. Maybe we could work this out together with the TypeScript team? |
See the issue I linked to for the proposed solution to this, I did have this discussion with them three months ago when they started with the |
Aah, cool. Good to hear 👍 |
When I run the above command I get type definitions for rethinkdb 1.10.0 apparently from here: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/rethinkdb
This repository however contains type definitions for 2.3.0 which I need but it doesn't seem to be published to npm yet?
The text was updated successfully, but these errors were encountered: