src/browser-storage/services/browser-storage.util.js
function getInitialBrowserStorageState() {
    var memorizedFile = getConfigFromLS()[browser_storage_config_1.browserStorageConfig.DB_INITIAL_KEY];
    return memorizedFile.map(function (memItem) {
        var browserStorageValue = window[memItem.storageType]['getItem'](getFullBSKey(memItem.key));
        if (browserStorageValue) {
            return Object.assign({}, memItem, { value: browserStorageValue });
        }
        else {
            return memItem;
        }
    });
}
function getInitialBrowserStorageState() {
    var memorizedFile = getConfigFromLS()[browser_storage_config_1.browserStorageConfig.DB_INITIAL_KEY];
    return memorizedFile.map(function (memItem) {
        var browserStorageValue = window[memItem.storageType]['getItem'](getFullBSKey(memItem.key));
        if (browserStorageValue) {
            return Object.assign({}, memItem, { value: browserStorageValue });
        }
        else {
            return memItem;
        }
    });
}
function getInitialBrowserStorageState ( ) { var memorizedFile = getConfigFromLS ( ) [ browser_storage_config_1 . browserStorageConfig . DB_INITIAL_KEY ] ; return memorizedFile . map ( function ( memItem ) { var browserStorageValue = window [ memItem . storageType ] [ 'getItem' ] ( getFullBSKey ( memItem . key ) ) ; if ( browserStorageValue ) { return Object . assign ( { } , memItem , { value : browserStorageValue } ) ; } else { return memItem ; } } ) ; }
go through memorized file config and get all separate browser storage values from keys
go through memorized file config and get all separate browser storage values from keys