You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: types/chrome/index.d.ts
+2-2
Original file line number
Diff line number
Diff line change
@@ -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'.
0 commit comments