electron / remote

Bridge JavaScript objects from the main process to the renderer process in Electron.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2.0.4 fix for index.d.ts breaks access to static member on "session"

k8stone opened this issue ยท comments

commented

The exported var "session" is now defined via the line:

export var session: Main.Session;

... but this breaks access to the static member defaultSession. I've been using this definition in a local patch to 2.0.1 while waiting for the recent update, and have found it works correctly for me:

export var session: typeof Electron.session;

๐ŸŽ‰ This issue has been resolved in version 2.0.5 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€