@types/chrome 0.0.164 → 0.0.165

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 +12 -2
  3. chrome/package.json +3 -3
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: Mon, 15 Nov 2021 19:01:24 GMT
11
+ * Last updated: Tue, 30 Nov 2021 20:01:03 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
@@ -10739,10 +10739,20 @@ declare namespace chrome.windows {
10739
10739
  }
10740
10740
 
10741
10741
  export interface WindowIdEvent
10742
- extends chrome.events.Event<(windowId: number, filters?: WindowEventFilter) => void> { }
10742
+ extends chrome.events.Event<(windowId: number) => void> {
10743
+ addListener(
10744
+ callback: (windowId: number) => void,
10745
+ filters?: WindowEventFilter,
10746
+ ): void;
10747
+ }
10743
10748
 
10744
10749
  export interface WindowReferenceEvent
10745
- extends chrome.events.Event<(window: Window, filters?: WindowEventFilter) => void> { }
10750
+ extends chrome.events.Event<(window: Window) => void> {
10751
+ addListener(
10752
+ callback: (window: Window) => void,
10753
+ filters?: WindowEventFilter,
10754
+ ): void;
10755
+ }
10746
10756
 
10747
10757
  /**
10748
10758
  * Specifies what type of browser window to create.
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.0.164",
3
+ "version": "0.0.165",
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",
@@ -98,6 +98,6 @@
98
98
  "@types/filesystem": "*",
99
99
  "@types/har-format": "*"
100
100
  },
101
- "typesPublisherContentHash": "3bacf41c8f9f8cfa1d6368ac74b02c3b935e043645ca3e62f2a4abbcd6d8a0f6",
102
- "typeScriptVersion": "3.7"
101
+ "typesPublisherContentHash": "4a8618393a67775341d870f5bf2ae67d7e3e8cb773cc49410fffbe1a00bae61f",
102
+ "typeScriptVersion": "3.8"
103
103
  }