You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
Reacted by Kirill Groshkov, V01dgazer, Pavel Potáček, Xiao.Wang, stefanpl, Renante Guardiano, Ben, Mario Saban, Amith Veeramachaneni, Ruslan Sovinskyy and 5 more
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.
Activity
crookedneighbor commentedon Oct 15, 2020
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 commentedon 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 commentedon Jan 26, 2021
Struggling with that too.
hollabaq86 commentedon May 3, 2022
for internal notekeeping, ticket 615
r0oto0r commentedon May 4, 2022
Would love to see a proper TS version too!
kirillgroshkov commentedon May 11, 2022
Competitor product is full-on TypeScript. Just saying.
dBianchii commentedon Mar 15, 2026
Need typescript support