Skip to content

[chrome] fix chrome.debugger - #75765

Open
erwanjugand wants to merge 1 commit into
DefinitelyTyped:masterfrom
erwanjugand:fix-debugger
Open

erwanjugand wants to merge 1 commit into
DefinitelyTyped:masterfrom
erwanjugand:fix-debugger

Conversation

@erwanjugand

Copy link
Copy Markdown
Contributor

Please fill in this template.

If changing an existing definition:

Notes:

  • fix chrome.debugger.sendCommand:

    • replace object by { [key: string]: unknown }

      image
    • can override params and result :

      This allows developers to override the types, which could come from ChromeDevTools/devtools-protocol.

      I'm not sure whether it would be better to include the library directly in @types/chrome. Feel free to share your thoughts on this! :)

    • align callback with the other types (callback = sync, without = async).

      image
  • fix chrome.debugger.onEvent: replace object by { [key: string]: unknown }

@typescript-automation

typescript-automation Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

@erwanjugand Thank you for submitting this PR!

This is a live comment that I will keep updated.

1 package in this PR

Code Reviews

Because this is a widely-used package, a DT maintainer will need to review it before it can be merged.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • 🕐 Most recent commit is approved by a DT maintainer

Once every item on this list is checked, I'll ask you for permission to merge and publish the changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 75765,
  "author": "erwanjugand",
  "headCommitOid": "2e9bd03d38b7a9df8c559223d7907b42417e7fd1",
  "mergeBaseOid": "3aab8ab07c7a3ccf49c1d126df3f5ab7de71a3fa",
  "lastPushDate": "2026-10-10T16:02:15.000Z",
  "lastActivityDate": "2026-10-10T16:02:15.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "tooManyCommits": false,
  "tooManyReviews": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "chrome",
      "version": "0.3",
      "kind": "edit",
      "files": [
        {
          "path": "types/chrome/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/chrome/test/index.ts",
          "kind": "test"
        }
      ],
      "owners": [
        "MatCarlson",
        "JasonXian",
        "usertim",
        "nicolas377",
        "idosal",
        "fregante",
        "erwanjugand"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    }
  ],
  "reviews": [],
  "mainBotCommentID": 6099418366,
  "ciResult": "pass"
}

@typescript-automation typescript-automation Bot added Critical package Author is Owner The author of this PR is a listed owner of the package. labels Oct 10, 2026
@typescript-automation

Copy link
Copy Markdown
Contributor

🔔 @matcarlson @JasonXian @userTim @nicolas377 @idosal @fregante — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

@typescript-automation typescript-automation Bot moved this to Waiting for Code Reviews in Pull Request Status Board Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author is Owner The author of this PR is a listed owner of the package. Critical package

Projects

Status: Needs Maintainer Review

Development

Successfully merging this pull request may close these issues.

1 participant