appwrite / sdk-for-node

[READ-ONLY] Official Appwrite Node.js SDK 🟢

Home Page:https://appwrite.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing typescript support

or313 opened this issue · comments

After trying to work with this sdk in a typescript based node.js project i found out that this node.js SDK is missing typescript support.
That might happen because its missing the index.d.ts file we have added to the client SDK a few weeks ago.

assigned it to me i will add ts support for this lib

@jagdishjadeja got you assigned

Any progress?

@eldadfux if no one is working can I take up this issue??

@jagdishjadeja any progress? @Kuljeet-123 still interested?

@eldadfux Do I add the typing directly to this repo or is it supposed to be in the template of the SDK generator?

@privateOmega It should be part of the SDK generator, but if that seems a bit more complex, you submit a PR to this repo and I could easily convert it to the SDK-Generator.

@eldadfux Great! I had a look at the SDK generator and it does look super complex to me, so I guess I will add the PR for typings to this repo. Thanks for the timely reply. Please assign this to me.

@privateOmega let me know if I can help in any way. You can also join us on Discord: https://appwrite.io/discord

I think the typing declarations came from browser SDK.

E.g. createFile example shows file being a ReadStream but the definition says File

Closing this as there's been no new activity for long time. Feel free to reopen the issue if problem still exist.