UNPKG

@netology-group/account

Version:
16 lines (10 loc) 667 B
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } var AbstractStorage = function AbstractStorage() { _classCallCheck(this, AbstractStorage); _defineProperty(this, "setItem", void 0); _defineProperty(this, "getItem", void 0); _defineProperty(this, "removeItem", void 0); }; export { AbstractStorage as default }; export { AbstractStorage };