DefinitelyTyped/types/nodemailer/lib
Piotr Roszatycki 72d7c0bcf1 nodemailer: callback for connect has err argument (#28796)
`connect` method has an `err` as an optional first argument.

More callbacks definition was fixed: if it is just a first and only argument then is optional (`undefined` rather than `null)

- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [x] Add or edit tests to reflect the change. (Run with `npm test`.)
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).

If changing an existing definition:
- [x] Increase the version number in the header if appropriate.
- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
2018-09-13 16:40:38 -07:00
..
fetch
mailer
mime-funcs
sendmail-transport
addressparser.d.ts
base64.d.ts
dkim.d.ts
json-transport.d.ts
mail-composer.d.ts
mime-node.d.ts
qp.d.ts
ses-transport.d.ts
shared.d.ts
smtp-connection.d.ts nodemailer: callback for connect has err argument (#28796) 2018-09-13 16:40:38 -07:00
smtp-pool.d.ts
smtp-transport.d.ts
stream-transport.d.ts
well-known.d.ts
xoauth2.d.ts