@types/chrome 0.0.191 → 0.0.192
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- chrome/README.md +1 -1
- chrome/index.d.ts +1 -1
- 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:
|
|
11
|
+
* Last updated: Mon, 04 Jul 2022 15:32:21 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
|
@@ -9349,7 +9349,7 @@ declare namespace chrome.tabs {
|
|
|
9349
9349
|
* Gets the tab that this script call is being made from. May be undefined if called from a non-tab context (for example: a background page or popup view).
|
|
9350
9350
|
* @return The `getCurrent` method provides its result via callback or returned as a `Promise` (MV3 only).
|
|
9351
9351
|
*/
|
|
9352
|
-
export function getCurrent(): Promise<Tab>;
|
|
9352
|
+
export function getCurrent(): Promise<Tab | undefined>;
|
|
9353
9353
|
/**
|
|
9354
9354
|
* Gets the tab that is selected in the specified window.
|
|
9355
9355
|
* @deprecated since Chrome 33. Please use tabs.query {active: true}.
|
chrome/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/chrome",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.192",
|
|
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",
|
|
@@ -93,6 +93,6 @@
|
|
|
93
93
|
"@types/filesystem": "*",
|
|
94
94
|
"@types/har-format": "*"
|
|
95
95
|
},
|
|
96
|
-
"typesPublisherContentHash": "
|
|
96
|
+
"typesPublisherContentHash": "9a00b91579910f86a62a88a80c4d98ddc349ada456a347db161166e1404fb22e",
|
|
97
97
|
"typeScriptVersion": "4.0"
|
|
98
98
|
}
|