-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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 Support? #122
Comments
Hey @CoLdAs1cE thanks for the patience - end of month so we've been busy releasing. Surprisingly you're the first person to ask for this. We're trying to ship fast, so we've been very focused on some of the bigger features. Regardless, I think this is a good idea. I'll keep it open and see if anyone in the community is keep to contribute, but if it isn't picked up, we can add it soon Thanks for taking the time to stop in! |
^^, i did search around but didn't see any issue for it or any solution. So i tough since u guys are actively updating, this was not noticed or in any ones thoughts at all. So since many use typescript i though i should let you guys know :) |
I wouldn't doing this for the supabase-js library, I've been using it a fair bit. |
That would be amazing @hgranthorner, thanks for offering. If you need any help just let us know. Happy to add you to our slack if you have anything to discuss |
https://github.com/manifoldco/swagger-to-ts postgrest open-api spec to TS shared by @thorsten-stripe |
adding link to Supabase-js source for anyone willing to take this on |
Might also be helpful to look at how knex.js is doing this: |
@CoLdAs1cE @hgranthorner we've started work on type definitions here that should be in a pretty usable state. We'd love for you to test it out and provide feedback. You can just copy the content from the Feel free to provide feedback directly on the PR: supabase/supabase-js#18. Thanks :) Here the preliminary docs: https://deploy-preview-141--supabase.netlify.app/docs/library/getting-started/#usage-with-typescript |
i only use typescript,
there was no d.ts included and no @types in npm,
is it possible to add?
The text was updated successfully, but these errors were encountered: