diff options
author | Benjamin Pannell <admin@sierrasoftworks.com> | 2016-09-29 23:54:06 +0100 |
---|---|---|
committer | Benjamin Pannell <admin@sierrasoftworks.com> | 2016-09-29 23:54:06 +0100 |
commit | 8003ad1173d23cd4ac7a8417df76c166312cd56e (patch) | |
tree | 3eb85bf33f5ffc93ea2c72229463f0e8f39dcc16 | |
parent | 5caba17e4e13cd1cb5cd329e757cec320c8ffde0 (diff) | |
download | sendgrid-nodejs-8003ad1173d23cd4ac7a8417df76c166312cd56e.zip sendgrid-nodejs-8003ad1173d23cd4ac7a8417df76c166312cd56e.tar.gz sendgrid-nodejs-8003ad1173d23cd4ac7a8417df76c166312cd56e.tar.bz2 |
feat: Add support for promises to the TypeScript definitions file
-rw-r--r-- | index.d.ts | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -466,6 +466,7 @@ declare namespace SendGrid { emptyRequest(): SendGrid.Rest.Request; API(request: SendGrid.Rest.Request, callback: (response: SendGrid.Rest.Response) => void): void; + API(request: SendGrid.Rest.Request): PromiseLike<SendGrid.Rest.Response>; } } |