You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch release change is actually a bug/breaking change.
Mail.Options includes from?: string | Address;, to?: string | Address | Array<string | Address>;, etc... but this change locks the options down so that only strings are accepted.
Before this patch release I had code with from: { name: 'My Site', address: this.confirmEmail }, which after upgrading now instead emits a TypeScript error of Type '{ name: string; address: string; }' is not assignable to type 'string'.
The text was updated successfully, but these errors were encountered:
This patch release change is actually a bug/breaking change.
Mail.Options
includesfrom?: string | Address;
,to?: string | Address | Array<string | Address>;
, etc... but this change locks the options down so that only strings are accepted.Before this patch release I had code with
from: { name: 'My Site', address: this.confirmEmail },
which after upgrading now instead emits a TypeScript error ofType '{ name: string; address: string; }' is not assignable to type 'string'.
The text was updated successfully, but these errors were encountered: