mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
test: remove a few casts to any (#39713)
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user