You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
The text was updated successfully, but these errors were encountered:
k8stone
changed the title
Fix for index.d.ts breaks access to statics on "session"
2.0.4 fix for index.d.ts breaks access to static member on "session"
Jan 27, 2022
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;
The text was updated successfully, but these errors were encountered: