test: remove a few casts to any (#39713)
This commit is contained in:
parent
c5b20eeb13
commit
d76a35afe4
7 changed files with 29 additions and 21 deletions
2
typings/internal-electron.d.ts
vendored
2
typings/internal-electron.d.ts
vendored
|
@ -32,6 +32,8 @@ declare namespace Electron {
|
|||
_setEscapeTouchBarItem: (item: TouchBarItemType | {}) => void;
|
||||
_refreshTouchBarItem: (itemID: string) => void;
|
||||
_getWindowButtonVisibility: () => boolean;
|
||||
_getAlwaysOnTopLevel: () => string;
|
||||
devToolsWebContents: WebContents;
|
||||
frameName: string;
|
||||
on(event: '-touch-bar-interaction', listener: (event: Event, itemID: string, details: any) => void): this;
|
||||
removeListener(event: '-touch-bar-interaction', listener: (event: Event, itemID: string, details: any) => void): this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue