@types/chrome 0.0.180 → 0.0.181
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 +2 -2
- 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, 11 Apr 2022 04:01:19 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
|
@@ -1671,7 +1671,7 @@ declare namespace chrome.contextMenus {
|
|
|
1671
1671
|
wasChecked?: boolean | undefined;
|
|
1672
1672
|
/**
|
|
1673
1673
|
* Since Chrome 35.
|
|
1674
|
-
* The URL of the page where the menu item was clicked. This property is not set if the click
|
|
1674
|
+
* The URL of the page where the menu item was clicked. This property is not set if the click occurred in a context where there is no current page, such as in a launcher context menu.
|
|
1675
1675
|
*/
|
|
1676
1676
|
pageUrl: string;
|
|
1677
1677
|
/**
|
|
@@ -3541,7 +3541,7 @@ declare namespace chrome.extension {
|
|
|
3541
3541
|
* True for content scripts running inside incognito tabs, and for extension pages running inside an incognito process. The latter only applies to extensions with 'split' incognito_behavior.
|
|
3542
3542
|
*/
|
|
3543
3543
|
export var inIncognitoContext: boolean;
|
|
3544
|
-
/** Set for the lifetime of a callback if an ansychronous extension api has resulted in an error. If no error has
|
|
3544
|
+
/** Set for the lifetime of a callback if an ansychronous extension api has resulted in an error. If no error has occurred lastError will be undefined. */
|
|
3545
3545
|
export var lastError: LastError;
|
|
3546
3546
|
|
|
3547
3547
|
/** Returns the JavaScript 'window' object for the background page running inside the current extension. Returns null if the extension has no background page. */
|
chrome/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/chrome",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.181",
|
|
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",
|
|
@@ -98,6 +98,6 @@
|
|
|
98
98
|
"@types/filesystem": "*",
|
|
99
99
|
"@types/har-format": "*"
|
|
100
100
|
},
|
|
101
|
-
"typesPublisherContentHash": "
|
|
101
|
+
"typesPublisherContentHash": "fefd22c983b191a5d1386660bc44b7bc4c41a494ebf1db90b0a93969c1895d0d",
|
|
102
102
|
"typeScriptVersion": "3.9"
|
|
103
103
|
}
|