First off this is a great project, it wraps knex just enough.
I am using this project in a project written in TypeScript. Is there a definition file or plans to create a definition file for the Objection.js library? Thanks.
We are using typescript in one of our projects at Vincit, and we have written some typings for that project, but we are not any good at it :smile:. If you have, or want to write, the typings I would be happy to accept a pull request.
Ha, I am not any good at it either. I've started one here https://github.com/dotDeeka/objection-d-ts that I can reference in my project. If I actually get it right I will certainly submit a PR for it.
Hoping to use this in a Typescript project one day, will keep an eye on this issue! Would go along well with the amazing documentation so far.
The typings, if and when added should be referenced from project.json
see: http://www.typescriptlang.org/docs/handbook/typings-for-npm-packages.html
also this may be of interest:
https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/
Thanks for this great project!
Any progress on this issue?
Not on my part. @dotDeeka ?
No not really @koskimas . I have that repo in my account I've been using, I'm pretty sure its no where near complete. If anyone out there is interested in trying to make it more complete I'd certainly accept a PR, or even give what I have to someone if they're serious about owning it?
+1
Hello,
is there some new news about it?
@4nxiety There hasn't been anyone willing to own that part and keep updating typings when project evolves.
oh damn :/
@dotDeeka, @koskimas: my PR that adds typings, #239, is ready for review.
Fixed by #255
Awesome @mceachen, thanks for stepping up on this.
Any chance we'll get this as part of 0.7 ?