Merge pull request #3184 from kyo-ago/patch-1

Fix the return type in chrome.tabs.connect
This commit is contained in:
Masahiro Wakame
2014-11-21 00:48:00 +09:00
+1 -1
View File
@@ -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;