Make chrome.tabs.highlight callback as an optional (#27453)

This commit is contained in:
Sergey Kuznetsov
2018-07-23 08:31:25 -07:00
committed by Andy
parent 2960264e36
commit 67b046cb86
+1 -1
View File
@@ -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.