-
Notifications
You must be signed in to change notification settings - Fork 68
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
[Documentation & Readme] Typescript definition file for orientjs , orientjs.d.ts available now #184
Comments
Hi @maggiolo00 Thanks . |
Hi @maggiolo00 , the new orientjs features in #234 , #233 , #232 needs to be update documentation . |
@saeedtabrizi what is missing in this issue? |
@lvca it's about documentation for added features to orientjs.
|
@lvca i recently update typescript .d.ts definition file for the latest orientjs features. |
Why not bundle types with the package so they won't have to be copied to DefinitelyTyped and installed separately? |
@andy-ms It's good idea for ease of use in typescript . but for integration with |
You should be able to |
@andy-ms I agree with you completely . If @maggiolo00 inform to me about updating definition for v3.0.0 , so i can update package.json to use the bundled definition file for typescript users . |
Hi @wolf4ood , may i know your plan for publish v3 release date ? I want to update typescript definition file as we discussed here . |
we are doing bunch of beta releases. I think the final release will come the next week. Do you need help with the typescript definition for the new APIs? Thanks |
Hi @wolf4ood Thanks |
Hi @lvca , @wolf4ood |
Hi @lvca , @wolf4ood |
Hi, @saeedtabrizi. The typings are missing the extends relationship between ODatabaseTransaction and OTransaction located at database-tx.js line 92. Any reason why? Thanks! |
Hi @diegonc |
based on orientechnologies/orientjs#184 (comment) i just a fix for it. Thanks @diegonc @wolf4ood, @lvca
based on orientechnologies#184 (comment) i just a fix for it. Thanks @diegonc @wolf4ood, @lvca
Hi
after two years working on some projects with typescript and nodejs with orientdb , i produce a definition file for orientjs and its availabale in PR DefinitelyTyped/DefinitelyTyped#9813 (comment) now.
so the nodejs typescript developers can use orientjs definition file in their projects easily .
for using typings in your projects
npm install -g typings
typings search orientjs
typings install dt~orientjs --global
Note : if you have error on bluebird dependency you can run
typings install dt~bluebird --global
andtypings install dt~node --global
.you can find more info at http://definitelytyped.org/ .
EDIT
In the newer version of npm and according to https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/ you can easily install definition files from npm repository by following command :
execute in Terminal :
npm install orientjs @types/orientjs --save
in your project path .Welcome to your comments .
Regards
Saeed Tabrizi
The text was updated successfully, but these errors were encountered: