Skip to content

Conversation

@andersk
Copy link
Contributor

@andersk andersk commented Feb 24, 2022

Fixes #110.

Fixes electron#110.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
ShareMenu and webFrameMain are new in Electron 12.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@andersk andersk changed the title fix: types for nativeImage, webContents, webFrameMain again Fix types for nativeImage, webContents, webFrameMain again Mar 1, 2022
@andersk
Copy link
Contributor Author

andersk commented Mar 1, 2022

Added some commits that, in combination with #113, will let us catch future index.d.ts typing errors in CI across all supported Electron versions.

This was previously excluded (electron#48) because of CI failures due to
index.d.ts referencing files in dist.  Those references were later
removed (electron#58), so we can include it again to have CI verify that
index.d.ts type checks.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@andersk
Copy link
Contributor Author

andersk commented Mar 4, 2022

@nornagon Do I need to do anything to help get this fix merged?

@nornagon nornagon changed the title Fix types for nativeImage, webContents, webFrameMain again fix: types for nativeImage, webContents, webFrameMain again Mar 15, 2022
@nornagon nornagon merged commit 084bdff into electron:main Mar 15, 2022
@electron-bot
Copy link

🎉 This PR is included in version 2.0.8 🎉

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.

Release 2.0.5 fails to compile

3 participants