shrimpy-node-temp
Version:
Client for the Shrimpy API
16 lines • 599 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var decimal_js_1 = require("decimal.js");
var DecimalDtoConverter = /** @class */ (function () {
function DecimalDtoConverter() {
}
DecimalDtoConverter.prototype.convertFromDto = function (dto) {
return new decimal_js_1.default(dto);
};
DecimalDtoConverter.prototype.convertToDto = function (model) {
return model.toString();
};
return DecimalDtoConverter;
}());
exports.DecimalDtoConverter = DecimalDtoConverter;
//# sourceMappingURL=decimal-dto-converter.js.map