nest-box
Version:
A lot of modules for NestJS in this box!
13 lines • 402 B
TypeScript
import { Transporter } from 'nodemailer';
import { EmailModuleOptions } from './email.interface';
export declare class EmailService {
private config;
transporter: Transporter;
constructor(config: EmailModuleOptions);
sendMain({ to, subject, html }: {
to: string;
subject: string;
html: string;
}): Promise<void>;
}
//# sourceMappingURL=email.service.d.ts.map