Fix the type of the window object provided by the PanelShownEvent

This commit is contained in:
Ernest Galbrun
2018-02-28 12:33:07 +01:00
committed by GitHub
parent c300e37b1e
commit 5e8c77c4bc

View File

@@ -1740,7 +1740,7 @@ declare namespace chrome.devtools.network {
* Availability: Since Chrome 18.
*/
declare namespace chrome.devtools.panels {
export interface PanelShownEvent extends chrome.events.Event<(window: chrome.windows.Window) => void> {}
export interface PanelShownEvent extends chrome.events.Event<(window: Window) => void> {}
export interface PanelHiddenEvent extends chrome.events.Event<() => void> {}