Skip to content

Update DOM types#63137

Merged
jakebailey merged 3 commits intomicrosoft:mainfrom
jakebailey:update-dom
Feb 18, 2026
Merged

Update DOM types#63137
jakebailey merged 3 commits intomicrosoft:mainfrom
jakebailey:update-dom

Conversation

@jakebailey
Copy link
Member

Rolling PR for the next DOM changes for 6.0.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Feb 13, 2026
@jakebailey
Copy link
Member Author

@typescript-bot test it

@typescript-bot
Copy link
Collaborator

typescript-bot commented Feb 13, 2026

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
test top400 ✅ Started ✅ Results
user test this ✅ Started ✅ Results
run dt ✅ Started 👀 Results
perf test this faster ✅ Started 👀 Results

@typescript-bot
Copy link
Collaborator

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
Main error:

Error: 
/mnt/vss/_work/1/DefinitelyTyped/types/deno/index.d.ts
     4:1   error  TypeScript@local compile error: 
Definitions of the following identifiers conflict with those in another file: GPUSupportedLimits, GPUSupportedFeatures, GPUAdapterInfo, GPUBuffer, GPUBufferMapState, GPUFlagsConstant, GPUMapModeFlags, GPUTexture, GPUTextureDimension, GPUTextureUsageFlags, GPUTextureView, GPUTextureViewDimension, GPUTextureAspect, GPUTextureFormat, GPUSampler, GPUBindGroupLayout, GPUBindGroup, GPUPipelineLayout, GPUCompilationMessageType, GPUShaderModule, GPUComputePipeline, GPURenderPipeline, GPUIndexFormat, GPUCommandBuffer, GPUComputePassEncoder, GPURenderPassEncoder, GPURenderBundle, GPURenderBundleEncoder, GPUQuerySet, GPUQueryType, GPUDeviceLostReason, GPUUncapturedErrorEvent, GPUColor  @definitelytyped/expect
  7987:13  error  TypeScript@local compile error: 
Subsequent variable declarations must have the same type.  Variable 'GPUOutOfMemoryError' must be of type '{ new (message: string): GPUOutOfMemoryError; prototype: GPUOutOfMemoryError; }', but here has type '{ new (message?: string | undefined): GPUOutOfMemoryError; prototype: GPUOutOfMemoryError; }'                                                                                                                                                                                                                                                                                                                                                                                               @definitelytyped/expect
  7996:13  error  TypeScript@local compile error: 
Subsequent variable declarations must have the same type.  Variable 'GPUValidationError' must be of type '{ new (message: string): GPUValidationError; prototype: GPUValidationError; }', but here has type '{ new (message?: string | undefined): GPUValidationError; prototype: GPUValidationError; }'                                                                                                                                                                                                                                                                                                                                                                                                    @definitelytyped/expect
  8005:13  error  TypeScript@local compile error: 
Subsequent variable declarations must have the same type.  Variable 'GPUInternalError' must be of type '{ new (message: string): GPUInternalError; prototype: GPUInternalError; }', but here has type '{ new (message?: string | undefined): GPUInternalError; prototype: GPUInternalError; }'                                                                                                                                                                                                                                                                                                                                                                                                              @definitelytyped/expect

✖ 4 problems (4 errors, 0 warnings)

    at combineErrorsAndWarnings (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.37_typescript@6.0.0-dev.20260213/node_modules/@definitelytyped/dtslint/dist/index.js:199:28)
    at runTests (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.37_typescript@6.0.0-dev.20260213/node_modules/@definitelytyped/dtslint/dist/index.js:191:20)

Branch error:

Error: 
/mnt/vss/_work/1/DefinitelyTyped/types/deno/index.d.ts
     4:1   error  TypeScript@local compile error: 
