UNPKG

translate-maker

Version:

Lightweight translation module. Internationalize your great project.

61 lines (46 loc) 1.34 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports.default = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); var Cache = /*#__PURE__*/ function () { function Cache(options) { if (options === void 0) { options = {}; } this.options = options; } var _proto = Cache.prototype; _proto.getOptions = function getOptions() { return (0, _extends2.default)({}, this.options); }; _proto.get = function get(key) { // eslint-disable-line throw new Error('Implement method get'); }; _proto.has = function has(key) { // eslint-disable-line throw new Error('Implement method has'); }; _proto.set = function set(key, value) { // eslint-disable-line throw new Error('Implement method set'); }; _proto.clear = function clear() { // eslint-disable-line throw new Error('Implement method clear'); }; _proto.dehydrate = function dehydrate() { // eslint-disable-line throw new Error('Implement method dehydrate'); }; _proto.rehydrate = function rehydrate(state) { // eslint-disable-line throw new Error('Implement method rehydrate'); }; return Cache; }(); exports.default = Cache; //# sourceMappingURL=Cache.js.map