@types/chrome 0.0.268 → 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 +19 -3
  3. chrome/package.json +3 -3
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: Fri, 10 May 2024 22:07:01 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
  ////////////////////
@@ -2622,9 +2640,7 @@ declare namespace chrome.devtools.panels {
2622
2640
  onSelectionChanged: SelectionChangedEvent;
2623
2641
  }
2624
2642
 
2625
- export interface ExtensionSidebarPaneShownEvent
2626
- extends chrome.events.Event<(window: chrome.windows.Window) => void>
2627
- {}
2643
+ export interface ExtensionSidebarPaneShownEvent extends chrome.events.Event<(window: Window) => void> {}
2628
2644
 
2629
2645
  export interface ExtensionSidebarPaneHiddenEvent extends chrome.events.Event<() => void> {}
2630
2646
 
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.0.268",
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": "0ddb1da999194f310815426823ddcaaada0e59180472d2cdaf035bab9a85bb25",
97
- "typeScriptVersion": "4.7"
96
+ "typesPublisherContentHash": "0a10bc27fd8dcfa2ea26af51429949ae41b21b649a0c02421d94c5d53d255110",
97
+ "typeScriptVersion": "4.8"
98
98
  }