Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type definitions for nanobench #68221

Merged
merged 1 commit into from Jan 18, 2024

Conversation

EvanHahn
Copy link
Contributor

Please fill in this template.

Select one of these and delete the others:

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 Jan 16, 2024

@EvanHahn 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 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": 68221,
  "author": "EvanHahn",
  "headCommitOid": "686c21e61444940ab5ba528ee4380ace922b56c6",
  "mergeBaseOid": "52645639868fd0e137fa271d5e98d42675805205",
  "lastPushDate": "2024-01-16T21:08:55.000Z",
  "lastActivityDate": "2024-01-18T18:51:40.000Z",
  "mergeOfferDate": "2024-01-18T18:47:46.000Z",
  "mergeRequestDate": "2024-01-18T18:51:40.000Z",
  "mergeRequestUser": "EvanHahn",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "nanobench",
      "kind": "add",
      "files": [
        {
          "path": "types/nanobench/.npmignore",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/nanobench/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/nanobench/nanobench-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/nanobench/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/nanobench/tsconfig.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [],
      "addedOwners": [
        "EvanHahn"
      ],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "navya9singh",
      "date": "2024-01-18T18:47:05.000Z",
      "isMaintainer": true
    }
  ],
  "mainBotCommentID": 1894516916,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the New Definition This PR creates a new definition package. label Jan 16, 2024
@typescript-bot typescript-bot added this to Waiting for Code Reviews in New Pull Request Status Board Jan 16, 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...)

@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Maintainer Action in New Pull Request Status Board Jan 16, 2024
@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels Jan 18, 2024
@typescript-bot
Copy link
Contributor

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

@typescript-bot typescript-bot moved this from Needs Maintainer Action to Waiting for Author to Merge in New Pull Request Status Board Jan 18, 2024
@EvanHahn
Copy link
Contributor Author

Ready to merge

@typescript-bot typescript-bot moved this from Waiting for Author to Merge to Recently Merged in New Pull Request Status Board Jan 18, 2024
@typescript-bot typescript-bot merged commit 4731a4e into DefinitelyTyped:master Jan 18, 2024
3 checks passed
@EvanHahn EvanHahn deleted the nanobench branch January 19, 2024 00:03
EvanHahn added a commit to digidem/mapeo-core-next that referenced this pull request Jan 19, 2024
Types for nanobench were [recently added to DefinitelyTyped][0], so we
can use them.

The `benchmarks` directory is not currently type-checked, so this change
has no impact, but it should make it easier to type-check in the future.

[0]: DefinitelyTyped/DefinitelyTyped#68221
@typescript-bot typescript-bot removed this from Recently Merged in New Pull Request Status Board Jan 19, 2024
EvanHahn added a commit to digidem/mapeo-core-next that referenced this pull request Jan 19, 2024
Types for nanobench were [recently added to DefinitelyTyped][0], so we
can use them.

The `benchmarks` directory is not currently type-checked, so this change
has no impact, but it should make it easier to type-check in the future.

[0]: DefinitelyTyped/DefinitelyTyped#68221
EvanHahn added a commit to digidem/multi-core-indexer that referenced this pull request Jan 19, 2024
Types for nanobench were [recently added to DefinitelyTyped][0], so we
can use them.

The `benchmarks` directory is not currently type-checked, so this change
primarily impacts editor tools.

Similar to [another change in mapeo-core-next][1].

[0]: DefinitelyTyped/DefinitelyTyped#68221
[1]: digidem/mapeo-core-next#441
EvanHahn added a commit to digidem/multi-core-indexer that referenced this pull request Jan 25, 2024
Types for nanobench were [recently added to DefinitelyTyped][0], so we
can use them.

The `benchmarks` directory is not currently type-checked, so this change
primarily impacts editor tools.

Similar to [another change in mapeo-core-next][1].

[0]: DefinitelyTyped/DefinitelyTyped#68221
[1]: digidem/mapeo-core-next#441
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

None yet

3 participants