Definitions of the following identifiers conflict with those in another file: GPUSupportedLimits, GPUSupportedFeatures, GPUAdapterInfo, GPUDevice, GPUBuffer, GPUBufferMapState, GPUFlagsConstant, GPUMapModeFlags, GPUTexture, GPUTextureDimension, GPUTextureUsageFlags, GPUTextureView, GPUTextureViewDimension, GPUTextureAspect, GPUTextureFormat, GPUSampler, GPUBindGroupLayout, GPUBindGroup, GPUBindingResource, GPUPipelineLayout, GPUCompilationMessageType, GPUShaderModule, GPUComputePipeline, GPURenderPipeline, GPUIndexFormat, GPUCommandBuffer, GPUCommandEncoder, GPUComputePassEncoder, GPURenderPassEncoder, GPULoadOp, GPUStoreOp, GPURenderBundle, GPURenderBundleEncoder, GPUQueue, GPUQuerySet, GPUQueryType, GPUDeviceLostReason, GPUErrorFilter, GPUUncapturedErrorEvent, GPUColor, GPUOrigin3D, GPUExtent3D, GPUCanvasAlphaMode  @definitelytyped/expect
  7764:5   error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'view' must be of type 'GPUTexture | GPUTextureView', but here has type 'GPUTextureView'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 @definitelytyped/expect
  7765:5   error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'resolveTarget' must be of type 'GPUTexture | GPUTextureView | undefined', but here has type 'GPUTextureView | undefined'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @definitelytyped/expect
  7774:5   error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'view' must be of type 'GPUTexture | GPUTextureView', but here has type 'GPUTextureView'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 @definitelytyped/expect
  7987:13  error  TypeScript@local compile error: 
Subsequent variable declarations must have the same type.  Variable 'GPUOutOfMemoryError' must be of type '{ new (message: string): GPUOutOfMemoryError; prototype: GPUOutOfMemoryError; }', but here has type '{ new (message?: string | undefined): GPUOutOfMemoryError; prototype: GPUOutOfMemoryError; }'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @definitelytyped/expect
  7996:13  error  TypeScript@local compile error: 
Subsequent variable declarations must have the same type.  Variable 'GPUValidationError' must be of type '{ new (message: string): GPUValidationError; prototype: GPUValidationError; }', but here has type '{ new (message?: string | undefined): GPUValidationError; prototype: GPUValidationError; }'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     @definitelytyped/expect
  8005:13  error  TypeScript@local compile error: 
Subsequent variable declarations must have the same type.  Variable 'GPUInternalError' must be of type '{ new (message: string): GPUInternalError; prototype: GPUInternalError; }', but here has type '{ new (message?: string | undefined): GPUInternalError; prototype: GPUInternalError; }'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               @definitelytyped/expect

✖ 7 problems (7 errors, 0 warnings)

    at combineErrorsAndWarnings (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.37_typescript@6.0.0-dev.20260213/node_modules/@definitelytyped/dtslint/dist/index.js:199:28)
    at runTests (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.37_typescript@6.0.0-dev.20260213/node_modules/@definitelytyped/dtslint/dist/index.js:191:20)

You can check the log here.

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the user tests with tsc comparing main and refs/pull/63137/merge:

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Git clone failed"

Otherwise...

Everything looks good!

@typescript-bot
Copy link
Collaborator

