Commit Graph
18 Commits
Author SHA1 Message Date
Andy Hanson 21065fcb6b Enable "esModuleInterop" in all tsconfigs 2018-02-05 09:49:31 -08:00
EreckGordon c51ad6b34b import and use Url properly (#23225)
* import and use `Url` properly

currently imports a `URL` from 'url' library, except that `URL` does not exist; however `Url` does exist. 

Discovered upon trying to run tsc and getting the following error message: `node_modules/@types/nodemailer/lib/mailer/index.d.ts(6,10): error TS2305: Module '"url"' has no exported member 'URL'.`

As soon as I replaced `URL` with `Url` tsc correctly compiled.

* missed one :o
2018-01-30 11:17:14 -08:00
Andy 30957ad3d8 Remove // tslint:disable comments (#22198) 2017-12-14 13:24:24 -08:00
Piotr Roszatycki fb8bac85f5 SMTPError is a rather an interface than real class 2017-11-10 14:37:25 +01:00
Piotr Roszatycki 8a10f48cbe SMTPError.responseCode is number 2017-11-10 14:19:22 +01:00
Piotr Roszatycki 1b917b5452 Nodemailer: update for nodemailer 4.3 (#21378)
* addressparser returns array of addresses

* normalize method for mailer
2017-11-09 14:16:40 -08:00
Andy 19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy 097d2acf71 Miscellaneous lint fixes (#20849) 2017-10-22 15:22:50 -07:00
Piotr Roszatycki a41f8d2ddd nodemailer: version 4.2 (#20754) 2017-10-20 08:21:44 -07:00
Piotr Roszatycki fac8421264 Type definitions for Nodemailer 4.1.3 (#20443) 2017-10-17 11:57:31 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy 0537c1fb27 Add "private": true to every package.json (#19483) 2017-08-31 08:02:56 -07:00
Andy a828ea02ac Normalize tsconfig.jsons (#19447) 2017-08-30 08:15:31 -07:00
Andy 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Alan Savage 42af8aa75a Add typings for createTransport with smtp connection url (#18608)
* Add function to createTransport which takes a SMTP connection url

* Corrected issue with file in wrong directory.

* Add supporting test

Add test for createTransporter with smtp connection url

* Add additional unit test

Test the override with the options parameter
2017-08-03 14:36:53 -07:00
Ben Windsor a7c4d07798 Update SES nodemailer typings to match current implementation (#17888)
* Update ses transport types to match current nodemailer

* Updated tests

* Updated version number

* Update SES test to match new defintion

* Set noemit to true in tsconfig

* Change version to only have x.x

* Added import aws-sdk to ses tests

* Added package.json for aws dependency

* Add missing semicolon
2017-07-17 10:39:39 -07:00
Andy Hanson c15e214e5a bluebird: Make Thenable an alias to the builtin PromiseLike. 2017-06-16 09:02:18 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00