ts-mailer
Version:
This lib provide a class and function as singleton instance to compile a hbs template adding data and send it as an email using aws-ses. ## Send email using hbs template and aws-ses
8 lines • 341 B
TypeScript
import { ITemplatesCompiler } from './mailer.interface';
export declare class TemplateCompiler implements ITemplatesCompiler {
compileTemplate<T>(hbs: string, variable: T): string;
exists(path: string): boolean;
getTemplate(path: string): string;
}
export default TemplateCompiler;
//# sourceMappingURL=template-compiler.d.ts.map