Skip to content

Need better support for TypeScript #176

Open

Description

@thom801

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!

Activity

  1. crookedneighbor commented on Oct 15, 2020

    @crookedneighbor
    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.

  2. thom801 commented on Oct 15, 2020

    @thom801
    Author

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

  3. kirillgroshkov commented on Jan 26, 2021

    @kirillgroshkov

    Struggling with that too.

  4. hollabaq86 commented on May 3, 2022

    @hollabaq86

    for internal notekeeping, ticket 615

  5. r0oto0r commented on May 4, 2022

    @r0oto0r

    Would love to see a proper TS version too!

  6. kirillgroshkov commented on May 11, 2022

    @kirillgroshkov

    Competitor product is full-on TypeScript. Just saying.

  7. pinned this issue on Jan 26, 2023
  8. dBianchii commented on Mar 15, 2026

    @dBianchii

    Need typescript support

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions