Skip to content

Revert [@types/react] fix: remove onPointerEnterCapture & onPointerLeaveCapture (#68984)#69243

Closed
silversonicaxel wants to merge 1 commit intoDefinitelyTyped:masterfrom
silversonicaxel:fix/typesreact
Closed

Revert [@types/react] fix: remove onPointerEnterCapture & onPointerLeaveCapture (#68984)#69243
silversonicaxel wants to merge 1 commit intoDefinitelyTyped:masterfrom
silversonicaxel:fix/typesreact

Conversation

@silversonicaxel
Copy link
Copy Markdown
Contributor

@silversonicaxel silversonicaxel commented Apr 2, 2024

Please see #69006.

This reverts commit 73b5985.
A revert was already done, but it was covering partially the files to revert 1bfbd3b.

Please fill in this template.

Select one of these and delete the others:

If adding a new definition:

  • The package does not already provide its own types, or cannot have its .d.ts files generated via --declaration
  • If this is for an npm package, match the name. If not, do not conflict with the name of an npm package.
  • Create it with dts-gen --dt, not by basing it on an existing project.
  • Represents shape of module/library correctly
  • tsconfig.json should have noImplicitAny, noImplicitThis, strictNullChecks, and strictFunctionTypes set to true.

If changing an existing definition:

If removing a declaration:

  • If a package was never on Definitely Typed, you don't need to do anything. (If you wrote a package and provided types, you don't need to register it with us.)
  • Delete the package's directory.
  • Add it to notNeededPackages.json.

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Apr 2, 2024

@silversonicaxel Thank you for submitting this PR!

This is a live comment which 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
  • 🕐 Only a DT maintainer can approve changes without tests

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": 69243,
  "author": "silversonicaxel",
  "headCommitOid": "496188405567e36e487024a8ef767d73bc56020e",
  "mergeBaseOid": "e5d07ac1d28e211291ff804adcf0d18e0002e72d",
  "lastPushDate": "2024-04-02T09:47:17.000Z",
  "lastActivityDate": "2024-04-02T10:51:54.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "react",
      "kind": "edit",
      "files": [
        {
          "path": "types/react/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/react/ts5.0/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "johnnyreilly",
        "bbenezech",
        "pzavolinsky",
        "ericanderson",
        "DovydasNavickas",
        "theruther4d",
        "guilhermehubner",
        "ferdaber",
        "jrakotoharisoa",
        "pascaloliv",
        "hotell",
        "franklixuefei",
        "Jessidhia",
        "saranshkataria",
        "lukyth",
        "eps1lon",
        "zieka",
        "dancerphil",
        "dimitropoulos",
        "disjukr",
        "vhfmag",
        "hellatan",
        "priyanshurav",
        "Semigradsky",
        "mattpocock"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    }
  ],
  "reviews": [
    {
      "type": "changereq",
      "reviewer": "eps1lon",
      "date": "2024-04-02T10:51:54.000Z"
    }
  ],
  "mainBotCommentID": 2031554308,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added Critical package Untested Change This PR does not touch tests labels Apr 2, 2024
@typescript-bot
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Collaborator

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

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

We intentionally only reverted types for 16 and 17. The latest release was supposed to be untouched since libraries falsely shipping these events can fix it by publishing again. That isn't usually possible for 16 and 17 since this usually publishing unmaintained versions which is risky.

@typescript-bot typescript-bot added the Revision needed This PR needs code changes before it can be merged. label Apr 2, 2024
@typescript-bot
Copy link
Copy Markdown
Contributor

@silversonicaxel One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Critical package Revision needed This PR needs code changes before it can be merged. Untested Change This PR does not touch tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants