Per-OS methods such as BrowserWindow.setHiddenInMissionControl do not match TypeScript signatures #45028
Open
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
33.2.1
What operating system(s) are you using?
Windows, macOS, Other Linux
Operating System Version
n/a
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
Methods like setHiddenInMissionControl
appear to be defined according to the TypeScript definitions, but are not defined on certain platforms. Rather than leaving these undefined, all APIs should be defined on all platforms and simply no-op on ones that don't make any sense.
Actual Behavior
Calling setHiddenInMissionControl
on Windows results in method not defined, which is a Surprising Behavior
Testcase Gist URL
No response
Additional Information
No response
Metadata
Assignees
Type
Projects
Status
👍 Does Not Block Stable