Skip to content

[react-svg-inline] component accepts an ElementType not ReactNode#56030

Merged
sandersn merged 1 commit into
DefinitelyTyped:masterfrom
eps1lon:fix/react-svg-inline/ReactNode-object-like
Sep 29, 2021
Merged

[react-svg-inline] component accepts an ElementType not ReactNode#56030
sandersn merged 1 commit into
DefinitelyTyped:masterfrom
eps1lon:fix/react-svg-inline/ReactNode-object-like

Conversation

@eps1lon
Copy link
Copy Markdown
Collaborator

@eps1lon eps1lon commented Sep 28, 2021

Revealed by #56026
Change is already tested but only works due to ReactNode including {}

Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

@eps1lon eps1lon marked this pull request as ready for review September 28, 2021 18:35
@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Sep 28, 2021

@eps1lon 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

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": 56030,
  "author": "eps1lon",
  "headCommitOid": "173b984b3fb67b7f9786f990e2f2ce4e14dc64fd",
  "lastPushDate": "2021-09-28T18:28:16.000Z",
  "lastActivityDate": "2021-09-29T01:43:35.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "react-svg-inline",
      "kind": "edit",
      "files": [
        {
          "path": "types/react-svg-inline/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "kiyopikko"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "kiyopikko",
      "date": "2021-09-29T01:43:35.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 929521500,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the Untested Change This PR does not touch tests label Sep 28, 2021
@typescript-bot
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

@kiyopikko kiyopikko 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 Sep 29, 2021
@sandersn sandersn merged commit ef21845 into DefinitelyTyped:master Sep 29, 2021
@eps1lon eps1lon deleted the fix/react-svg-inline/ReactNode-object-like branch September 30, 2021 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Owner Approved A listed owner of this package signed off on the pull request. Untested Change This PR does not touch tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants