From 0210bdf4df71799107b9d36f1762c96913f7d640 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 28 Oct 2019 15:38:44 +0100 Subject: [PATCH] fix(core): update --- ts/smartmail.classes.smartmail.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/smartmail.classes.smartmail.ts b/ts/smartmail.classes.smartmail.ts index 6e11c5e..a32d894 100644 --- a/ts/smartmail.classes.smartmail.ts +++ b/ts/smartmail.classes.smartmail.ts @@ -11,7 +11,7 @@ export interface ISmartmailOptions { */ export class Smartmail { public options: ISmartmailOptions; - public attachments: plugins.smartfile.Smartfile[]; + public attachments: plugins.smartfile.Smartfile[] = []; constructor(optionsArg: ISmartmailOptions) { this.options = optionsArg;