mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix type declaration for CustomEmailOptions
This commit is contained in:
4
packages/email/email.d.ts
vendored
4
packages/email/email.d.ts
vendored
@@ -1,5 +1,5 @@
|
||||
import { SendMailOptions } from 'nodemailer';
|
||||
|
||||
|
||||
export namespace Email {
|
||||
/**
|
||||
* ExtraMailOptions is intentionally left empty here, but can be overridden in
|
||||
@@ -11,7 +11,7 @@ export namespace Email {
|
||||
interface ExtraMailOptions {}
|
||||
type EmailOptions = { mailComposer: MailComposer } | (ExtraMailOptions & SendMailOptions)
|
||||
|
||||
interface CustomEmailOptions extends EmailOptions {
|
||||
type CustomEmailOptions = EmailOptions & {
|
||||
packageSettings?: unknown;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user