From ccf17f97a1018440ea427a2e8ae5325f80b3670f Mon Sep 17 00:00:00 2001 From: Zack Schuster Date: Sat, 8 Aug 2020 20:38:44 -0700 Subject: [PATCH] readme: note ts compiler option requirement --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 77e8f85..16350e9 100644 --- a/README.md +++ b/README.md @@ -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