Skip to content

String#matchAll should return iterable of RegExpExecArray (fixes TypeScript#36788)#66581

Closed
nihil-admirari wants to merge 1 commit intoDefinitelyTyped:masterfrom
nihil-admirari:master
Closed

String#matchAll should return iterable of RegExpExecArray (fixes TypeScript#36788)#66581
nihil-admirari wants to merge 1 commit intoDefinitelyTyped:masterfrom
nihil-admirari:master

Conversation

@nihil-admirari
Copy link
Copy Markdown

Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Sep 1, 2023

@nihil-admirari 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

Because this PR edits the configuration file, 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 failed
  • 🕐 A DT maintainer needs to approve changes which affect module config files

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": 66581,
  "author": "nihil-admirari",
  "headCommitOid": "fded4099550d783bc8fca1370485b81c2738b967",
  "mergeBaseOid": "7da74815b09b381ca2b61500eec1c989d904e9b8",
  "lastPushDate": "2023-09-01T21:00:12.000Z",
  "lastActivityDate": "2023-09-01T21:21:58.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "string.prototype.matchall",
      "kind": "edit",
      "files": [
        {
          "path": "types/string.prototype.matchall/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/string.prototype.matchall/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/string.prototype.matchall/string.prototype.matchall-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/string.prototype.matchall/ts5.2/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/string.prototype.matchall/ts5.2/string.prototype.matchall-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/string.prototype.matchall/ts5.2/tsconfig.json",
          "kind": "package-meta",
          "suspect": "not [the expected form](https://github.com/DefinitelyTyped/DefinitelyTyped#user-content-tsconfigjson) (check: `compilerOptions.lib.0`)"
        },
        {
          "path": "types/string.prototype.matchall/ts5.2/tslint.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "peterblazejewicz"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [],
  "mainBotCommentID": 1703314947,
  "ciResult": "fail",
  "ciUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/commit/fded4099550d783bc8fca1370485b81c2738b967/checks?check_suite_id=15742504503"
}

@typescript-bot typescript-bot added the Check Config Changes a module config files label Sep 1, 2023
@typescript-bot
Copy link
Copy Markdown
Contributor

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

@nihil-admirari
Copy link
Copy Markdown
Author

ERROR: 11:1 expect TypeScript@5.3 expected type to be:
IterableIterator
got:
IterableIterator

requires an update to definitions that ship with TypeScript.

@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Sep 2, 2023
@typescript-bot
Copy link
Copy Markdown
Contributor

@nihil-admirari 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.

@peterblazejewicz
Copy link
Copy Markdown
Member

PR depends on microsoft/TypeScript#55565 to be merged, changed to draft for now

@nihil-admirari
Copy link
Copy Markdown
Author

Superseded by #67760

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

Labels

Check Config Changes a module config files The CI failed When GH Actions fails

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants