@types/chrome 0.0.246 → 0.0.248
Sign up to get free protection for your applications and to get access to all the features.
- chrome/README.md +2 -3
- chrome/index.d.ts +16 -20
- chrome/package.json +33 -33
chrome/README.md
CHANGED
@@ -2,15 +2,14 @@
|
|
2
2
|
> `npm install --save @types/chrome`
|
3
3
|
|
4
4
|
# Summary
|
5
|
-
This package contains type definitions for
|
5
|
+
This package contains type definitions for chrome (http://developer.chrome.com/extensions/).
|
6
6
|
|
7
7
|
# Details
|
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: Tue, 17 Oct 2023 22:10:14 GMT
|
12
12
|
* Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
|
13
|
-
* Global values: `chrome`
|
14
13
|
|
15
14
|
# Credits
|
16
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), and [Federico Brigante](https://github.com/fregante).
|
chrome/index.d.ts
CHANGED
@@ -1,23 +1,3 @@
|
|
1
|
-
// Type definitions for Chrome extension development
|
2
|
-
// Project: http://developer.chrome.com/extensions/
|
3
|
-
// Definitions by: Matthew Kimber <https://github.com/matthewkimber>
|
4
|
-
// otiai10 <https://github.com/otiai10>
|
5
|
-
// sreimer15 <https://github.com/sreimer15>
|
6
|
-
// MatCarlson <https://github.com/MatCarlson>
|
7
|
-
// ekinsol <https://github.com/ekinsol>
|
8
|
-
// Brian Wilson <https://github.com/echoabstract>
|
9
|
-
// Sebastiaan Pasma <https://github.com/spasma>
|
10
|
-
// bdbai <https://github.com/bdbai>
|
11
|
-
// pokutuna <https://github.com/pokutuna>
|
12
|
-
// Jason Xian <https://github.com/JasonXian>
|
13
|
-
// userTim <https://github.com/usertim>
|
14
|
-
// Idan Zeierman <https://github.com/idan315>
|
15
|
-
// Nicolas Rodriguez <https://github.com/nicolas377>
|
16
|
-
// Ido Salomon <https://github.com/idosal>
|
17
|
-
// Federico Brigante <https://github.com/fregante>
|
18
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
19
|
-
// TypeScript Version: 2.4
|
20
|
-
|
21
1
|
/// <reference types="filesystem" />
|
22
2
|
/// <reference path="./har-format/index.d.ts" />
|
23
3
|
/// <reference path="./chrome-cast/index.d.ts" />
|
@@ -2781,6 +2761,22 @@ declare namespace chrome.documentScan {
|
|
2781
2761
|
export function scan(options: DocumentScanOptions, callback: (result: DocumentScanCallbackArg) => void): void;
|
2782
2762
|
}
|
2783
2763
|
|
2764
|
+
////////////////////
|
2765
|
+
// DOM
|
2766
|
+
////////////////////
|
2767
|
+
/**
|
2768
|
+
* Use the chrome.dom API to programmatically access shadow root in an HTMLElement.
|
2769
|
+
* Availability: Since Chrome 88+.
|
2770
|
+
*/
|
2771
|
+
declare namespace chrome.dom {
|
2772
|
+
/**
|
2773
|
+
* Since Chrome 88+.
|
2774
|
+
* Requests chrome to return the open/closed shadow roots else return null.
|
2775
|
+
* @param element reference of HTMLElement.
|
2776
|
+
*/
|
2777
|
+
export function openOrClosedShadowRoot(element: HTMLElement): ShadowRoot;
|
2778
|
+
}
|
2779
|
+
|
2784
2780
|
////////////////////
|
2785
2781
|
// Dev Tools - Downloads
|
2786
2782
|
////////////////////
|
chrome/package.json
CHANGED
@@ -1,84 +1,84 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
4
|
-
"description": "TypeScript definitions for
|
3
|
+
"version": "0.0.248",
|
4
|
+
"description": "TypeScript definitions for chrome",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
|
6
6
|
"license": "MIT",
|
7
7
|
"contributors": [
|
8
8
|
{
|
9
9
|
"name": "Matthew Kimber",
|
10
|
-
"
|
11
|
-
"
|
10
|
+
"githubUsername": "matthewkimber",
|
11
|
+
"url": "https://github.com/matthewkimber"
|
12
12
|
},
|
13
13
|
{
|
14
14
|
"name": "otiai10",
|
15
|
-
"
|
16
|
-
"
|
15
|
+
"githubUsername": "otiai10",
|
16
|
+
"url": "https://github.com/otiai10"
|
17
17
|
},
|
18
18
|
{
|
19
19
|
"name": "sreimer15",
|
20
|
-
"
|
21
|
-
"
|
20
|
+
"githubUsername": "sreimer15",
|
21
|
+
"url": "https://github.com/sreimer15"
|
22
22
|
},
|
23
23
|
{
|
24
24
|
"name": "MatCarlson",
|
25
|
-
"
|
26
|
-
"
|
25
|
+
"githubUsername": "MatCarlson",
|
26
|
+
"url": "https://github.com/MatCarlson"
|
27
27
|
},
|
28
28
|
{
|
29
29
|
"name": "ekinsol",
|
30
|
-
"
|
31
|
-
"
|
30
|
+
"githubUsername": "ekinsol",
|
31
|
+
"url": "https://github.com/ekinsol"
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"name": "Brian Wilson",
|
35
|
-
"
|
36
|
-
"
|
35
|
+
"githubUsername": "echoabstract",
|
36
|
+
"url": "https://github.com/echoabstract"
|
37
37
|
},
|
38
38
|
{
|
39
39
|
"name": "Sebastiaan Pasma",
|
40
|
-
"
|
41
|
-
"
|
40
|
+
"githubUsername": "spasma",
|
41
|
+
"url": "https://github.com/spasma"
|
42
42
|
},
|
43
43
|
{
|
44
44
|
"name": "bdbai",
|
45
|
-
"
|
46
|
-
"
|
45
|
+
"githubUsername": "bdbai",
|
46
|
+
"url": "https://github.com/bdbai"
|
47
47
|
},
|
48
48
|
{
|
49
49
|
"name": "pokutuna",
|
50
|
-
"
|
51
|
-
"
|
50
|
+
"githubUsername": "pokutuna",
|
51
|
+
"url": "https://github.com/pokutuna"
|
52
52
|
},
|
53
53
|
{
|
54
54
|
"name": "Jason Xian",
|
55
|
-
"
|
56
|
-
"
|
55
|
+
"githubUsername": "JasonXian",
|
56
|
+
"url": "https://github.com/JasonXian"
|
57
57
|
},
|
58
58
|
{
|
59
59
|
"name": "userTim",
|
60
|
-
"
|
61
|
-
"
|
60
|
+
"githubUsername": "usertim",
|
61
|
+
"url": "https://github.com/usertim"
|
62
62
|
},
|
63
63
|
{
|
64
64
|
"name": "Idan Zeierman",
|
65
|
-
"
|
66
|
-
"
|
65
|
+
"githubUsername": "idan315",
|
66
|
+
"url": "https://github.com/idan315"
|
67
67
|
},
|
68
68
|
{
|
69
69
|
"name": "Nicolas Rodriguez",
|
70
|
-
"
|
71
|
-
"
|
70
|
+
"githubUsername": "nicolas377",
|
71
|
+
"url": "https://github.com/nicolas377"
|
72
72
|
},
|
73
73
|
{
|
74
74
|
"name": "Ido Salomon",
|
75
|
-
"
|
76
|
-
"
|
75
|
+
"githubUsername": "idosal",
|
76
|
+
"url": "https://github.com/idosal"
|
77
77
|
},
|
78
78
|
{
|
79
79
|
"name": "Federico Brigante",
|
80
|
-
"
|
81
|
-
"
|
80
|
+
"githubUsername": "fregante",
|
81
|
+
"url": "https://github.com/fregante"
|
82
82
|
}
|
83
83
|
],
|
84
84
|
"main": "",
|
@@ -93,6 +93,6 @@
|
|
93
93
|
"@types/filesystem": "*",
|
94
94
|
"@types/har-format": "*"
|
95
95
|
},
|
96
|
-
"typesPublisherContentHash": "
|
96
|
+
"typesPublisherContentHash": "9860d7b122e9b41b782f6587edb1202070e290d8514cb72ce12c73d8e27b281b",
|
97
97
|
"typeScriptVersion": "4.5"
|
98
98
|
}
|