"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var localforage_driver_commons_1 = require("localforage-driver-commons"); var Store_1 = require("./Store"); function _initStorage(options) { var opts = options ? localforage_driver_commons_1.clone(options) : {}; var kp = localforage_driver_commons_1.getKeyPrefix(opts, this._defaultConfig); var store = Store_1.Store.resolve(kp); this._dbInfo = opts; this._dbInfo.serializer = localforage_driver_commons_1.serialiser; this._dbInfo.keyPrefix = kp; this._dbInfo.mStore = store; return Promise.resolve(); } exports._initStorage = _initStorage; //# sourceMappingURL=_initStorage.js.map