@types/chrome 0.0.269 → 0.0.270

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. chrome/README.md +1 -1
  2. chrome/index.d.ts +18 -0
  3. chrome/package.json +2 -2
chrome/README.md CHANGED
@@ -8,7 +8,7 @@ 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: Tue, 23 Jul 2024 23:09:03 GMT
11
+ * Last updated: Mon, 12 Aug 2024 15:08: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
 
14
14
  # Credits
chrome/index.d.ts CHANGED
@@ -2535,6 +2535,24 @@ declare namespace chrome.devtools.network {
2535
2535
  export var onNavigated: NavigatedEvent;
2536
2536
  }
2537
2537
 
2538
+ ////////////////////
2539
+ // Dev Tools - Performance
2540
+ ////////////////////
2541
+ /**
2542
+ * The chrome.devtools.performance API allows developers to interact with the recording features of the Performance panel in Chrome DevTools. You can use this API to get notifications when recording starts or stops.
2543
+ * @since Chrome 128
2544
+ */
2545
+ declare namespace chrome.devtools.performance {
2546
+ export interface ProfilingStartedEvent extends chrome.events.Event<() => void> {}
2547
+
2548
+ export interface ProfilingStoppedEvent extends chrome.events.Event<() => void> {}
2549
+
2550
+ /** Fired when the Performance panel begins recording performance data. */
2551
+ export var onProfilingStarted: ProfilingStartedEvent;
2552
+ /** Fired when the Performance panel stops recording performance data. */
2553
+ export var onProfilingStopped: ProfilingStoppedEvent;
2554
+ }
2555
+
2538
2556
  ////////////////////
2539
2557
  // Dev Tools - Panels
2540
2558
  ////////////////////
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.0.269",
3
+ "version": "0.0.270",
4
4
  "description": "TypeScript definitions for chrome",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
6
6
  "license": "MIT",
@@ -93,6 +93,6 @@
93
93
  "@types/filesystem": "*",
94
94
  "@types/har-format": "*"
95
95
  },
96
- "typesPublisherContentHash": "5e7f4748f181d84a1ea4365c040d7bc0f6b5169e243304216c4866a0b911f7b2",
96
+ "typesPublisherContentHash": "0a10bc27fd8dcfa2ea26af51429949ae41b21b649a0c02421d94c5d53d255110",
97
97
  "typeScriptVersion": "4.8"
98
98
  }