mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
Make chrome.tabs.highlight callback as an optional (#27453)
This commit is contained in:
Vendored
+1
-1
@@ -6564,7 +6564,7 @@ declare namespace chrome.tabs {
|
||||
* @param callback Optional.
|
||||
* Parameter window: Contains details about the window whose tabs were highlighted.
|
||||
*/
|
||||
export function highlight(highlightInfo: HighlightInfo, callback: (window: chrome.windows.Window) => void): void;
|
||||
export function highlight(highlightInfo: HighlightInfo, callback?: (window: chrome.windows.Window) => void): void;
|
||||
/**
|
||||
* Gets all tabs that have the specified properties, or all tabs if no properties are specified.
|
||||
* @since Chrome 16.
|
||||
|
||||
Reference in New Issue
Block a user