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

DOM update 2024-09-25 #60061

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Conversation

sandersn
Copy link
Member

@sandersn sandersn commented Sep 25, 2024

This update is almost all additions; the deprecated MutationEvent is removed, and some events have more specific types. I think this is a low-impact update.

  • new interface AddressErrors, PayerErrors, PaymentOptions, PaymentShippingOption, PaymentAddress, plus new properties in existing related types
  • new interfaces AudioData*, AudioDecoder*, AudioEncoder*, EncodedAudioChunk*, VideoEncoder*
  • various new properties in VideoConfiguration, VideoEncoder*
  • new interfaces AuthenticationExtensionPRFInputs/Outputs/Values, plus associated prf properties in AuthenticationExtensionsClientInputs/Outputs
  • new interface CarePositionFromPointOptions
  • delete interface IntersectionObserverEntryInit
  • various Media interfaces add backgroundBlur properties
  • PointerEventInit adds altitudeAngle and azimuthAngle
  • new interface CaretPosition
  • new interfaces PublicKeyCredential*, plus associated new methods
  • ARIAMixin adds properties ariaColIndexText, ariaRowIndexText
  • AnimationEventMap's remove event now has type AnimationPlaybackEvent, not just Event
  • AudioWorkletNodeEventMap's error event now has type ErrorEvent, not just Event
  • HTMLVideoElementEventMap's events now have specific type PictureInPictureEvent
  • MIDIAccessEventMap's event now have specific type MIDIConnectionEvent
  • MediaRecorderEventMap's error event now has type ErrorEvent
  • RTCDataChannelEventMap's error event now has type RTCErrorEvent
  • De/CompressionStream is no longer an empty subtype of GenericTransformStream; adds ReadableStream and WriteableStream properties
  • Document adds properties fragmentDirective, caretPositionFromPoint, currentCSSZoom
  • deprecated interface MutationEvent is removed; Document.createEvent removes MutationEvent/s overloads.
  • FontFace's constructor takes source: BufferSource instead of source: BinaryData
  • FontFaceSet's contructor no longer has initialFaces: FontFace[] parameter.
  • HTMLDetailsElement adds a property writingSuggestions 🤖
  • IntersectionObserverEntry's constructor no longer has init parameter.
  • new interface ViewTransitionUpdateCallback

Fixes #59704

Overview list of changes still to come.
@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Sep 25, 2024
@sandersn sandersn enabled auto-merge (squash) September 26, 2024 21:46
@jakebailey
Copy link
Member

@typescript-bot test it

@typescript-bot
Copy link
Collaborator

typescript-bot commented Sep 26, 2024

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:

Branch only errors:

Package: rx-dom
Error:

Error: 
/mnt/vss/_work/1/DefinitelyTyped/types/rx-dom/index.d.ts
  136:99  error  TypeScript@local compile error: 
Cannot find name 'MutationEvent'. Did you mean 'AnimationEvent'?  @definitelytyped/expect

✖ 1 problem (1 error, 0 warnings)

    at combineErrorsAndWarnings (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.23_typescript@5.7.0-dev.20240926/node_modules/@definitelytyped/dtslint/dist/index.js:194:28)
    at runTests (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.23_typescript@5.7.0-dev.20240926/node_modules/@definitelytyped/dtslint/dist/index.js:186:20)

Package: webrtc
Error:

Error: 
/mnt/vss/_work/1/DefinitelyTyped/types/webrtc/RTCPeerConnection.d.ts
  130:5  error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property '"error"' must be of type 'RTCErrorEvent', but here has type 'Event'                                                                           @definitelytyped/expect
  140:5  error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'onerror' must be of type '((this: RTCDtlsTransport, ev: RTCErrorEvent) => any) | null', but here has type 'DtlsTransportEventHandler<Event>'  @definitelytyped/expect

✖ 2 problems (2 errors, 0 warnings)

    at combineErrorsAndWarnings (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.23_typescript@5.7.0-dev.20240926/node_modules/@definitelytyped/dtslint/dist/index.js:194:28)
    at runTests (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.23_typescript@5.7.0-dev.20240926/node_modules/@definitelytyped/dtslint/dist/index.js:186:20)

Package: node
Error:

Error: 
/mnt/vss/_work/1/DefinitelyTyped/types/node/test/globals-dom.ts
  64:5  error  TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  ReadableStream<any>
got:
  ReadableStream<Uint8Array<ArrayBufferLike>>  @definitelytyped/expect
  65:5  error  TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  ReadableStream<any>
got:
  ReadableStream<Uint8Array<ArrayBufferLike>>  @definitelytyped/expect

