@types/chrome 0.0.204 → 0.0.205
Sign up to get free protection for your applications and to get access to all the features.
- chrome/README.md +1 -1
- chrome/index.d.ts +6 -0
- 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: Wed, 21 Dec 2022 02:32:36 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
@@ -10239,6 +10239,12 @@ declare namespace chrome.topSites {
|
|
10239
10239
|
|
10240
10240
|
/** Gets a list of top sites. */
|
10241
10241
|
export function get(callback: (data: MostVisitedURL[]) => void): void;
|
10242
|
+
|
10243
|
+
/**
|
10244
|
+
* Gets a list of top sites.
|
10245
|
+
* @return The `get` method provides its result via callback or returned as a `Promise` (MV3 only).
|
10246
|
+
*/
|
10247
|
+
export function get(): Promise<MostVisitedURL[]>;
|
10242
10248
|
}
|
10243
10249
|
|
10244
10250
|
////////////////////
|
chrome/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.205",
|
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": "
|
91
|
+
"typesPublisherContentHash": "dfab864a7a0233539d2c6d7a6dd163c14ffd328c549f55520ce0ee93b9fbc814",
|
92
92
|
"typeScriptVersion": "4.2"
|
93
93
|
}
|