mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
tabId is optional
This commit is contained in:
Vendored
+1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user