mirror of
https://github.com/wassname/talk.git
synced 2026-07-12 04:25:46 +08:00
fix jsdoc warnings (#2750)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user