UNPKG

1.14 kBJavaScriptView Raw
1var __extends = (this && this.__extends) || (function () {
2 var extendStatics = Object.setPrototypeOf ||
3 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4 function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5 return function (d, b) {
6 extendStatics(d, b);
7 function __() { this.constructor = d; }
8 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9 };
10})();
11import { Injectable } from '@angular/core';
12import { STORAGE } from '../enums/storage';
13import { WebStorageService } from './webStorage';
14var LocalStorageService = (function (_super) {
15 __extends(LocalStorageService, _super);
16 function LocalStorageService() {
17 return _super.call(this, STORAGE.local) || this;
18 }
19 LocalStorageService.decorators = [
20 { type: Injectable },
21 ];
22 /** @nocollapse */
23 LocalStorageService.ctorParameters = function () { return []; };
24 return LocalStorageService;
25}(WebStorageService));
26export { LocalStorageService };
27//# sourceMappingURL=localStorage.js.map
\No newline at end of file