Skip to content

Add USBDevice.forget()#59235

Merged
typescript-bot merged 1 commit intoDefinitelyTyped:masterfrom
beaufortfrancois:patch-3
Mar 15, 2022
Merged

Add USBDevice.forget()#59235
typescript-bot merged 1 commit intoDefinitelyTyped:masterfrom
beaufortfrancois:patch-3

Conversation

@beaufortfrancois
Copy link
Copy Markdown
Contributor

This PR adds the new "USBDevice.forget()" method. See WICG/webusb#214

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Test the change in your own code. (Compile and run.)
  • Follow the advice from the readme.
  • Avoid common mistakes.
  • Provide a URL to documentation or source code which provides context for the suggested changes: <>

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Mar 11, 2022

@beaufortfrancois Thank you for submitting this PR!

This is a live comment which I will keep updated.

1 package in this PR

Code Reviews

This PR can be merged once it's reviewed by a DT maintainer.

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

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ Only a DT maintainer can approve changes without tests

All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 59235,
  "author": "beaufortfrancois",
  "headCommitOid": "732354f05fb5c252f45ceeeaea5cca41f59f62ac",
  "mergeBaseOid": "33d69f6f3cd921193a067df630a7556f04305016",
  "lastPushDate": "2022-03-11T14:50:50.000Z",
  "lastActivityDate": "2022-03-15T22:12:37.000Z",
  "mergeOfferDate": "2022-03-15T21:50:45.000Z",
  "mergeRequestDate": "2022-03-15T22:12:37.000Z",
  "mergeRequestUser": "thegecko",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "w3c-web-usb",
      "kind": "edit",
      "files": [
        {
          "path": "types/w3c-web-usb/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "larsgk",
        "thegecko"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "gabritto",
      "date": "2022-03-15T21:50:07.000Z",
      "isMaintainer": true
    },
    {
      "type": "approved",
      "reviewer": "thegecko",
      "date": "2022-03-11T15:06:41.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 1065184452,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the Untested Change This PR does not touch tests label Mar 11, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

Hey @beaufortfrancois,

😒 Your PR doesn't modify any tests, so it's hard to know what's being fixed, and your changes might regress in the future. Please consider adding tests to cover the change you're making. Including tests allows this PR to be merged by yourself and the owners of this module.

This can potentially save days of time for you!

@typescript-bot
Copy link
Copy Markdown
Contributor

🔔 @larsgk @thegecko — 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.

@thegecko
Copy link
Copy Markdown
Contributor

Thanks @beaufortfrancois

Copy link
Copy Markdown
Contributor

@thegecko thegecko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Mar 11, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

⏳ Hi @beaufortfrancois,

It's been a few days since this PR was approved by thegecko and we're waiting for a DT maintainer to give a review.

If you would like to short-circuit this wait, you can edit some of the test files in the package which verify how the .d.ts files work. This would allow the PR to be merged by you or the DT module owners after a re-review.

@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels Mar 15, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@beaufortfrancois: Everything looks good here. I am ready to merge this PR (at 732354f) on your behalf whenever you think it's ready.

If you'd like that to happen, please post a comment saying:

Ready to merge

and I'll merge this PR almost instantly. Thanks for helping out! ❤️

(@larsgk, @thegecko: you can do this too.)

@thegecko
Copy link
Copy Markdown
Contributor

Ready to merge

@typescript-bot typescript-bot merged commit 0774905 into DefinitelyTyped:master Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintainer Approved Owner Approved A listed owner of this package signed off on the pull request. Self Merge This PR can now be self-merged by the PR author or an owner Untested Change This PR does not touch tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants