From 67b046cb8683d84b222e267e0f0c04d191dc3fcc Mon Sep 17 00:00:00 2001 From: Sergey Kuznetsov Date: Mon, 23 Jul 2018 18:31:25 +0300 Subject: [PATCH] Make chrome.tabs.highlight callback as an optional (#27453) --- types/chrome/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/chrome/index.d.ts b/types/chrome/index.d.ts index 0bfec6bfd8..856a1ebc8f 100644 --- a/types/chrome/index.d.ts +++ b/types/chrome/index.d.ts @@ -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.