"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MustacheService = void 0;
const tslib_1 = require("tslib");
const core_1 = require("@loopback/core");
const Mustache = tslib_1.__importStar(require("mustache"));
let MustacheService = class MustacheService {
    constructor() { }
    setInCache(template) {
        Mustache.parse(template);
    }
    parse(template, object, templates = {}) {
        return Mustache.render(template, object, templates);
    }
};
MustacheService = tslib_1.__decorate([
    core_1.injectable({ scope: core_1.BindingScope.SINGLETON }),
    tslib_1.__metadata("design:paramtypes", [])
], MustacheService);
exports.MustacheService = MustacheService;
//# sourceMappingURL=mustache.service.js.map