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

feat: Add support for promises to the TypeScript definitions file #308

Merged

Conversation

notheotherben
Copy link
Contributor

This should fix #307 by adding an overload definition for the sg.API() method which returns a promise when called without a second parameter (callback).

notheotherben added a commit to notheotherben/sendgrid-nodejs that referenced this pull request Oct 4, 2016
@thinkingserious thinkingserious added type: community enhancement feature request not on Twilio's roadmap status: cla signed labels Oct 4, 2016
@thinkingserious thinkingserious merged commit 45136e4 into sendgrid:master Oct 5, 2016
shkabo pushed a commit to shkabo/sendgrid-nodejs that referenced this pull request Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: community enhancement feature request not on Twilio's roadmap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

incorrect typescript type definition file
2 participants