fix jsdoc warnings (#2750)

This commit is contained in:
Tessa Thornton
2019-12-12 11:41:57 -05:00
committed by GitHub
parent 3358cef433
commit 116d3c0c81
9 changed files with 32 additions and 15 deletions
@@ -85,9 +85,9 @@ export default class MailerContent {
* generateHTML will generate the HTML for a template and optionally cache
* the compiled template based on the configured environment.
*
* @param options configuration for generating HTML based on the email
* template.
*/
* @param tenant the tenant
* @param template the HTML email template
**/
public async generateHTML(
tenant: Tenant,
template: EmailTemplate
@@ -94,6 +94,7 @@ function createMessageTranslator(i18n: I18n) {
* translateMessage will translate the message to the specified locale as well
* a juice the contents.
*
* @param tenant the tenant
* @param templateName the name of the template to base the translations off of
* @param locale the locale to translate the email content into
* @param fromAddress the address that is sending the email (from the Tenant)