Skip to content

[calidation] Ensure only render props are accepted as children of FormValidation#56036

Merged
sandersn merged 1 commit into
DefinitelyTyped:masterfrom
eps1lon:fix/calidation/ReactNode-object-like
Oct 1, 2021
Merged

[calidation] Ensure only render props are accepted as children of FormValidation#56036
sandersn merged 1 commit into
DefinitelyTyped:masterfrom
eps1lon:fix/calidation/ReactNode-object-like

Conversation

@eps1lon
Copy link
Copy Markdown
Collaborator

@eps1lon eps1lon commented Sep 28, 2021

Revealed by #56026
Unlikely that an intersection of ReactNode & () => ReactNode was intended. Previous tests only pass because ReactNode includes {}

Please fill in this template.

@eps1lon eps1lon marked this pull request as ready for review September 28, 2021 19:00
@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": 56036,
  "author": "eps1lon",
  "headCommitOid": "50903bc786c9b99721a7385f22b203adb2d4eda4",
  "lastPushDate": "2021-09-28T18:51:57.000Z",
  "lastActivityDate": "2021-10-01T08:36:00.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "calidation",
      "kind": "edit",
      "files": [
        {
          "path": "types/calidation/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "ArrayKnight",
        "lisatassone"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "ArrayKnight",
      "date": "2021-10-01T08:36:00.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 929538704,
  "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

🔔 @ArrayKnight @lisatassone — 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-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Oct 1, 2021
@sandersn sandersn merged commit 3c446b8 into DefinitelyTyped:master Oct 1, 2021
@eps1lon eps1lon deleted the fix/calidation/ReactNode-object-like branch October 2, 2021 06:43
medfreeman pushed a commit to medfreeman/DefinitelyTyped that referenced this pull request Oct 4, 2021
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