X Tutup
Skip to content

Add types for compact-encoding#70443

Merged
typescript-bot merged 2 commits intoDefinitelyTyped:masterfrom
EvanHahn:compact-encoding
Sep 7, 2024
Merged

Add types for compact-encoding#70443
typescript-bot merged 2 commits intoDefinitelyTyped:masterfrom
EvanHahn:compact-encoding

Conversation

@EvanHahn
Copy link
Contributor

@EvanHahn EvanHahn commented Sep 3, 2024

Please fill in this template.

If adding a new definition:

  • The package does not already provide its own types, or cannot have its .d.ts files generated via --declaration
  • If this is for an npm package, match the name. If not, do not conflict with the name of an npm package.
  • Create it with dts-gen --dt, not by basing it on an existing project.
  • Represents shape of module/library correctly
  • tsconfig.json should have noImplicitAny, noImplicitThis, strictNullChecks, and strictFunctionTypes set to true.

@typescript-bot
Copy link
Contributor

typescript-bot commented Sep 3, 2024

@EvanHahn Thank you for submitting this PR!

This is a live comment that I will keep updated.

1 package in this PR

Code Reviews

This PR adds a new definition, so it needs to be reviewed by a DT maintainer 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 when there are new packages added

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": 70443,
  "author": "EvanHahn",
  "headCommitOid": "ac23f7d59ba7e124d296a10222ff4cec7e574cab",
  "mergeBaseOid": "218f7c2c4e808ed87b07185e8e04e2dee16dd215",
  "lastPushDate": "2024-09-03T21:27:38.000Z",
  "lastActivityDate": "2024-09-07T12:27:32.000Z",
  "mergeOfferDate": "2024-09-06T20:24:46.000Z",
  "mergeRequestDate": "2024-09-07T12:27:32.000Z",
  "mergeRequestUser": "EvanHahn",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "compact-encoding",
      "kind": "add",
      "files": [
        {
          "path": "types/compact-encoding/.npmignore",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/compact-encoding/compact-encoding-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/compact-encoding/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/compact-encoding/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/compact-encoding/tsconfig.json",
          "kind": "package-meta",
          "suspect": "not [the expected form](https://github.com/DefinitelyTyped/DefinitelyTyped#user-content-tsconfigjson) (check: `compilerOptions.lib.0`)"
        }
      ],
      "owners": [],
      "addedOwners": [
        "EvanHahn"
      ],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "andrewbranch",
      "date": "2024-09-06T20:24:10.000Z",
      "isMaintainer": true
    }
  ],
  "mainBotCommentID": 2327470049,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added New Definition This PR creates a new definition package. Check Config Changes a module config files labels Sep 3, 2024
@typescript-bot
Copy link
Contributor

🔔 @EvanHahn — you're the only owner, but it would still be good if you find someone to review this PR in the next few days, otherwise a maintainer will look at it. (And if you do find someone, maybe even recruit them to be a second owner to make future changes easier...)

"compilerOptions": {
"module": "node16",
"lib": [
"es2020"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed for the bigint typed arrays, such as BigInt64Array. Let me know if there's a better way to pull those in.

@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels Sep 6, 2024
@typescript-bot
Copy link
Contributor

@EvanHahn: Everything looks good here. I am ready to merge this PR (at ac23f7d) 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! ❤️

@EvanHahn
Copy link
Contributor Author

EvanHahn commented Sep 7, 2024

Ready to merge

@typescript-bot typescript-bot merged commit 4d7fce0 into DefinitelyTyped:master Sep 7, 2024
daelmaak pushed a commit to daelmaak/DefinitelyTyped that referenced this pull request Sep 12, 2024
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 Maintainer Approved New Definition This PR creates a new definition package. Self Merge This PR can now be self-merged by the PR author or an owner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup