salesforce-marketingcloud / FuelSDK-Node-REST

Node REST client w/ auth to access the Salesforce Marketing Cloud (formerly ExactTarget) API
BSD 3-Clause "New" or "Revised" License
43 stars 22 forks source link

Add type definitions #87

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-rest
> npm ERR! code E404
> npm ERR! 404 Not Found: @types/fuel-rest@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

wweaver commented 4 years ago

@Evanlec did you end up getting this support at all anywhere?

Evanlec commented 4 years ago

Did not.

-- Evan LeCompte

On Thu, Mar 12, 2020, 8:43 AM Will Weaver notifications@github.com wrote:

@Evanlec https://github.com/Evanlec did you end up getting this support at all anywhere?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/salesforce-marketingcloud/FuelSDK-Node-REST/issues/87#issuecomment-598164728, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAACSWQFZEVB7B332EAWGQDRHDKHDANCNFSM4FT53ICA .

eyesurewould commented 4 years ago

Is this repo still maintained? Last update was 7 months ago.

wweaver commented 4 years ago

The code still works for what I've been doing. Just a large learning curve. :-/ I've been struggling through it for the past few months.