2.0.4 fix for index.d.ts breaks access to static member on "session"
k8stone opened this issue ยท 1 comments
k8stone 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;
electron-bot commented
๐ This issue has been resolved in version 2.0.5 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