Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
k8stone opened this issue Jan 27, 2022 · 1 comment · Fixed by #106
Closed

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

k8stone opened this issue Jan 27, 2022 · 1 comment · Fixed by #106
Labels

Comments

@k8stone
Copy link

k8stone commented 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;

@k8stone 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
@electron-bot
Copy link

🎉 This issue has been resolved in version 2.0.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants