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 typescript support #82

Open
Shahaed opened this issue Oct 20, 2021 · 3 comments
Open

Need typescript support #82

Shahaed opened this issue Oct 20, 2021 · 3 comments

Comments

@Shahaed
Copy link

Shahaed commented Oct 20, 2021

This sdk should be typed like any other modern node package. Not having this feature will force our team switch to Stripe or some other service.

@adzcai
Copy link

adzcai commented Dec 24, 2021

I agree with this. I'm working on a team that's using authorize.net for a relatively large project and would strongly benefit from typings. They shouldn't be too hard to generate from the existing JavaScript code. I'm currently considering adding types through the DefinitelyTyped project, which would then be theoretically installed via npm install --save-dev @types/authorizenet, since it seems like this project isn't as actively maintained. I'll update this thread if I make any progress.

EDIT: never mind -- it's not in DefinitelyTyped, but there's this repo which has types for this package:

https://github.com/brrinta/authorizenet-ts

@PatrickEGorman
Copy link

Types were created around a year ago
npm install --save @types/authorizenet

https://www.npmjs.com/package/@types/authorizenet

@Shahaed
Copy link
Author

Shahaed commented Feb 27, 2023

@PatrickEGorman

Types were created around a year ago npm install --save @types/authorizenet

https://www.npmjs.com/package/@types/authorizenet

That was created by me and is using any pretty much everywhere. Need the actual AuthorizeNet team to maintain/make it actually match the correct types.

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

No branches or pull requests

3 participants