Skip to content

Commit

Permalink
fix: Allow emptyRequest() to be called with a request object
Browse files Browse the repository at this point in the history
Fixes an issue raised in #308
  • Loading branch information
notheotherben committed Oct 4, 2016
1 parent 5caba17 commit bf8059d
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 bf8059d

Please sign in to comment.