Skip to content

Fix ioredis xadd typelib to allow use of MAXLEN set of parameters#59294

Merged
typescript-bot merged 1 commit intoDefinitelyTyped:masterfrom
chris-codaio:fix-xadd-maxlen
Mar 17, 2022
Merged

Fix ioredis xadd typelib to allow use of MAXLEN set of parameters#59294
typescript-bot merged 1 commit intoDefinitelyTyped:masterfrom
chris-codaio:fix-xadd-maxlen

Conversation

@chris-codaio
Copy link
Copy Markdown
Contributor

As the type stands, number types are not allowed, preventing the MAXLEN threshold and LIMIT count parameters being passed in.

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Mar 15, 2022

@chris-codaio Thank you for submitting this PR!

This is a live comment which I will keep updated.

1 package in this PR

Code Reviews

Because this is a widely-used package, a DT maintainer will need to review it before it can be merged.

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

All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 59294,
  "author": "chris-codaio",
  "headCommitOid": "3ef6f0925bb2becdafd2bb096bbe7e45f7d0d4c0",
  "mergeBaseOid": "d7d9c1d76dead09380e702d858b40432a29d8a48",
  "lastPushDate": "2022-03-15T16:42:45.000Z",
  "lastActivityDate": "2022-03-17T21:11:32.000Z",
  "mergeOfferDate": "2022-03-17T21:09:49.000Z",
  "mergeRequestDate": "2022-03-17T21:11:32.000Z",
  "mergeRequestUser": "chris-codaio",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "ioredis",
      "kind": "edit",
      "files": [
        {
          "path": "types/ioredis/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "plantain-00",
        "chrisleck",
        "aliarham11",
        "br8h",
        "palindrom615",
        "funthing",
        "iamolegga",
        "tingwai-to",
        "pettyalex",
        "SimonSchick",
        "tianlinle",
        "demian85",
        "alavers",
        "ClaudiuCeia",
        "asyrique",
        "barakplasma",
        "hannesvdvreken",
        "venku122",
        "michieldemey",
        "honeyirene",
        "DracoVirus"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "gabritto",
      "date": "2022-03-17T21:09:11.000Z",
      "isMaintainer": true
    },
    {
      "type": "approved",
      "reviewer": "plantain-00",
      "date": "2022-03-15T23:29:55.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 1068218228,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added Critical package Untested Change This PR does not touch tests labels Mar 15, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

Hey @chris-codaio,

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

🔔 @plantain-00 @chrisleck @aliarham11 @br8h @palindrom615 @funthing @iamolegga @tingwai-to @pettyalex @SimonSchick @tianlinle @demian85 @alavers @ClaudiuCeia @asyrique @barakplasma @hannesvdvreken @venku122 @MichielDeMey @honeyirene @DracoVirus — 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.

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

ioredis (unpkg)

was missing the following properties:

  1. createClient
  2. defaultOptions
  3. ScanStream
  4. Pipeline
  5. AbstractConnector
as well as these 5 other properties...

SentinelConnector, SentinelIterator, ReplyError, Promise, print

Generated by 🚫 dangerJS against 3ef6f09

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Mar 15, 2022
@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels Mar 17, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@chris-codaio: Everything looks good here. I am ready to merge this PR (at 3ef6f09) on your behalf whenever you think it's ready.

If you'd like that to happen, please post a comment saying:

Ready to merge

and I'll merge this PR almost instantly. Thanks for helping out! ❤️

(@plantain-00, @chrisleck, @aliarham11, @br8h, @palindrom615, @funthing, @iamolegga, @tingwai-to, @pettyalex, @SimonSchick, @tianlinle, @demian85, @alavers, @ClaudiuCeia, @asyrique, @barakplasma, @hannesvdvreken, @venku122, @MichielDeMey, @honeyirene, @DracoVirus: you can do this too.)

@chris-codaio
Copy link
Copy Markdown
Contributor Author

Ready to merge

@typescript-bot typescript-bot merged commit 8fc2880 into DefinitelyTyped:master Mar 17, 2022
@chris-codaio chris-codaio deleted the fix-xadd-maxlen branch March 17, 2022 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Critical package Maintainer Approved Owner Approved A listed owner of this package signed off on the pull request. Self Merge This PR can now be self-merged by the PR author or an owner Untested Change This PR does not touch tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants