Thirteen of the sixteen types in our Electron UI are second copies, and one field in them exists nowhere else
DEV Community
Thirteen of the sixteen types in our Electron UI are second copies, and one field in them exists nowhere else
Our renderer talks to the main process over HTTP, so TypeScript cannot span the boundary and every shape is declared twice. I diffed all ten shared names, found six exact matches, three deliberate narrowings, and one optional field that nothing writes and nothing reads.
0 comments
No comments yet.