salesforce-marketingcloud / FuelSDK-Node-SOAP

Node SOAP client w/ auth to access the Salesforce Marketing Cloud (formerly ExactTarget) API
http://salesforce-marketingcloud.github.io/FuelSDK-Node-SOAP/
BSD 3-Clause "New" or "Revised" License
43 stars 52 forks source link

Add type definitions #117

Open Evanlec opened 6 years ago

Evanlec commented 6 years ago

For those of us using Typescript or similar, it would be nice if there were some type definitions for this library.

I looked for a types package in NPM under the standard @types namespace but it appears none has been created:

$ npm install -D @types/fuel-soap
> npm ERR! code E404
> npm ERR! 404 Not Found: @types/fuel-soap@latest
> ...
vernak2539 commented 6 years ago

Thanks for pointing this out. At the moment, this doesn't support TS (obviously it will work though). A PR would be welcome to add the typings detailed here