@types/chrome 0.0.280 → 0.0.282
Sign up to get free protection for your applications and to get access to all the features.
- chrome/README.md +2 -2
- chrome/index.d.ts +13 -0
- chrome/package.json +8 -3
chrome/README.md
CHANGED
@@ -8,8 +8,8 @@ This package contains type definitions for chrome (http://developer.chrome.com/e
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated: Fri,
|
11
|
+
* Last updated: Fri, 15 Nov 2024 17:02:26 GMT
|
12
12
|
* Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
|
13
13
|
|
14
14
|
# Credits
|
15
|
-
These definitions were written by [Matthew Kimber](https://github.com/matthewkimber), [otiai10](https://github.com/otiai10), [sreimer15](https://github.com/sreimer15), [MatCarlson](https://github.com/MatCarlson), [ekinsol](https://github.com/ekinsol), [Brian Wilson](https://github.com/echoabstract), [Sebastiaan Pasma](https://github.com/spasma), [bdbai](https://github.com/bdbai), [pokutuna](https://github.com/pokutuna), [Jason Xian](https://github.com/JasonXian), [userTim](https://github.com/usertim), [Idan Zeierman](https://github.com/idan315), [Nicolas Rodriguez](https://github.com/nicolas377), [Ido Salomon](https://github.com/idosal),
|
15
|
+
These definitions were written by [Matthew Kimber](https://github.com/matthewkimber), [otiai10](https://github.com/otiai10), [sreimer15](https://github.com/sreimer15), [MatCarlson](https://github.com/MatCarlson), [ekinsol](https://github.com/ekinsol), [Brian Wilson](https://github.com/echoabstract), [Sebastiaan Pasma](https://github.com/spasma), [bdbai](https://github.com/bdbai), [pokutuna](https://github.com/pokutuna), [Jason Xian](https://github.com/JasonXian), [userTim](https://github.com/usertim), [Idan Zeierman](https://github.com/idan315), [Nicolas Rodriguez](https://github.com/nicolas377), [Ido Salomon](https://github.com/idosal), [Federico Brigante](https://github.com/fregante), and [Erwan Jugand](https://github.com/erwanjugand).
|
chrome/index.d.ts
CHANGED
@@ -9005,6 +9005,19 @@ declare namespace chrome.storage {
|
|
9005
9005
|
* Parameter items: Object with items in their key-value mappings.
|
9006
9006
|
*/
|
9007
9007
|
onChanged: StorageAreaChangedEvent;
|
9008
|
+
/**
|
9009
|
+
* Gets all keys from storage.
|
9010
|
+
* @return A Promise that resolves with an array of keys.
|
9011
|
+
* @since Chrome 130
|
9012
|
+
*/
|
9013
|
+
getKeys(): Promise<string[]>;
|
9014
|
+
/**
|
9015
|
+
* Gets all keys from storage.
|
9016
|
+
* @param callback Callback with storage keys.
|
9017
|
+
* Parameter keys: Array of keys in storage.
|
9018
|
+
* @since Chrome 130
|
9019
|
+
*/
|
9020
|
+
getKeys(callback: (keys: string[]) => void): void;
|
9008
9021
|
}
|
9009
9022
|
|
9010
9023
|
export interface StorageChange {
|
chrome/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.282",
|
4
4
|
"description": "TypeScript definitions for chrome",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
|
6
6
|
"license": "MIT",
|
@@ -79,6 +79,11 @@
|
|
79
79
|
"name": "Federico Brigante",
|
80
80
|
"githubUsername": "fregante",
|
81
81
|
"url": "https://github.com/fregante"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"name": "Erwan Jugand",
|
85
|
+
"githubUsername": "erwanjugand",
|
86
|
+
"url": "https://github.com/erwanjugand"
|
82
87
|
}
|
83
88
|
],
|
84
89
|
"main": "",
|
@@ -94,6 +99,6 @@
|
|
94
99
|
"@types/har-format": "*"
|
95
100
|
},
|
96
101
|
"peerDependencies": {},
|
97
|
-
"typesPublisherContentHash": "
|
98
|
-
"typeScriptVersion": "4.
|
102
|
+
"typesPublisherContentHash": "d75e89c4b69c7c154467893fb5e59149358ac23425cf0d25995092e94f3a9310",
|
103
|
+
"typeScriptVersion": "4.9"
|
99
104
|
}
|