-
Notifications
You must be signed in to change notification settings - Fork 256
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 type definitions #281
Comments
Definitely interesting - but we'll need the one that creates the typescript file 😄 |
Haha, understood. Will try to carve out time to do it. |
Hey guys, I started by drafting a The problem is that there are no JSDoc comments in the lib-folder files. Therefore it is sometimes hard to tell:
Also for example if I look up the
But the code actually looks like:
So with a little more information I would be happy to finish the task. I also would suggest to include the types into the Also a general question, is this repo still being maintained? |
Repo is maintained, my reaction time sometimes a bit high 😢 Will merge a PR with the typescript definitions file. Your starting gist looks good - we can polish the API during the PR or after merging the PR if that's ok? |
@Kaesebrot84 I see the gist is gone. Does anyone have a copy of the type definitions? I see its not on Definitely Typed yet either. |
Any updates on this? Gist is MIA and i dont see any PR for this. |
I am very sorry but I accidentally deleted the gist. |
Seems like they are unable to recover it. |
Hey, any updates on typescript definitions? |
I have switched to the mongodb package instead. It has types and full documentation. |
ok |
Hiya,
It would be extremely useful if one could import mongojs in a native typescript way, i.e.
import * as mongojs from 'mongojs'
, however, a type definition file is not available on DefinitelyTyped (yet).I am aware that there is a project called
mongots
, but that does not seem very active.Thoughts?
Cheers
The text was updated successfully, but these errors were encountered: