Conversation
|
@typescript-bot test it |
|
Hey @jakebailey, the results of running the DT tests are ready. There were interesting changes: Errors that changed between main and the branch:Package: deno Branch error: |
|
@jakebailey Here are the results of running the user tests with tsc comparing There were infrastructure failures potentially unrelated to your change:
Otherwise... Everything looks good! |
|
@jakebailey Here they are:
tscComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
Developer Information: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
@jakebailey Here are the results of running the top 400 repos with tsc comparing Everything looks good! |
|
@typescript-bot test top400 |
|
Hey @jakebailey, the results of running the DT tests are ready. There were interesting changes: Errors that changed between main and the branch:Package: deno Branch error: |
|
@jakebailey Here are the results of running the user tests with tsc comparing There were infrastructure failures potentially unrelated to your change:
Otherwise... Everything looks good! |
|
@jakebailey Here are the results of running the top 400 repos with tsc comparing Everything looks good! |
There was a problem hiding this comment.
Pull request overview
This PR updates DOM type definitions for TypeScript 6.0, primarily adding comprehensive WebGPU API support and several other DOM API updates. The changes represent upstream updates from the WHATWG specifications and WebGPU standards.
Changes:
- Added complete WebGPU API interfaces, types, and descriptors (GPU, GPUAdapter, GPUDevice, GPUQueue, GPUCommandEncoder, GPUCanvasContext, and 50+ related interfaces)
- Added custom element registry support to DocumentOrShadowRoot, Element, and HTMLTemplateElement
- Updated test baselines to reflect increased symbol counts due to new API additions
- Modified WebAssembly.Exception.getArg signature and removed deprecated InstallEvent interface
- Updated various interface definitions including NavigationPrecommitController, ViewTransition, and TextTrackCue
Reviewed changes
Copilot reviewed 13 out of 16 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/baselines/reference/tsxReactEmitSpreadAttribute(target=es2018).types | Updated symbol count baseline from 50,000 to 100,000 |
| tests/baselines/reference/mappedTypeRecursiveInference.errors.txt | Added customElementRegistry property to Document type in error message |
| tests/baselines/reference/jsxRuntimePragma(jsx=react-jsxdev).types | Updated symbol count baseline to 100,000 |
| tests/baselines/reference/jsxRuntimePragma(jsx=react-jsx).types | Updated symbol count baseline to 100,000 |
| tests/baselines/reference/jsxRuntimePragma(jsx=react).types | Updated symbol count baseline to 100,000 |
| tests/baselines/reference/jsxRuntimePragma(jsx=preserve).types | Updated symbol count baseline to 100,000 |
| tests/baselines/reference/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsxdev).types | Updated symbol count baseline to 100,000 |
| tests/baselines/reference/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsx).types | Updated symbol count baseline to 100,000 |
| tests/baselines/reference/jsxFragmentFactoryNoUnusedLocals.types | Updated symbol count baseline from 50,000 to 100,000 |
| tests/baselines/reference/jsxElementType.types | Updated assignability cache to 5,000 and symbol count to 100,000 |
| tests/baselines/reference/globalThisBlockscopedProperties.types | Added GPU-related types to keyof globalThis |
| tests/baselines/reference/contextuallyTypedJsxChildren.types | Updated symbol count baseline to 100,000 |
| tests/baselines/reference/checkJsxChildrenCanBeTupleType.types | Updated symbol count baseline to 100,000 |
| src/lib/webworker.generated.d.ts | Added WebGPU interfaces, NavigatorGPU, and removed InstallEvent; updated WorkerNavigator and WebAssembly.Exception |
| src/lib/dom.generated.d.ts | Added WebGPU interfaces, custom element registry support, NavigatorGPU, PushManagerAttribute; updated multiple interfaces |
Rolling PR for the next DOM changes for 6.0.