Module augmentation - Typesafe Electron IPC
Hey 
I want to extend the
The problem is, I can't figure out how to override the electron module type defintions without running into
I want to extend the
Electron type definitions to make the channels for IPC communication more typesafe. For this, I'll need to override the types of the class BrowserWindow. Only the types, the underlying JavaScript will be the same.The problem is, I can't figure out how to override the electron module type defintions without running into
Duplicate identifier or Cannot redeclare block-scoped variable.