readme: note ts compiler option requirement

This commit is contained in:
Zack Schuster 2020-08-08 20:38:44 -07:00
parent c51ccb0826
commit ccf17f97a1
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ send emails, html and attachments (files, streams and strings) from node.js to a
- auth access to an SMTP Server
- if your service (ex: gmail) uses two-step authentication, use an application specific password
- if using TypeScript, enable [`esModuleInterop`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#support-for-import-d-from-cjs-from-commonjs-modules-with---esmoduleinterop) or [`allowSyntheticDefaultImports`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-1-8.html#support-for-default-import-interop-with-systemjs)
## EXAMPLE USAGE - text only emails