@types/chrome 0.0.321 → 0.0.322
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 -1
- chrome/package.json +2 -2
chrome/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for chrome (https://developer.chrome.com/
|
|
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, 12 May 2025 12:44:33 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
|
chrome/index.d.ts
CHANGED
@@ -2986,9 +2986,10 @@ declare namespace chrome {
|
|
2986
2986
|
* Specifies the function to be called when the user clicks a resource link in the Developer Tools window. To unset the handler, either call the method with no parameters or pass null as the parameter.
|
2987
2987
|
* @param callback A function that is called when the user clicks on a valid resource link in Developer Tools window. Note that if the user clicks an invalid URL or an XHR, this function is not called.
|
2988
2988
|
* Parameter resource: A devtools.inspectedWindow.Resource object for the resource that was clicked.
|
2989
|
+
* Parameter lineNumber: Specifies the line number within the resource that was clicked.
|
2989
2990
|
*/
|
2990
2991
|
export function setOpenResourceHandler(
|
2991
|
-
callback?: (resource: chrome.devtools.inspectedWindow.Resource) => void,
|
2992
|
+
callback?: (resource: chrome.devtools.inspectedWindow.Resource, lineNumber: number) => void,
|
2992
2993
|
): void;
|
2993
2994
|
/**
|
2994
2995
|
* @since Chrome 38
|
chrome/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.322",
|
4
4
|
"description": "TypeScript definitions for chrome",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
|
6
6
|
"license": "MIT",
|
@@ -94,6 +94,6 @@
|
|
94
94
|
"@types/har-format": "*"
|
95
95
|
},
|
96
96
|
"peerDependencies": {},
|
97
|
-
"typesPublisherContentHash": "
|
97
|
+
"typesPublisherContentHash": "d2211cafb9d168b91482e87001e7cbfcd764551a4d73eac6e6f957699d0b7015",
|
98
98
|
"typeScriptVersion": "5.1"
|
99
99
|
}
|