insomnia/packages/insomnia-app/app/electron.d.ts
Dimitri Mitropoulos 25520154a5
Minor Electon-related cleanup (#3957)
* adds (now available) electron types

* MenuItemConstructorOptions.selector module augmentation

* updates note on allowRendererProcessReuse with more up-to-date info

* separates and formats comments that were intended to be separate

if you check out the commit where these were created, for some reason the comment for the `loadURL` line was put under the line of interest, and over time the space between the comment blocks was removed - making it look like the last line of the comment is related to the same thing (it, apparently, is not).

* use createRef for ResponseWebView
2021-09-01 20:48:05 +00:00

7 lines
214 B
TypeScript

declare module 'electron' {
export interface MenuItemConstructorOptions {
// see: https://github.com/electron/electron/issues/30719 for why this module augmentation is necessary.
selector?: string;
}
}