Skip to content

Commit 70cf01d

Browse files
authored
🤖 Merge PR DefinitelyTyped#72250 [Chrome] Remove scriptBadge namespace (old API removed) by @erwanjugand
1 parent 3e33e06 commit 70cf01d

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

‎types/chrome/index.d.ts‎

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9796,32 +9796,6 @@ declare namespace chrome {
97969796
export function updateContentScripts(scripts: RegisteredContentScript[], callback: () => void): void;
97979797
}
97989798

9799-
////////////////////
9800-
// Script Badge
9801-
////////////////////
9802-
export namespace scriptBadge {
9803-
export interface GetPopupDetails {
9804-
tabId: number;
9805-
}
9806-
9807-
export interface AttentionDetails {
9808-
tabId: number;
9809-
}
9810-
9811-
export interface SetPopupDetails {
9812-
tabId: number;
9813-
popup: string;
9814-
}
9815-
9816-
export interface ScriptBadgeClickedEvent extends chrome.events.Event<(tab: chrome.tabs.Tab) => void> {}
9817-
9818-
export function getPopup(details: GetPopupDetails, callback: Function): void;
9819-
export function getAttention(details: AttentionDetails): void;
9820-
export function setPopup(details: SetPopupDetails): void;
9821-
9822-
export var onClicked: ScriptBadgeClickedEvent;
9823-
}
9824-
98259799
////////////////////
98269800
// Sessions
98279801
////////////////////

0 commit comments

Comments
 (0)