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

Typing fixes: electron/main re-exports, nativeImage, webContents, ShareMenu, webFrameMain #109

Merged
merged 3 commits into from
Feb 21, 2022

Conversation

andersk
Copy link
Contributor

@andersk andersk commented Feb 18, 2022

No description provided.

These are types, not variables.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Fixes errors like

app/renderer/js/tray.ts:118:22 - error TS2576: Property
'createFromBuffer' does not exist on type 'NativeImage'. Did you mean
to access the static member 'NativeImage.createFromBuffer' instead?

118   return nativeImage.createFromBuffer(pngData, {
                         ~~~~~~~~~~~~~~~~

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@nornagon nornagon merged commit 7c61752 into electron:main Feb 21, 2022
@electron-bot
Copy link

🎉 This PR is included 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 this pull request may close these issues.

3 participants