Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of import of React as it is no longer needed. #68395

Closed
wants to merge 6 commits into from

Conversation

ShivamKJJW
Copy link

@ShivamKJJW ShivamKJJW commented Jan 31, 2024

Reference to issue: 68394

Select one of these and delete the others:

If changing an existing definition:

  • If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the package.json.

Error screenshot:
image

@typescript-bot
Copy link
Contributor

typescript-bot commented Jan 31, 2024

@ShivamKJJW Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through.

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 failed
  • 🕐 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.

Inactive

This PR has been inactive for 31 days — it is considered abandoned, and therefore closed!


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 68395,
  "author": "ShivamKJJW",
  "headCommitOid": "b1e122f31893bc92e8d822f349ca784e2e6be335",
  "mergeBaseOid": "6d0e970598392a8c1c62019150e4f197fadf301c",
  "lastPushDate": "2024-01-31T08:18:16.000Z",
  "lastActivityDate": "2024-01-31T17:42:49.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Popular",
  "pkgInfo": [
    {
      "name": "react-native-video",
      "kind": "edit",
      "files": [
        {
          "path": "types/react-native-video/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/react-native-video/tsconfig.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "huhuanming",
        "Nekith",
        "bananer"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Popular"
    }
  ],
  "reviews": [],
  "mainBotCommentID": 1918604354,
  "ciResult": "fail",
  "ciUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/commit/b1e122f31893bc92e8d822f349ca784e2e6be335/checks?check_suite_id=20294130726"
}

@typescript-bot typescript-bot added Popular package This PR affects a popular package (as counted by NPM download counts). Untested Change This PR does not touch tests labels Jan 31, 2024
@typescript-bot typescript-bot added this to Waiting for Code Reviews in New Pull Request Status Board Jan 31, 2024
@typescript-bot
Copy link
Contributor

Hey @ShivamKJJW,

😒 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
Contributor

🔔 @huhuanming @Nekith @bananer — 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.

@ShivamKJJW
Copy link
Author

Hey @ShivamKJJW,

😒 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!

It doesn't require any change in the test cases.

@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Jan 31, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Author Action in New Pull Request Status Board Jan 31, 2024
@typescript-bot
Copy link
Contributor

@ShivamKJJW The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label Jan 31, 2024
@typescript-bot typescript-bot moved this from Needs Author Action to Waiting for Code Reviews in New Pull Request Status Board Jan 31, 2024
@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Jan 31, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Author Action in New Pull Request Status Board Jan 31, 2024
@typescript-bot
Copy link
Contributor

@ShivamKJJW The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label Jan 31, 2024
@typescript-bot typescript-bot moved this from Needs Author Action to Waiting for Code Reviews in New Pull Request Status Board Jan 31, 2024
@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Jan 31, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Author Action in New Pull Request Status Board Jan 31, 2024
@typescript-bot
Copy link
Contributor

@ShivamKJJW The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

1 similar comment
@typescript-bot
Copy link
Contributor

@ShivamKJJW The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label Jan 31, 2024
@typescript-bot typescript-bot moved this from Needs Author Action to Waiting for Code Reviews in New Pull Request Status Board Jan 31, 2024
@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Jan 31, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Author Action in New Pull Request Status Board Jan 31, 2024
@typescript-bot
Copy link
Contributor

@ShivamKJJW The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label Jan 31, 2024
@typescript-bot typescript-bot moved this from Needs Author Action to Waiting for Code Reviews in New Pull Request Status Board Jan 31, 2024
@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Jan 31, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Author Action in New Pull Request Status Board Jan 31, 2024
@typescript-bot
Copy link
Contributor

@ShivamKJJW The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label Jan 31, 2024
@typescript-bot typescript-bot moved this from Needs Author Action to Waiting for Code Reviews in New Pull Request Status Board Jan 31, 2024
@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Jan 31, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Author Action in New Pull Request Status Board Jan 31, 2024
@typescript-bot
Copy link
Contributor

@ShivamKJJW The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@jakebailey
Copy link
Member

I don't understand the change; you're removing the React import, which is most definitely needed to be able to use React.Component. The tsconfig change doesn't do anything for the tests either; that option does not affect checking.

@ShivamKJJW
Copy link
Author

ShivamKJJW commented Jan 31, 2024 via email

@jakebailey
Copy link
Member

Your screenshot in the original issue isn't from ESLint (which you should not be running on node_modules anyway).

The screenshot is a TypeScript error message; it sounds more like you have multiple versions of the React types installed or something.

@typescript-bot typescript-bot added the Abandoned This PR had no activity for a long time, and is considered abandoned label Feb 23, 2024
@typescript-bot
Copy link
Contributor

@ShivamKJJW I haven't seen any activity on this PR in more than three weeks, and it still has problems that prevent it from being merged. The PR will be closed on Mar 1st (in a week) if the issues aren't addressed.

@typescript-bot typescript-bot removed this from Needs Author Action in New Pull Request Status Board Mar 2, 2024
@typescript-bot
Copy link
Contributor

@ShivamKJJW To keep things tidy, we have to close PRs that aren't mergeable and don't have activity in the last month. No worries, though — please open a new PR if you'd like to continue with this change. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Abandoned This PR had no activity for a long time, and is considered abandoned Popular package This PR affects a popular package (as counted by NPM download counts). The CI failed When GH Actions fails Untested Change This PR does not touch tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants