From 2f216035fd46070aa5828be445262ea6bef6f926 Mon Sep 17 00:00:00 2001 From: SomaticIT Date: Mon, 15 Sep 2014 19:16:13 +0200 Subject: [PATCH] Update tests to match definitions improvements --- sendgrid/sendgrid-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sendgrid/sendgrid-tests.ts b/sendgrid/sendgrid-tests.ts index 17a48dd995..e7d34feb08 100644 --- a/sendgrid/sendgrid-tests.ts +++ b/sendgrid/sendgrid-tests.ts @@ -8,7 +8,7 @@ /// import sg = require("sendgrid"); -var sendgrid: Sendgrid = sg("api_user", "api_key"); +var sendgrid = sg("api_user", "api_key"); /* * Simple Usage @@ -238,7 +238,7 @@ var sendgrid2 = sg('username', 'password', { "uri": "http://sendgrid.org:80/send */ var sendgrid3 = sg('username', 'password', { proxy: "http://localproxy:3128" }); // or -var https = require('https'); +import https = require('https'); var agent = new https.Agent(); agent.maxSockets = 500; // Set Max Sockets to 500 var sendgrid4 = sg('username', 'password', { web: { pool: agent } });