@jakebailey
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-Unions - node (v18.15.0, x64)
Errors 3 3 ~ ~ ~ p=1.000 n=6
Symbols 82,521 82,521 ~ ~ ~ p=1.000 n=6
Types 125,280 125,280 ~ ~ ~ p=1.000 n=6
Memory used 275,039k (± 0.54%) 276,159k (± 0.69%) ~ 274,398k 278,019k p=0.575 n=6
Parse Time 1.31s (± 0.75%) 1.30s (± 0.94%) ~ 1.29s 1.32s p=0.531 n=6
Bind Time 0.75s (± 0.68%) 0.75s (± 0.68%) ~ 0.75s 0.76s p=1.000 n=6
Check Time 14.21s (± 1.07%) 14.11s (± 0.45%) ~ 14.03s 14.19s p=0.173 n=6
Emit Time 2.65s (± 0.63%) 2.66s (± 0.15%) ~ 2.66s 2.67s p=0.101 n=6
Total Time 18.92s (± 0.89%) 18.82s (± 0.37%) ~ 18.74s 18.91s p=0.377 n=6
angular-1 - node (v18.15.0, x64)
Errors 3 3 ~ ~ ~ p=1.000 n=6
Symbols 957,952 958,548 +596 (+ 0.06%) ~ ~ p=0.001 n=6
Types 416,021 416,029 +8 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 1,259,081k (± 0.00%) 1,259,919k (± 0.00%) +838k (+ 0.07%) 1,259,829k 1,259,965k p=0.005 n=6
Parse Time 6.54s (± 0.78%) 6.53s (± 0.62%) ~ 6.49s 6.58s p=1.000 n=6
Bind Time 1.98s (± 0.26%) 1.98s (± 0.61%) ~ 1.97s 2.00s p=1.000 n=6
Check Time 32.38s (± 0.31%) 32.38s (± 0.29%) ~ 32.23s 32.48s p=0.748 n=6
Emit Time 15.03s (± 0.88%) 15.09s (± 0.33%) ~ 15.06s 15.19s p=0.296 n=6
Total Time 55.93s (± 0.18%) 55.99s (± 0.22%) ~ 55.80s 56.16s p=0.423 n=6
mui-docs - node (v18.15.0, x64)
Errors 11,439 11,439 ~ ~ ~ p=1.000 n=6
Symbols 2,703,198 2,703,434 +236 (+ 0.01%) ~ ~ p=0.001 n=6
Types 930,971 930,976 +5 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 3,043,838k (± 0.00%) 3,044,099k (± 0.00%) +261k (+ 0.01%) 3,044,020k 3,044,150k p=0.005 n=6
Parse Time 8.55s (± 0.44%) 8.54s (± 0.23%) ~ 8.51s 8.56s p=0.421 n=6
Bind Time 2.30s (± 0.43%) 2.31s (± 0.45%) ~ 2.30s 2.33s p=0.065 n=6
Check Time 95.32s (± 0.25%) 95.05s (± 0.57%) ~ 94.58s 96.01s p=0.173 n=6
Emit Time 0.33s (± 2.29%) 0.33s (± 2.50%) ~ 0.31s 0.33s p=1.000 n=6
Total Time 106.50s (± 0.22%) 106.22s (± 0.50%) ~ 105.77s 107.15s p=0.230 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,253,407 1,253,407 ~ ~ ~ p=1.000 n=6
Types 260,208 260,208 ~ ~ ~ p=1.000 n=6
Memory used 2,518,786k (±11.82%) 2,517,962k (±11.84%) ~ 2,395,841k 3,127,348k p=0.128 n=6
Parse Time 5.20s (± 1.42%) 5.15s (± 1.39%) ~ 5.06s 5.23s p=0.471 n=6
Bind Time 1.84s (± 1.55%) 1.86s (± 0.94%) ~ 1.84s 1.88s p=0.118 n=6
Check Time 35.76s (± 0.49%) 35.65s (± 0.29%) ~ 35.54s 35.85s p=0.378 n=6
Emit Time 3.01s (± 2.47%) 3.01s (± 1.49%) ~ 2.97s 3.08s p=0.936 n=6
Total Time 45.82s (± 0.51%) 45.69s (± 0.27%) ~ 45.58s 45.93s p=0.261 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,253,407 1,253,407 ~ ~ ~ p=1.000 n=6
Types 260,208 260,208 ~ ~ ~ p=1.000 n=6
Memory used 3,194,334k (± 0.01%) 2,951,352k (±12.72%) ~ 2,464,833k 3,194,255k p=0.093 n=6
Parse Time 6.87s (± 0.60%) 6.80s (± 1.47%) ~ 6.67s 6.92s p=0.297 n=6
Bind Time 2.25s (± 1.18%) 2.28s (± 1.05%) ~ 2.25s 2.32s p=0.090 n=6
Check Time 43.38s (± 0.39%) 43.32s (± 0.09%) ~ 43.26s 43.36s p=0.378 n=6
Emit Time 3.51s (± 1.63%) 3.57s (± 2.97%) ~ 3.47s 3.72s p=0.521 n=6
Total Time 56.02s (± 0.22%) 55.98s (± 0.15%) ~ 55.88s 56.07s p=0.471 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 265,173 265,173 ~ ~ ~ p=1.000 n=6
Types 104,282 104,282 ~ ~ ~ p=1.000 n=6
Memory used 444,497k (± 0.02%) 444,530k (± 0.01%) ~ 444,468k 444,622k p=0.810 n=6
Parse Time 4.34s (± 0.88%) 4.35s (± 0.95%) ~ 4.31s 4.43s p=0.935 n=6
Bind Time 1.70s (± 0.91%) 1.70s (± 0.61%) ~ 1.69s 1.72s p=0.743 n=6
Check Time 23.91s (± 0.42%) 23.83s (± 0.29%) ~ 23.72s 23.90s p=0.228 n=6
Emit Time 1.92s (± 1.01%) 1.92s (± 0.87%) ~ 1.90s 1.94s p=0.934 n=6
Total Time 31.87s (± 0.35%) 31.81s (± 0.22%) ~ 31.71s 31.87s p=0.199 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 271 271 ~ ~ ~ p=1.000 n=6
Symbols 225,885 225,885 ~ ~ ~ p=1.000 n=6
Types 93,564 93,564 ~ ~ ~ p=1.000 n=6
Memory used 371,569k (± 0.02%) 371,582k (± 0.02%) ~ 371,468k 371,654k p=0.936 n=6
Parse Time 2.82s (± 0.69%) 2.83s (± 1.06%) ~ 2.78s 2.86s p=0.287 n=6
Bind Time 1.63s (± 0.90%) 1.63s (± 0.72%) ~ 1.61s 1.64s p=1.000 n=6
Check Time 17.38s (± 0.22%) 17.43s (± 0.57%) ~ 17.36s 17.63s p=0.195 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 21.83s (± 0.18%) 21.90s (± 0.52%) ~ 21.81s 22.12s p=0.228 n=6
vscode - node (v18.15.0, x64)
Errors 40 47 🔻+7 (+17.50%) ~ ~ p=0.001 n=6
Symbols 4,256,608 4,256,908 +300 (+ 0.01%) ~ ~ p=0.001 n=6
Types 1,352,620 1,352,581 -39 (- 0.00%) ~ ~ p=0.001 n=6
Memory used 4,052,785k (± 0.00%) 4,050,343k (± 0.00%) -2,442k (- 0.06%) 4,050,222k 4,050,536k p=0.005 n=6
Parse Time 16.46s (± 0.43%) 16.33s (± 0.38%) -0.12s (- 0.75%) 16.26s 16.44s p=0.016 n=6
Bind Time 5.57s (± 0.62%) 5.52s (± 0.37%) -0.05s (- 0.93%) 5.48s 5.54s p=0.019 n=6
Check Time 125.61s (± 2.35%) 125.85s (± 3.14%) ~ 122.59s 133.26s p=1.000 n=6
Emit Time 56.29s (± 9.34%) 54.63s (±10.49%) ~ 50.82s 62.63s p=0.936 n=6
Total Time 203.92s (± 3.62%) 202.33s (± 4.13%) ~ 196.47s 217.73s p=1.000 n=6
webpack - node (v18.15.0, x64)
Errors 41 41 ~ ~ ~ p=1.000 n=6
Symbols 403,278 403,532 +254 (+ 0.06%) ~ ~ p=0.001 n=6
Types 178,770 178,872 +102 (+ 0.06%) ~ ~ p=0.001 n=6
Memory used 561,219k (± 0.01%) 561,641k (± 0.04%) +422k (+ 0.08%) 561,401k 562,088k p=0.005 n=6
Parse Time 4.78s (± 0.68%) 4.79s (± 0.46%) ~ 4.76s 4.82s p=0.687 n=6
Bind Time 2.01s (± 1.72%) 2.01s (± 1.27%) ~ 1.98s 2.05s p=0.872 n=6
Check Time 24.62s (± 0.40%) 24.62s (± 0.26%) ~ 24.52s 24.70s p=0.872 n=6
Emit Time 0.01s (±77.38%) 0.01s (±167.16%) ~ 0.00s 0.02s p=0.533 n=6
Total Time 31.43s (± 0.32%) 31.43s (± 0.21%) ~ 31.34s 31.52s p=1.000 n=6
xstate-main - node (v18.15.0, x64)
Errors 30 30 ~ ~ ~ p=1.000 n=6
Symbols 762,852 763,096 +244 (+ 0.03%) ~ ~ p=0.001 n=6
Types 218,456 218,464 +8 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 683,642k (± 0.01%) 683,955k (± 0.01%) +313k (+ 0.05%) 683,906k 684,033k p=0.005 n=6
Parse Time 4.90s (± 0.92%) 4.92s (± 0.92%) ~ 4.84s 4.97s p=0.569 n=6
Bind Time 1.59s (± 0.47%) 1.59s (± 0.74%) ~ 1.57s 1.60s p=0.734 n=6
Check Time 22.62s (± 0.15%) 22.58s (± 0.23%) ~ 22.51s 22.63s p=0.253 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 29.11s (± 0.18%) 29.09s (± 0.15%) ~ 29.05s 29.14s p=0.630 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • Compiler-Unions - node (v18.15.0, x64)
  • angular-1 - node (v18.15.0, x64)
  • mui-docs - node (v18.15.0, x64)
  • self-build-src - node (v18.15.0, x64)
  • self-build-src-public-api - node (v18.15.0, x64)
  • self-compiler - node (v18.15.0, x64)
  • ts-pre-modules - node (v18.15.0, x64)
  • vscode - node (v18.15.0, x64)
  • webpack - node (v18.15.0, x64)
  • xstate-main - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Developer Information:

