Skip to content
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

Need better support for TypeScript #176

Open
thom801 opened this issue Oct 15, 2020 · 6 comments
Open

Need better support for TypeScript #176

thom801 opened this issue Oct 15, 2020 · 6 comments

Comments

@thom801
Copy link

thom801 commented Oct 15, 2020

I have sifted through issues in this repo regarding TypeScript type support. Looking into it I've found that the Braintree team has commented on each saying "We don't support or maintain @types/braintree. As a developer working in a TypeScript environment, I can tell you that this is causing us major issues in terms of working with Braintree. The type definitions that exist so far are extremely spotty and flawed which is obviously problematic for any TypeScript team.

I do realize that @types/braintree was started and created by the community. However, for a company that is trying to support Node.js, Typescript support seems like something that Braintree really needs to do. I know this is not the best avenue to raise this issue, but I wanted to at least ask the dev team directly why they are taking the stance of not maintaining types when it is sorely needed and is causing big headaches for TS developers.

So what I really want to ask: Does Braintree's dev team plan to support TypeScript? If so, when can we expect that?

Thanks in advance!

@crookedneighbor
Copy link
Contributor

We do plan to support it, we've already moved over many of our client side JS modules to typescript. Right now we're focussing on developing the next major version of the web sdk, written in Typescript. After that, we can focus on the server side node sdk.

I do not have a solid timeline right now for that.

@thom801
Copy link
Author

thom801 commented Oct 15, 2020

Ok thank you. Not the answer I had hoped for but I appreciate you responding @crookedneighbor. Good luck with the TS refactor.

@kirillgroshkov
Copy link

Struggling with that too.

@hollabaq86
Copy link

for internal notekeeping, ticket 615

@r0oto0r
Copy link

r0oto0r commented May 4, 2022

Would love to see a proper TS version too!

@kirillgroshkov
Copy link

Competitor product is full-on TypeScript. Just saying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants