From 802469279025094ca3f3e121c73cb4148ea339d8 Mon Sep 17 00:00:00 2001 From: poseidonCore Date: Sat, 27 Apr 2019 05:26:19 +1000 Subject: [PATCH] Support priority on Mail.Options (#34720) * Support priority on Mail.Options As stated in this file: https://github.com/nodemailer/nodemailer/blob/master/lib/mailer/mail-message.js * coding style errors Error in nodemailer Error: /home/travis/build/DefinitelyTyped/DefinitelyTyped/types/nodemailer/lib/mailer/index.d.ts:140:1 ERROR: 140:1 no-trailing-whitespace trailing whitespace ERROR: 141:19 typedef-whitespace expected onespace after colon in property-declaration ERROR: 141:19 whitespace missing whitespace --- types/nodemailer/lib/mailer/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/nodemailer/lib/mailer/index.d.ts b/types/nodemailer/lib/mailer/index.d.ts index ece591e30e..7b227da36f 100644 --- a/types/nodemailer/lib/mailer/index.d.ts +++ b/types/nodemailer/lib/mailer/index.d.ts @@ -137,6 +137,7 @@ declare namespace Mail { dkim?: DKIM.Options; /** method to normalize header keys for custom caseing */ normalizeHeaderKey?(key: string): string; + priority?: "high"|"normal"|"low"; } type PluginFunction = (mail: MailMessage, callback: (err?: Error | null) => void) => void;