Skip to content

Commit 2f21603

Browse files
author
SomaticIT
committed
Update tests to match definitions improvements
1 parent 9953dfe commit 2f21603

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sendgrid/sendgrid-tests.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
///<reference path="sendgrid.d.ts" />
99

1010
import sg = require("sendgrid");
11-
var sendgrid: Sendgrid = sg("api_user", "api_key");
11+
var sendgrid = sg("api_user", "api_key");
1212

1313
/*
1414
* Simple Usage
@@ -238,7 +238,7 @@ var sendgrid2 = sg('username', 'password', { "uri": "http://sendgrid.org:80/send
238238
*/
239239
var sendgrid3 = sg('username', 'password', { proxy: "http://localproxy:3128" });
240240
// or
241-
var https = require('https');
241+
import https = require('https');
242242
var agent = new https.Agent();
243243
agent.maxSockets = 500; // Set Max Sockets to 500
244244
var sendgrid4 = sg('username', 'password', { web: { pool: agent } });

0 commit comments

Comments
 (0)