Skip to content

Update @types/deno to 2.7#75009

Open
bartlomieju wants to merge 1 commit into
DefinitelyTyped:masterfrom
bartlomieju:update-deno-2.7
Open

Update @types/deno to 2.7#75009
bartlomieju wants to merge 1 commit into
DefinitelyTyped:masterfrom
bartlomieju:update-deno-2.7

Conversation

@bartlomieju
Copy link
Copy Markdown

@bartlomieju bartlomieju commented May 15, 2026

Generated from the installed stable Deno binary:

deno 2.7.14 (stable, release, aarch64-apple-darwin)
v8 14.7.173.20-rusty
typescript 5.9.2

The initial version of this PR was generated with Deno's repository script, which builds and uses the local source checkout. This revision bypasses the source checkout and uses deno types from stable 2.7.14 directly.

This keeps the generated WebGPU declarations for TypeScript <=5.9 via a versioned ts5.9 directory, while the default TypeScript 6 entry relies on the WebGPU declarations now present in lib.dom to avoid duplicate global conflicts.

Closes denoland/deno#34082

Tested with:

pnpm test deno

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented May 15, 2026

@bartlomieju 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 that 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 passed
  • 🕐 A DT maintainer needs to approve changes that 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": 75009,
  "author": "bartlomieju",
  "headCommitOid": "158c0978a9e6e350b6c0de4505ed351229c56bcd",
  "mergeBaseOid": "ca06abb4cc3399ea070c122be329a22f1c3b6800",
  "lastPushDate": "2026-05-15T17:03:31.000Z",
  "lastActivityDate": "2026-05-15T18:30:50.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "tooManyFiles": false,
  "hugeChange": true,
  "tooManyCommits": false,
  "tooManyReviews": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "deno",
      "kind": "edit",
      "files": [
        {
          "path": "types/deno/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/deno/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/deno/ts5.9/deno-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/deno/ts5.9/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/deno/ts5.9/tsconfig.json",
          "kind": "package-meta",
          "suspect": "not [the expected form](https://github.com/DefinitelyTyped/DefinitelyTyped#user-content-tsconfigjson) (check: `compilerOptions.lib.0`)"
        }
      ],
      "owners": [
        "dsherret",
        "bartlomieju"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "dsherret",
      "date": "2026-05-15T18:30:50.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 4461714253,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added Author is Owner The author of this PR is a listed owner of the package. Check Config Changes a module config files Huge Change labels May 15, 2026
@typescript-bot
Copy link
Copy Markdown
Contributor

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

@typescript-bot typescript-bot moved this to Waiting for Code Reviews in Pull Request Status Board May 15, 2026
@bartlomieju
Copy link
Copy Markdown
Author

This keeps the generated WebGPU declarations for TypeScript <=5.9 via a versioned ts5.9 directory, while the default TypeScript 6 entry relies on the WebGPU declarations now present in lib.dom to avoid duplicate global conflicts.

I'm honestly not sure if this is the right approach here.

@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Maintainer Review in Pull Request Status Board May 15, 2026
Copy link
Copy Markdown
Contributor

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

I'm honestly not sure if this is the right approach here.

Yes, I think so.

LGTM

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author is Owner The author of this PR is a listed owner of the package. Check Config Changes a module config files Huge Change Owner Approved A listed owner of this package signed off on the pull request.

Projects

Status: Needs Maintainer Review

Development

Successfully merging this pull request may close these issues.

Update npm:@types/deno for 2.7

3 participants