Download Benchmarks

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the top 400 repos with tsc comparing main and refs/pull/63137/merge:

Everything looks good!

@jakebailey
Copy link
Member Author

@typescript-bot test top400
@typescript-bot user test this
@typescript-bot run dt

@typescript-bot
Copy link
Collaborator

typescript-bot commented Feb 17, 2026

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
test top400 ✅ Started ✅ Results
user test this ✅ Started ✅ Results
run dt ✅ Started 👀 Results

@typescript-bot
Copy link
Collaborator

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
Main error:

Error: 
/mnt/vss/_work/1/DefinitelyTyped/types/deno/index.d.ts
     4:1   error  TypeScript@local compile error: 
Definitions of the following identifiers conflict with those in another file: GPUSupportedLimits, GPUSupportedFeatures, GPUAdapterInfo, GPUBuffer, GPUBufferMapState, GPUFlagsConstant, GPUMapModeFlags, GPUTexture, GPUTextureDimension, GPUTextureUsageFlags, GPUTextureView, GPUTextureViewDimension, GPUTextureAspect, GPUTextureFormat, GPUSampler, GPUBindGroupLayout, GPUBindGroup, GPUPipelineLayout, GPUCompilationMessageType, GPUShaderModule, GPUComputePipeline, GPURenderPipeline, GPUIndexFormat, GPUCommandBuffer, GPUComputePassEncoder, GPURenderPassEncoder, GPURenderBundle, GPURenderBundleEncoder, GPUQuerySet, GPUQueryType, GPUDeviceLostReason, GPUUncapturedErrorEvent, GPUColor  @definitelytyped/expect
  7987:13  error  TypeScript@local compile error: 