✖ 2 problems (2 errors, 0 warnings)

    at combineErrorsAndWarnings (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.23_typescript@5.7.0-dev.20240926/node_modules/@definitelytyped/dtslint/dist/index.js:194:28)
    at runTests (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.23_typescript@5.7.0-dev.20240926/node_modules/@definitelytyped/dtslint/dist/index.js:186:20)

Package: dom-mediacapture-record
Error:

Error: 
/mnt/vss/_work/1/DefinitelyTyped/types/dom-mediacapture-record/index.d.ts
  29:6  error  TypeScript@local compile error: 
Duplicate identifier 'BitrateMode'                                                                                                                                                                                              @definitelytyped/expect
  41:5  error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'error' must be of type 'ErrorEvent', but here has type 'Event'                                                                                             @definitelytyped/expect
  57:5  error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'onerror' must be of type '((this: MediaRecorder, ev: ErrorEvent) => any) | null', but here has type '((this: MediaRecorder, event: Event) => any) | null'  @definitelytyped/expect

✖ 3 problems (3 errors, 0 warnings)

    at combineErrorsAndWarnings (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.23_typescript@5.7.0-dev.20240926/node_modules/@definitelytyped/dtslint/dist/index.js:194:28)
    at runTests (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.23_typescript@5.7.0-dev.20240926/node_modules/@definitelytyped/dtslint/dist/index.js:186:20)

Package: css-font-loading-module
Error:

Error: 
/mnt/vss/_work/1/DefinitelyTyped/types/css-font-loading-module/index.d.ts
  44:9  error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'onloading' must be of type '(this: FontFaceSet, ev: FontFaceSetLoadEvent) => any', but here has type '(this: FontFaceSet, event: Event) => any'       @definitelytyped/expect
  45:9  error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'onloadingdone' must be of type '(this: FontFaceSet, ev: FontFaceSetLoadEvent) => any', but here has type '(this: FontFaceSet, event: Event) => any'   @definitelytyped/expect
  46:9  error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'onloadingerror' must be of type '(this: FontFaceSet, ev: FontFaceSetLoadEvent) => any', but here has type '(this: FontFaceSet, event: Event) => any'  @definitelytyped/expect

✖ 3 problems (3 errors, 0 warnings)

    at combineErrorsAndWarnings (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.23_typescript@5.7.0-dev.20240926/node_modules/@definitelytyped/dtslint/dist/index.js:194:28)
    at runTests (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.23_typescript@5.7.0-dev.20240926/node_modules/@definitelytyped/dtslint/dist/index.js:186:20)

Package: dom-webcodecs
Error:

Error: 
/mnt/vss/_work/1/DefinitelyTyped/types/dom-webcodecs/test/dom-webcodecs-tests.ts
   77:5  error  TypeScript@local expected type to be:
  boolean
got:
  boolean | undefined                        @definitelytyped/expect
   79:5  error  TypeScript@local expected type to be:
  AudioDecoderConfig
got:
  AudioDecoderConfig | undefined  @definitelytyped/expect
  173:5  error  TypeScript@local expected type to be:
  boolean
got:
  boolean | undefined                        @definitelytyped/expect
  175:5  error  TypeScript@local expected type to be:
  AudioEncoderConfig
got:
  AudioEncoderConfig | undefined  @definitelytyped/expect

/mnt/vss/_work/1/DefinitelyTyped/types/dom-webcodecs/webcodecs.generated.d.ts
   34:5   error  TypeScript@local compile error: 
All declarations of 'config' must have identical modifiers                                                                                                             @definitelytyped/expect
   34:5   error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'config' must be of type 'AudioDecoderConfig | undefined', but here has type 'AudioDecoderConfig'  @definitelytyped/expect
   35:5   error  TypeScript@local compile error: 
All declarations of 'supported' must have identical modifiers                                                                                                          @definitelytyped/expect
   35:5   error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'supported' must be of type 'boolean | undefined', but here has type 'boolean'                     @definitelytyped/expect
   51:5   error  TypeScript@local compile error: 
All declarations of 'config' must have identical modifiers                                                                                                             @definitelytyped/expect
   51:5   error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'config' must be of type 'AudioEncoderConfig | undefined', but here has type 'AudioEncoderConfig'  @definitelytyped/expect
   52:5   error  TypeScript@local compile error: 
All declarations of 'supported' must have identical modifiers                                                                                                          @definitelytyped/expect
   52:5   error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'supported' must be of type 'boolean | undefined', but here has type 'boolean'                     @definitelytyped/expect
  195:14  error  TypeScript@local compile error: 
Subsequent property declarations must have the same type.  Property 'format' must be of type 'AudioSampleFormat | null', but here has type 'AudioSampleFormat'         @definitelytyped/expect
  407:6   error  TypeScript@local compile error: 
Duplicate identifier 'AudioSampleFormat'                                                                                                                               @definitelytyped/expect
  410:6   error  TypeScript@local compile error: 
Duplicate identifier 'EncodedAudioChunkType'                                                                                                                           @definitelytyped/expect

✖ 15 problems (15 errors, 0 warnings)

    at combineErrorsAndWarnings (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.23_typescript@5.7.0-dev.20240926/node_modules/@definitelytyped/dtslint/dist/index.js:194:28)
    at runTests (/mnt/vss/_work/1/DefinitelyTyped/node_modules/.pnpm/@definitelytyped+dtslint@0.2.23_typescript@5.7.0-dev.20240926/node_modules/@definitelytyped/dtslint/dist/index.js:186: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/60061/merge:

Everything looks good!

@sandersn
Copy link
Member Author

DT errors:

Polyfills that need to be updated:

  • webrtc
  • dom-webcodecs
  • dom-mediacapture-record

A user of FontFaceSet that needs to update

  • css-font-loading-module

A user of MutationEvent that needs a shim now, I guess?

  • rx-dom

Node has a broken ExpectType: ReadableStream<Uint8Array<ArrayBufferLike>>

  • node

@@ -450,6 +540,18 @@ interface ElementDefinitionOptions {
extends?: string;
}

interface EncodedAudioChunkInit {
data: AllowSharedBufferSource;
duration?: number;
Copy link
Member

Choose a reason for hiding this comment

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

Maybe this is generically wrong with the DOM types, but this is seemingly an options bag given to a constructor. Why don't all of these have | undefined?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'd have to go read the code but I'm pretty sure it's an oversight that the generator never got updated for the missing/undefined distinction.

@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 31 31 ~ ~ ~ p=1.000 n=6
Symbols 62,340 62,340 ~ ~ ~ p=1.000 n=6
Types 50,378 50,378 ~ ~ ~ p=1.000 n=6
Memory used 195,734k (± 0.70%) 195,536k (± 0.80%) ~ 192,360k 196,436k p=0.471 n=6
Parse Time 1.60s (± 1.29%) 1.62s (± 0.84%) ~ 1.60s 1.64s p=0.328 n=6
Bind Time 0.87s (± 0.87%) 0.87s (± 1.74%) ~ 0.85s 0.89s p=0.864 n=6
Check Time 11.69s (± 0.27%) 11.71s (± 0.42%) ~ 11.64s 11.79s p=0.517 n=6
Emit Time 3.40s (± 5.43%) 3.49s (± 4.09%) ~ 3.25s 3.60s p=0.688 n=6
Total Time 17.57s (± 1.11%) 17.69s (± 0.79%) ~ 17.44s 17.82s p=0.229 n=6
angular-1 - node (v18.15.0, x64)
Errors 7 33 🔻+26 (+371.43%) ~ ~ p=0.001 n=6
Symbols 947,102 947,872 +770 (+ 0.08%) ~ ~ p=0.001 n=6
Types 410,738 410,831 +93 (+ 0.02%) ~ ~ p=0.001 n=6
Memory used 1,224,158k (± 0.01%) 1,224,103k (± 0.01%) ~ 1,224,021k 1,224,177k p=0.261 n=6
Parse Time 8.11s (± 1.00%) 8.11s (± 0.52%) ~ 8.08s 8.19s p=0.936 n=6
Bind Time 2.27s (± 1.07%) 2.28s (± 0.76%) ~ 2.25s 2.30s p=0.226 n=6
Check Time 37.85s (± 0.52%) 37.84s (± 0.20%) ~ 37.71s 37.92s p=0.469 n=6
Emit Time 18.21s (± 0.74%) 18.24s (± 0.67%) ~ 18.12s 18.45s p=0.470 n=6
Total Time 66.43s (± 0.37%) 66.47s (± 0.22%) ~ 66.31s 66.73s p=0.810 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,521,651 2,521,993 +342 (+ 0.01%) ~ ~ p=0.001 n=6
Types 936,037 936,048 +11 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 2,351,990k (± 0.00%) 2,352,433k (± 0.01%) +443k (+ 0.02%) 2,352,230k 2,352,661k p=0.005 n=6
Parse Time 11.22s (± 0.47%) 11.16s (± 0.51%) ~ 11.08s 11.23s p=0.091 n=6
Bind Time 2.61s (± 0.56%) 2.63s (± 0.74%) ~ 2.60s 2.66s p=0.060 n=6
Check Time 90.71s (± 0.22%) 91.62s (± 2.95%) ~ 89.86s 97.07s p=1.000 n=6
Emit Time 0.35s (± 3.32%) 0.34s (± 3.98%) ~ 0.32s 0.36s p=0.406 n=6
Total Time 104.90s (± 0.22%) 105.75s (± 2.60%) ~ 103.99s 111.28s p=0.810 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,250,482 1,250,482 ~ ~ ~ p=1.000 n=6
Types 265,040 265,040 ~ ~ ~ p=1.000 n=6
Memory used 3,129,069k (± 0.09%) 3,128,348k (± 0.02%) ~ 3,127,507k 3,129,568k p=0.810 n=6
Parse Time 6.62s (± 1.32%) 6.61s (± 0.71%) ~ 6.58s 6.68s p=0.575 n=6
Bind Time 2.33s (± 4.56%) 2.35s (± 1.18%) ~ 2.32s 2.38s p=1.000 n=6
Check Time 42.90s (± 0.35%) 42.94s (± 0.28%) ~ 42.82s 43.12s p=1.000 n=6
Emit Time 3.42s (± 1.93%) 3.38s (± 1.73%) ~ 3.27s 3.43s p=0.520 n=6
Total Time 55.25s (± 0.39%) 55.28s (± 0.32%) ~ 54.98s 55.46s p=1.000 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,250,482 1,250,482 ~ ~ ~ p=1.000 n=6
Types 265,040 265,040 ~ ~ ~ p=1.000 n=6
Memory used 2,867,576k (±13.42%) 2,867,038k (±13.42%) ~ 2,484,946k 3,247,315k p=1.000 n=6
Parse Time 6.73s (± 2.08%) 6.81s (± 3.07%) ~ 6.59s 7.03s p=0.471 n=6
Bind Time 2.19s (± 4.53%) 2.16s (± 2.09%) ~ 2.09s 2.22s p=0.872 n=6
Check Time 43.00s (± 0.44%) 42.87s (± 0.43%) ~ 42.63s 43.04s p=0.575 n=6
Emit Time 3.36s (± 1.82%) 3.30s (± 0.70%) ~ 3.28s 3.34s p=0.090 n=6
Total Time 55.27s (± 0.45%) 55.13s (± 0.36%) ~ 54.78s 55.33s p=0.261 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 260,980 260,980 ~ ~ ~ p=1.000 n=6
Types 106,406 106,406 ~ ~ ~ p=1.000 n=6
Memory used 436,855k (± 0.01%) 436,837k (± 0.01%) ~ 436,777k 436,908k p=0.521 n=6
Parse Time 3.49s (± 0.62%) 3.50s (± 0.86%) ~ 3.46s 3.54s p=0.935 n=6
Bind Time 1.29s (± 1.42%) 1.30s (± 1.06%) ~ 1.29s 1.33s p=0.346 n=6
Check Time 18.83s (± 0.33%) 18.81s (± 0.44%) ~ 18.72s 18.91s p=0.809 n=6
Emit Time 1.49s (± 1.18%) 1.46s (± 1.96%) ~ 1.44s 1.50s p=0.157 n=6
Total Time 25.09s (± 0.24%) 25.07s (± 0.48%) ~ 24.94s 25.24s p=0.575 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 68 68 ~ ~ ~ p=1.000 n=6
Symbols 225,916 225,916 ~ ~ ~ p=1.000 n=6
Types 94,414 94,414 ~ ~ ~ p=1.000 n=6
Memory used 370,916k (± 0.02%) 370,944k (± 0.01%) ~ 370,909k 371,014k p=0.296 n=6
Parse Time 2.90s (± 1.61%) 2.89s (± 0.89%) ~ 2.86s 2.92s p=0.872 n=6
Bind Time 1.60s (± 1.10%) 1.59s (± 1.18%) ~ 1.57s 1.62s p=0.139 n=6
Check Time 16.34s (± 0.28%) 16.36s (± 0.29%) ~ 16.31s 16.42s p=0.375 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 20.84s (± 0.30%) 20.84s (± 0.18%) ~ 20.79s 20.89s p=0.872 n=6
vscode - node (v18.15.0, x64)
Errors 1 1 ~ ~ ~ p=1.000 n=6
Symbols 3,104,519 3,105,038 +519 (+ 0.02%) ~ ~ p=0.001 n=6
Types 1,070,045 1,070,237 +192 (+ 0.02%) ~ ~ p=0.001 n=6
Memory used 3,199,818k (± 0.00%) 3,200,277k (± 0.01%) +459k (+ 0.01%) 3,200,048k 3,200,487k p=0.005 n=6
Parse Time 14.20s (± 0.42%) 14.17s (± 0.21%) ~ 14.13s 14.21s p=0.336 n=6
Bind Time 4.41s (± 0.57%) 4.41s (± 0.45%) ~ 4.39s 4.44s p=1.000 n=6
Check Time 87.31s (± 3.57%) 86.12s (± 2.52%) ~ 84.13s 89.12s p=0.689 n=6
Emit Time 24.09s (± 9.35%) 24.77s (± 9.91%) ~ 22.52s 27.14s p=0.689 n=6
Total Time 130.01s (± 3.47%) 129.47s (± 2.68%) ~ 125.26s 134.68s p=0.689 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 279,071 279,481 +410 (+ 0.15%) ~ ~ p=0.001 n=6
Types 113,893 114,023 +130 (+ 0.11%) ~ ~ p=0.001 n=6
Memory used 428,661k (± 0.02%) 429,423k (± 0.03%) +761k (+ 0.18%) 429,272k 429,631k p=0.005 n=6
Parse Time 4.04s (± 0.72%) 4.06s (± 1.06%) ~ 4.00s 4.11s p=0.332 n=6
Bind Time 1.73s (± 1.19%) 1.74s (± 1.85%) ~ 1.70s 1.78s p=0.808 n=6
Check Time 18.07s (± 0.37%) 18.15s (± 0.35%) +0.08s (+ 0.42%) 18.05s 18.24s p=0.045 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 23.84s (± 0.28%) 23.95s (± 0.29%) +0.11s (+ 0.45%) 23.86s 24.05s p=0.037 n=6
xstate-main - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 540,027 540,378 +351 (+ 0.06%) ~ ~ p=0.001 n=6
Types 181,292 181,305 +13 (+ 0.01%) ~ ~ p=0.001 n=6
Memory used 483,565k (± 0.01%) 484,135k (± 0.01%) +570k (+ 0.12%) 484,090k 484,179k p=0.005 n=6
Parse Time 2.73s (± 0.45%) 2.74s (± 0.36%) ~ 2.72s 2.75s p=0.097 n=6
Bind Time 0.98s 0.98s (± 0.64%) ~ 0.97s 0.99s p=1.000 n=6
Check Time 15.94s (± 0.49%) 15.94s (± 0.34%) ~ 15.88s 16.01s p=0.808 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 19.65s (± 0.44%) 19.66s (± 0.30%) ~ 19.58s 19.72s p=0.572 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

@jakebailey
Copy link
Member

Hm, 26 new errors in the angular benchmark. Maybe that will show in the top tests, but it sounds like I should add that as a user test.

@typescript-bot
Copy link
Collaborator

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

Something interesting changed - please have a look.

Details

pixijs/pixijs

1 of 2 projects failed to build with the old tsc and were ignored

tsconfig.types.json

slab/quill

tsconfig.json

packages/quill/tsconfig.json

@jakebailey
Copy link
Member

Retesting user tests now that I added angular there explicitly:

@typescript-bot user test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Sep 26, 2024

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

Command Status Results
user test this ✅ Started ✅ Results

@typescript-bot
Copy link
Collaborator

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

Everything looks good!

@sandersn
Copy link
Member Author

I'll send PRs for the DT failures later today.

The angular result for the most recent user test run says 36 errors before, 36 after.

sandersn added a commit to sandersn/DefinitelyTyped that referenced this pull request Sep 27, 2024
CompressionStream.readable is now generic: ReadableStream<Uint8Array>.
microsoft/TypeScript#60061
sandersn added a commit to sandersn/DefinitelyTyped that referenced this pull request Sep 27, 2024
sandersn added a commit to sandersn/DefinitelyTyped that referenced this pull request Sep 27, 2024
Required by the TS 5.7 PR: microsoft/TypeScript#60061

Note that this won't pass tests until TS 5.7 is available as a version on DT.
sandersn added a commit to sandersn/DefinitelyTyped that referenced this pull request Sep 27, 2024
Required by the TS 5.7 PR: microsoft/TypeScript#60061

Note that this won't pass tests until TS 5.7 is available as a version on DT.
sandersn added a commit to sandersn/DefinitelyTyped that referenced this pull request Sep 27, 2024
sandersn added a commit to sandersn/DefinitelyTyped that referenced this pull request Sep 27, 2024
Required by the TS 5.7 PR: microsoft/TypeScript#60061

Note that this won't pass tests until TS 5.7 is available as a version on DT.
@sandersn sandersn merged commit 2c23bea into microsoft:main Sep 27, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

lib.d.ts Updates for TypeScript 5.7
3 participants