@types/chrome 0.0.206 → 0.0.207

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. chrome/README.md +1 -1
  2. chrome/index.d.ts +7 -0
  3. chrome/package.json +2 -2
chrome/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Chrome extension development (http://
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 21 Dec 2022 09:02:30 GMT
11
+ * Last updated: Tue, 10 Jan 2023 05:32:53 GMT
12
12
  * Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
13
13
  * Global values: `chrome`
14
14
 
chrome/index.d.ts CHANGED
@@ -9694,6 +9694,13 @@ declare namespace chrome.tabs {
9694
9694
  * @since Chrome 16.
9695
9695
  */
9696
9696
  export function reload(callback?: () => void): void;
9697
+ /**
9698
+ * Duplicates a tab.
9699
+ * @since Chrome 23.
9700
+ * @param tabId The ID of the tab which is to be duplicated.
9701
+ * @return The `duplicate` method provides its result via callback or returned as a `Promise` (MV3 only).
9702
+ */
9703
+ export function duplicate(tabId: number): Promise<Tab | undefined>;
9697
9704
  /**
9698
9705
  * Duplicates a tab.
9699
9706
  * @since Chrome 23.
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.0.206",
3
+ "version": "0.0.207",
4
4
  "description": "TypeScript definitions for Chrome extension development",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
6
6
  "license": "MIT",
@@ -88,6 +88,6 @@
88
88
  "@types/filesystem": "*",
89
89
  "@types/har-format": "*"
90
90
  },
91
- "typesPublisherContentHash": "448bad736c04fa89b8b85e2af98b1a7fb13e3fba6aec29936117a600ba0f9d47",
91
+ "typesPublisherContentHash": "e6b5d60c53c915a0bb80da592d14ee3f9857d00530301f89fa34ae8ea36dcfe9",
92
92
  "typeScriptVersion": "4.2"
93
93
  }