Subsequent variable declarations must have the same type.  Variable 'GPUOutOfMemoryError' must be of type '{ new (message: string): GPUOutOfMemoryError; prototype: GPUOutOfMemoryError; }', but here has type '{ new (message?: string | undefined): GPUOutOfMemoryError; prototype: GPUOutOfMemoryError; }'                                                                                                                                                                                                                                                                                                                                                                                               @definitelytyped/expect
  7996:13  error  TypeScript@local compile error: 
Subsequent variable declarations must have the same type.  Variable 'GPUValidationError' must be of type '{ new (message: string): GPUValidationError; prototype: GPUValidationError; }', but here has type '{ new (message?: string | undefined): GPUValidationError; prototype: GPUValidationError; }'                                                                                                                                                                                                                                                                                                                                                                                                    @definitelytyped/expect
  8005:13  error  TypeScript@local compile error: 
Subsequent variable declarations must have the same type.  Variable 'GPUInternalError' must be of type '{ new (message: string): GPUInternalError; prototype: GPUInternalError; }', but here has type '{ new (message?: string | undefined): GPUInternalError; prototype: GPUInternalError; }'                                                                                                                                                                                                                                                                                                                                                                                                              @definitelytyped/expect

✖ 4 problems (4 errors, 0 warnings)

    at combineErrorsAndWarnings (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.38_typescript@6.0.0-dev.20260217/node_modules/@definitelytyped/dtslint/dist/index.js:199:28)
    at runTests (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.38_typescript@6.0.0-dev.20260217/node_modules/@definitelytyped/dtslint/dist/index.js:191:20)

Branch error:

Error: 
/mnt/vss/_work/1/DefinitelyTyped/types/deno/index.d.ts
     4:1   error  TypeScript@local compile error: 
