From 8beb022b370f74c098f2afd458f7def47335d1ce Mon Sep 17 00:00:00 2001 From: Thorsten Hans Date: Wed, 9 Jan 2019 14:09:36 +0100 Subject: [PATCH] fix: use any as type for remote.process as specified in typings --- projects/ngx-electron/src/lib/electron.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }