Skip to content

Commit 28dd4e8

Browse files
committed
emit non-literal Symbol.toStringTag properties for parent interfaces
1 parent ccd4e74 commit 28dd4e8

File tree

6 files changed

+135
-7
lines changed

6 files changed

+135
-7
lines changed

baselines/audioworklet.generated.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ interface AudioWorkletProcessor {
311311
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletProcessor/port)
312312
*/
313313
readonly port: MessagePort;
314+
readonly [Symbol.toStringTag]: string;
314315
}
315316

316317
declare var AudioWorkletProcessor: {
@@ -673,6 +674,7 @@ interface Event {
673674
readonly CAPTURING_PHASE: 1;
674675
readonly AT_TARGET: 2;
675676
readonly BUBBLING_PHASE: 3;
677+
readonly [Symbol.toStringTag]: string;
676678
}
677679

678680
declare var Event: {
@@ -716,6 +718,7 @@ interface EventTarget {
716718
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
717719
*/
718720
removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
721+
readonly [Symbol.toStringTag]: string;
719722
}
720723

721724
declare var EventTarget: {
@@ -1435,6 +1438,7 @@ declare var URLSearchParams: {
14351438
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkletGlobalScope)
14361439
*/
14371440
interface WorkletGlobalScope {
1441+
readonly [Symbol.toStringTag]: string;
14381442
}
14391443

14401444
declare var WorkletGlobalScope: {

0 commit comments

Comments
 (0)