Skip to content

Commit

Permalink
docs: add note for typescript users.
Browse files Browse the repository at this point in the history
  • Loading branch information
narekhovhannisyan committed Aug 22, 2023
1 parent a347d6e commit 2457c60
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,23 @@ client

### Nodemailer Transport

***[Nodemailer](https://www.npmjs.com/package/nodemailer) needed as a dependency.***
> NOTE: [Nodemailer](https://www.npmjs.com/package/nodemailer) is needed as a dependency.
```sh
yarn add nodemailer

# or, if you are using NPM:
npm install --s nodemailer
```

If you're using Typescript, install `@types/nodemailer` as a `devDependency`.

```sh
yarn add --dev @types/nodemailer

# or, if you are using NPM:
npm install --s-dev @types/nodemailer
```

You can provide Mailtrap specific keys like `category`, `customVariables`, `templateUuid` and `templateVariables`.

Expand Down

0 comments on commit 2457c60

Please sign in to comment.