Skip to content

basalt / mailer/src / definePreview

Function: definePreview() ​

> definePreview<T>(preview): MailPreview<T>

Defined in: mailer/src/preview.ts:20

Identity helper that keeps data type-checked against the mail's schema.

Type Parameters ​

T ​

T

Parameters ​

preview ​

MailPreview<T>

Returns ​

MailPreview<T>

Released under the MIT License.