@types/chrome 0.0.302 → 0.0.303

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 +2 -2
  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: Fri, 07 Feb 2025 19:02:24 GMT
11
+ * Last updated: Sat, 08 Feb 2025 01:29:12 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
@@ -6584,7 +6584,7 @@ declare namespace chrome {
6584
6584
  /** The parameters describing the offscreen document to create. */
6585
6585
  export interface CreateParameters {
6586
6586
  /** The reason(s) the extension is creating the offscreen document. */
6587
- reasons: Reason[];
6587
+ reasons: `${Reason}`[];
6588
6588
  /** The (relative) URL to load in the document. */
6589
6589
  url: string;
6590
6590
  /** A developer-provided string that explains, in more detail, the need for the background context. The user agent _may_ use this in display to the user. */
@@ -8077,7 +8077,7 @@ declare namespace chrome {
8077
8077
  /**
8078
8078
  * The reason that this event is being dispatched.
8079
8079
  */
8080
- reason: OnInstalledReason;
8080
+ reason: `${OnInstalledReason}`;
8081
8081
  /**
8082
8082
  * Optional.
8083
8083
  * Indicates the previous version of the extension, which has just been updated. This is present only if 'reason' is 'update'.
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.0.302",
3
+ "version": "0.0.303",
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": "59f391614360d0b95023326c7a11bc865b13e26fd8b986fbf780a96c8cde90b5",
97
+ "typesPublisherContentHash": "8a782f9496839a30cef0c1af84aa70a3eca1b91f613b83a9c7fa2b99c06c1803",
98
98
  "typeScriptVersion": "5.0"
99
99
  }