Skip to content

[@wordpress/data] Fix TS 4.7 compat issues#59550

Merged
weswigham merged 2 commits intoDefinitelyTyped:masterfrom
eps1lon:fix/ts-4.7/@wordpress/data
Mar 29, 2022
Merged

[@wordpress/data] Fix TS 4.7 compat issues#59550
weswigham merged 2 commits intoDefinitelyTyped:masterfrom
eps1lon:fix/ts-4.7/@wordpress/data

Conversation

@eps1lon
Copy link
Copy Markdown
Collaborator

@eps1lon eps1lon commented Mar 29, 2022

Fixes issues with TypeScript 4.7 that are blocking #56210

@DangerBotOSS
Copy link
Copy Markdown

Inspecting the JavaScript source for this package found some properties that are not in the .d.ts files.
The check for missing properties isn't always right, so take this list as advice, not a requirement.

wordpress__blocks (unpkg)

was missing the following properties:

  1. store
  2. store

Generated by 🚫 dangerJS against 33572ba

@eps1lon eps1lon marked this pull request as ready for review March 29, 2022 18:56
@typescript-bot
Copy link
Copy Markdown
Contributor

@eps1lon Thank you for submitting this PR!

This is a live comment which I will keep updated.

2 packages in this PR

Code Reviews

Because this PR edits multiple packages, it 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
  • 🕐 A DT maintainer needs to approve changes which affect more than one package

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": 59550,
  "author": "eps1lon",
  "headCommitOid": "33572ba786fd399acdd39e9a40044c68697ea43d",
  "mergeBaseOid": "77f6831aaf9b7541f5576d91565576209aa53f42",
  "lastPushDate": "2022-03-29T18:50:11.000Z",
  "lastActivityDate": "2022-03-29T18:56:21.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "wordpress__blocks",
      "kind": "edit",
      "files": [
        {
          "path": "types/wordpress__blocks/api/registration.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/wordpress__blocks/api/serializer.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/wordpress__blocks/api/validation.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "dsifford",
        "sirreal",
        "dmsnell"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    },
    {
      "name": "wordpress__data",
      "kind": "edit",
      "files": [
        {
          "path": "types/wordpress__data/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "dsifford",
        "sirreal"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [],
  "ciResult": "pass"
}

@typescript-bot
Copy link
Copy Markdown
Contributor

🔔 @dsifford @sirreal @dmsnell — 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.

@weswigham weswigham merged commit ad56c8b into DefinitelyTyped:master Mar 29, 2022
@eps1lon eps1lon deleted the fix/ts-4.7/@wordpress/data branch March 29, 2022 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Edits multiple packages Untested Change This PR does not touch tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants