misc/ Upgrade eslint version
This commit is contained in:
@@ -15,10 +15,6 @@ export class ElectronService {
|
||||
childProcess: typeof childProcess;
|
||||
fs: typeof fs;
|
||||
|
||||
get isElectron(): boolean {
|
||||
return !!(window && window.process && window.process.type);
|
||||
}
|
||||
|
||||
constructor() {
|
||||
// Conditional imports
|
||||
if (this.isElectron) {
|
||||
@@ -41,4 +37,8 @@ export class ElectronService {
|
||||
// https://www.electronjs.org/docs/latest/api/ipc-renderer#ipcrendererinvokechannel-args
|
||||
}
|
||||
}
|
||||
|
||||
get isElectron(): boolean {
|
||||
return !!(window && window.process && window.process.type);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user