Skip to content

Commit

Permalink
fix sendmailoptions interface
Browse files Browse the repository at this point in the history
  • Loading branch information
cdiaz committed Apr 9, 2019
1 parent bbaf33e commit 063e910
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lib/interfaces/send-mail-options.interface.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { SendMailOptions } from 'nodemailer';

export interface ISendMailOptions extends SendMailOptions {
to?: string;
from?: string;
subject?: string;
text?: string;
html?: string;
template?: string,
context?: { [name: string]: any; }
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nest-modules/mailer",
"version": "1.1.2",
"version": "1.1.3",
"description": "A mailer module for Nest framework (node.js)",
"main": "dist/index.js",
"types": "dist/index",
Expand Down

0 comments on commit 063e910

Please sign in to comment.