sdk-node
sdk-node copied to clipboard
Need typescript support
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.
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
Types were created around a year ago
npm install --save @types/authorizenet
https://www.npmjs.com/package/@types/authorizenet
@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.