Definitions of the following identifiers conflict with those in another file: GPUSupportedLimits, GPUSupportedFeatures, GPUAdapterInfo, GPU, GPUPowerPreference, GPUAdapter, GPUFeatureName, GPUDevice, GPUBuffer, GPUBufferMapState, GPUBufferUsageFlags, GPUFlagsConstant, GPUMapModeFlags, GPUTexture, GPUTextureDimension, GPUTextureUsageFlags, GPUTextureView, GPUTextureViewDimension, GPUTextureAspect, GPUTextureFormat, GPUSampler, GPUAddressMode, GPUFilterMode, GPUMipmapFilterMode, GPUCompareFunction, GPUBindGroupLayout, GPUShaderStageFlags, GPUBufferBindingType, GPUSamplerBindingType, GPUTextureSampleType, GPUStorageTextureAccess, GPUBindGroup, GPUBindingResource, GPUPipelineLayout, GPUCompilationMessageType, GPUShaderModule, GPUAutoLayoutMode, GPUComputePipeline, GPURenderPipeline, GPUPrimitiveTopology, GPUFrontFace, GPUCullMode, GPUColorWriteFlags, GPUBlendFactor, GPUBlendOperation, GPUStencilOperation, GPUIndexFormat, GPUVertexFormat, GPUVertexStepMode, GPUCommandBuffer, GPUCommandEncoder, GPUComputePassEncoder, GPURenderPassEncoder, GPULoadOp, GPUStoreOp, GPURenderBundle, GPURenderBundleEncoder, GPUQueue, GPUQuerySet, GPUQueryType, GPUDeviceLostReason, GPUErrorFilter, GPUUncapturedErrorEvent, GPUColor, GPUOrigin3D, GPUExtent3D, GPUCanvasAlphaMode  @definitelytyped/expect
  7065:5   error  TypeScript@local compile error: 
All declarations of 'access' must have identical modifiers                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @definitelytyped/expect
  7065:5   error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'access' must be of type 'GPUStorageTextureAccess | undefined', but here has type 'GPUStorageTextureAccess'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     @definitelytyped/expect
  7107:5   error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'bindGroupLayouts' must be of type '(GPUBindGroupLayout | null)[]', but here has type 'GPUBindGroupLayout[]'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @definitelytyped/expect
  7764:5   error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'view' must be of type 'GPUTexture | GPUTextureView', but here has type 'GPUTextureView'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @definitelytyped/expect
  7765:5   error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'resolveTarget' must be of type 'GPUTexture | GPUTextureView | undefined', but here has type 'GPUTextureView | undefined'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       @definitelytyped/expect
  7774:5   error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'view' must be of type 'GPUTexture | GPUTextureView', but here has type 'GPUTextureView'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @definitelytyped/expect
  7987:13  error  TypeScript@local compile error: 
Subsequent variable declarations must have the same type.  Variable 'GPUOutOfMemoryError' must be of type '{ new (message: string): GPUOutOfMemoryError; prototype: GPUOutOfMemoryError; }', but here has type '{ new (message?: string | undefined): GPUOutOfMemoryError; prototype: GPUOutOfMemoryError; }'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       @definitelytyped/expect
  7996:13  error  TypeScript@local compile error: 
Subsequent variable declarations must have the same type.  Variable 'GPUValidationError' must be of type '{ new (message: string): GPUValidationError; prototype: GPUValidationError; }', but here has type '{ new (message?: string | undefined): GPUValidationError; prototype: GPUValidationError; }'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @definitelytyped/expect
  8005:13  error  TypeScript@local compile error: 
Subsequent variable declarations must have the same type.  Variable 'GPUInternalError' must be of type '{ new (message: string): GPUInternalError; prototype: GPUInternalError; }', but here has type '{ new (message?: string | undefined): GPUInternalError; prototype: GPUInternalError; }'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @definitelytyped/expect

✖ 10 problems (10 errors, 0 warnings)

    at combineErrorsAndWarnings (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.38_typescript@6.0.0-dev.20260217/node_modules/@definitelytyped/dtslint/dist/index.js:199:28)
    at runTests (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.38_typescript@6.0.0-dev.20260217/node_modules/@definitelytyped/dtslint/dist/index.js:191:20)

You can check the log here.

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the user tests with tsc comparing main and refs/pull/63137/merge:

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Git clone failed"

Otherwise...

Everything looks good!

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the top 400 repos with tsc comparing main and refs/pull/63137/merge:

Everything looks good!

@jakebailey jakebailey marked this pull request as ready for review February 18, 2026 17:35
Copilot AI review requested due to automatic review settings February 18, 2026 17:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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

@jakebailey jakebailey added this pull request to the merge queue Feb 18, 2026
Merged via the queue into microsoft:main with commit 3472548 Feb 18, 2026
29 checks passed
@jakebailey jakebailey deleted the update-dom branch February 18, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments