Skip to content

Commit a523b16

Browse files
committed
emit non-literal Symbol.toStringTag properties for parent interfaces
1 parent fb5f96b commit a523b16

File tree

6 files changed

+139
-7
lines changed

6 files changed

+139
-7
lines changed

baselines/audioworklet.generated.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ interface AudioWorkletProcessor {
315315
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletProcessor/port)
316316
*/
317317
readonly port: MessagePort;
318+
readonly [Symbol.toStringTag]: string;
318319
}
319320

320321
declare var AudioWorkletProcessor: {
@@ -678,6 +679,7 @@ interface Event {
678679
readonly CAPTURING_PHASE: 1;
679680
readonly AT_TARGET: 2;
680681
readonly BUBBLING_PHASE: 3;
682+
readonly [Symbol.toStringTag]: string;
681683
}
682684

683685
declare var Event: {
@@ -721,6 +723,7 @@ interface EventTarget {
721723
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
722724
*/
723725
removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
726+
readonly [Symbol.toStringTag]: string;
724727
}
725728

726729
declare var EventTarget: {
@@ -1440,6 +1443,7 @@ declare var URLSearchParams: {
14401443
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkletGlobalScope)
14411444
*/
14421445
interface WorkletGlobalScope {
1446+
readonly [Symbol.toStringTag]: string;
14431447
}
14441448

14451449
declare var WorkletGlobalScope: {

0 commit comments

Comments
 (0)