Browse Source

Updated to handle breaking change from eletron-store-v11

renovate/electron-store-11.x
Jared McCannon 5 days ago
parent
commit
de8dc9789d
No known key found for this signature in database
GPG Key ID: CF03F3DB01CE96A6
  1. 3
      jslib/electron/src/services/electronStorage.service.ts
  2. 2
      tsconfig.json

3
jslib/electron/src/services/electronStorage.service.ts

@ -1,12 +1,11 @@ @@ -1,12 +1,11 @@
import * as fs from "fs";
import { ipcMain } from "electron";
import Store from "electron-store";
import { StorageService } from "@/jslib/common/src/abstractions/storage.service";
import { NodeUtils } from "@/jslib/common/src/misc/nodeUtils";
// eslint-disable-next-line
const Store = require("electron-store");
export class ElectronStorageService implements StorageService {
private store: any;

2
tsconfig.json

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
},
"compilerOptions": {
"pretty": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"noImplicitAny": true,
"target": "ES2016",
"module": "ES2020",

Loading…
Cancel
Save