mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
Fix the return type in chrome.tabs.connect
The return type was updated in chrome extension. See the API documentation here: https://developer.chrome.com/extensions/tabs#method-connect
This commit is contained in:
Vendored
+1
-1
@@ -1949,7 +1949,7 @@ declare module chrome.tabs {
|
||||
export function reload(tabId?: number, reloadProperties?: ReloadProperties, func?: Function): void;
|
||||
export function duplicate(tabId: number, callback?: (tab?: Tab) => void): void;
|
||||
export function sendMessage(tabId: number, message: any, responseCallback?: (response: any) => void): void;
|
||||
export function connect(tabId: number, connectInfo?: ConnectInfo): void;
|
||||
export function connect(tabId: number, connectInfo?: ConnectInfo): runtime.Port;
|
||||
export function insertCSS(tabId: number, details: InjectDetails, callback?: Function): void;
|
||||
export function highlight(highlightInfo: HighlightInfo, callback: (window: chrome.windows.Window) => void): void;
|
||||
export function query(queryInfo: QueryInfo, callback: (result: Tab[]) => void): void;
|
||||
|
||||
Reference in New Issue
Block a user