From 31de121e4315f22889727cd87b89567564684926 Mon Sep 17 00:00:00 2001 From: MIZUNE Pine Date: Mon, 12 May 2014 15:07:52 +0900 Subject: [PATCH] tabId is optional --- chrome/chrome.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/chrome.d.ts b/chrome/chrome.d.ts index 9d3b9451c..5b4c282c0 100755 --- a/chrome/chrome.d.ts +++ b/chrome/chrome.d.ts @@ -1831,6 +1831,7 @@ declare module chrome.tabs { export function create(createProperties: CreateProperties, callback?: (tab: Tab) => void): void; export function move(tabId: number, moveProperties: MoveProperties, callback?: (tab: Tab) => void): void; export function move(tabIds: number[], moveProperties: MoveProperties, callback?: (tabs: Tab[]) => void): void; + export function update(updateProperties: UpdateProperties, callback?: (tab?: Tab) => void): void; export function update(tabId: number, updateProperties: UpdateProperties, callback?: (tab?: Tab) => void): void; export function remove(tabId: number, callback?: Function): void; export function remove(tabIds: number[], callback?: Function): void;