Skip to content

Commit

Permalink
Merge pull request #309 from SPARTAN563/fix/typescript-empty-request
Browse files Browse the repository at this point in the history
Allow emptyRequest() to be called with a request object
  • Loading branch information
thinkingserious authored Oct 4, 2016
2 parents 5caba17 + bf8059d commit f04577c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ declare namespace SendGrid {
export class SendGrid {
constructor(apiKey: string, host?: string, globalHeaders?: { [header: string]: string; });

emptyRequest(): SendGrid.Rest.Request;
emptyRequest(data?: SendGrid.Rest.Request): SendGrid.Rest.Request;

API(request: SendGrid.Rest.Request, callback: (response: SendGrid.Rest.Response) => void): void;
}
Expand Down

0 comments on commit f04577c

Please sign in to comment.