@types/chrome 0.1.30 → 0.1.31

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.
Files changed (3) hide show
  1. chrome/README.md +1 -1
  2. chrome/index.d.ts +0 -4
  3. 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: Mon, 17 Nov 2025 22:35:44 GMT
11
+ * Last updated: Wed, 19 Nov 2025 21:02: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
 
14
14
  # Credits
chrome/index.d.ts CHANGED
@@ -10047,10 +10047,8 @@ declare namespace chrome {
10047
10047
  *
10048
10048
  * Can return its result via Promise in Manifest V3 or later since Chrome 95.
10049
10049
  */
10050
- getBytesInUse(keys: never[]): Promise<0>;
10051
10050
  getBytesInUse<T = { [key: string]: any }>(keys?: keyof T | Array<keyof T> | null): Promise<number>;
10052
10051
  getBytesInUse<T = { [key: string]: any }>(callback: (bytesInUse: number) => void): void;
10053
- getBytesInUse(keys: never[], callback: (bytesInUse: 0) => void): void;
10054
10052
  getBytesInUse<T = { [key: string]: any }>(
10055
10053
  keys: keyof T | Array<keyof T> | null | undefined,
10056
10054
  callback: (bytesInUse: number) => void,
@@ -10088,12 +10086,10 @@ declare namespace chrome {
10088
10086
  *
10089
10087
  * Can return its result via Promise in Manifest V3 or later since Chrome 95.
10090
10088
  */
10091
- get(keys: never[] | Record<string, never>): Promise<{ [key: string]: never }>;
10092
10089
  get<T = { [key: string]: unknown }>(
10093
10090
  keys?: NoInferX<keyof T> | Array<NoInferX<keyof T>> | Partial<NoInferX<T>> | null,
10094
10091
  ): Promise<T>;
10095
10092
  get<T = { [key: string]: unknown }>(callback: (items: T) => void): void;
10096
- get(keys: never[] | Record<string, never>, callback: (items: { [key: string]: never }) => void): void;
10097
10093
  get<T = { [key: string]: unknown }>(
10098
10094
  keys: NoInferX<keyof T> | Array<NoInferX<keyof T>> | Partial<NoInferX<T>> | null | undefined,
10099
10095
  callback: (items: T) => void,
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
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": "6e0942666b668f34563db277f484e8bff1e6f66a63e0d550837119256368d7dc",
97
+ "typesPublisherContentHash": "1514b04207a05c2fb0e3a83bdfe5459198a55479c419054c7228830f760ef351",
98
98
  "typeScriptVersion": "5.2"
99
99
  }