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
refactor: convert ipc-renderer.ts to TypeScript #19556
Conversation
6d71dab
to
6beef3b
Compare
6beef3b
to
09763ff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems fine to me to remove undocumented APIs. Maybe note it in the release notes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's ok to remove this API, it was never documented and was only ever made for internal use 🤷♂
Co-Authored-By: Samuel Attard <sattard@slack-corp.com>
Release Notes Persisted
|
@miniak We are currently using ipcRenderer.sendToAll() in our electron app at Superhuman to emulate broadcast channels. Is there a replacement and/or can we reimplement it ourselves easily? |
Description of Change
Convert
ipc-renderer.ts
to TypeScript. Also make theipc
binding typesafe.Note: there is an issue with
ipcRenderer.sendToAll
, which is not documented. We can either remove it or document it.Checklist
npm test
passesRelease Notes
Notes: Removed undocumented
ipcRenderer.sendToAll()
.