这是indexloc提供的服务,不要输入任何密码
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions types/chrome/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"rules": {
"@definitelytyped/no-unnecessary-generics": "off",
"@definitelytyped/strict-export-declare-modifiers": "off",
"@typescript-eslint/no-empty-interface": "off"
"@definitelytyped/strict-export-declare-modifiers": "off"
}
}
5 changes: 5 additions & 0 deletions types/chrome/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2524,6 +2524,7 @@ declare namespace chrome {
}

/** Declarative event action that redirects a network request to an empty document. */
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface RedirectToEmptyDocument {}

/** Declarative event action that redirects a network request. */
Expand Down Expand Up @@ -2566,6 +2567,7 @@ declare namespace chrome {
}

/** Declarative event action that cancels a network request. */
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface CancelRequest {}

/** Removes the request header of the specified name. Do not use SetRequestHeader and RemoveRequestHeader with the same header name on the same request. Each request header name occurs only once in each request. */
Expand Down Expand Up @@ -2633,6 +2635,7 @@ declare namespace chrome {
}

/** Declarative event action that redirects a network request to a transparent image. */
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface RedirectToTransparentImage {}

/** Adds a cookie to the request or overrides a cookie, in case another cookie of the same name exists already. Note that it is preferred to use the Cookies API because this is computationally less expensive. */
Expand Down Expand Up @@ -10199,6 +10202,7 @@ declare namespace chrome {
}

/** @deprecated Use {@link CpuTime} instead. */
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface ProcessorUsage extends CpuTime {}

export interface ProcessorInfo {
Expand Down Expand Up @@ -12423,6 +12427,7 @@ declare namespace chrome {
}

/** @deprecated Use {@link Parameters} instead */
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface VpnSessionParameters extends Parameters {}

/** The enum is used by the platform to notify the client of the VPN session status. */
Expand Down
Loading