diff --git a/projects/ngx-electron/src/lib/electron.service.ts b/projects/ngx-electron/src/lib/electron.service.ts index 371b52b..6355472 100644 --- a/projects/ngx-electron/src/lib/electron.service.ts +++ b/projects/ngx-electron/src/lib/electron.service.ts @@ -48,7 +48,7 @@ export class ElectronService { return this.electron ? this.electron.crashReporter : null; } - public get process(): NodeJS.Process { + public get process(): any { return this.remote ? this.remote.process : null; }