@@ -2517,11 +2517,17 @@ declare var AudioParam: {
25172517};
25182518
25192519interface AudioParamMap {
2520- forEach(
2521- callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void,
2522- thisArg?: any
2520+ forEach<This = undefined>(
2521+ callbackfn: (
2522+ this: This,
2523+ value: AudioParam,
2524+ key: string,
2525+ parent: this
2526+ ) => void,
2527+ thisArg?: This
25232528 ): void;
25242529}
2530+ // forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void;
25252531
25262532declare var AudioParamMap: {
25272533 prototype: AudioParamMap;
@@ -5951,11 +5957,12 @@ declare var Event: {
59515957};
59525958
59535959interface EventCounts {
5954- forEach(
5955- callbackfn: (value: number, key: string, parent: EventCounts ) => void,
5956- thisArg?: any
5960+ forEach<This = undefined> (
5961+ callbackfn: (this: This, value: number, key: string, parent: this ) => void,
5962+ thisArg?: This
59575963 ): void;
59585964}
5965+ // forEach(callbackfn: (value: number, key: string, parent: EventCounts) => void, thisArg?: any): void;
59595966
59605967declare var EventCounts: {
59615968 prototype: EventCounts;
@@ -6331,9 +6338,14 @@ interface FontFaceSet extends EventTarget {
63316338 readonly status: FontFaceSetLoadStatus;
63326339 check(font: string, text?: string): boolean;
63336340 load(font: string, text?: string): Promise<FontFace[]>;
6334- forEach(
6335- callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void,
6336- thisArg?: any
6341+ forEach<This = undefined>(
6342+ callbackfn: (
6343+ this: This,
6344+ value: FontFace,
6345+ key: FontFace,
6346+ parent: this
6347+ ) => void,
6348+ thisArg?: This
63376349 ): void;
63386350 addEventListener<K extends keyof FontFaceSetEventMap>(
63396351 type: K,
@@ -6356,6 +6368,7 @@ interface FontFaceSet extends EventTarget {
63566368 options?: boolean | EventListenerOptions
63576369 ): void;
63586370}
6371+ // forEach(callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, thisArg?: any): void;
63596372
63606373declare var FontFaceSet: {
63616374 prototype: FontFaceSet;
@@ -11692,11 +11705,17 @@ declare var MIDIInput: {
1169211705
1169311706/** Available only in secure contexts. */
1169411707interface MIDIInputMap {
11695- forEach(
11696- callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void,
11697- thisArg?: any
11708+ forEach<This = undefined>(
11709+ callbackfn: (
11710+ this: This,
11711+ value: MIDIInput,
11712+ key: string,
11713+ parent: this
11714+ ) => void,
11715+ thisArg?: This
1169811716 ): void;
1169911717}
11718+ // forEach(callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void, thisArg?: any): void;
1170011719
1170111720declare var MIDIInputMap: {
1170211721 prototype: MIDIInputMap;
@@ -11745,11 +11764,17 @@ declare var MIDIOutput: {
1174511764
1174611765/** Available only in secure contexts. */
1174711766interface MIDIOutputMap {
11748- forEach(
11749- callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void,
11750- thisArg?: any
11767+ forEach<This = undefined>(
11768+ callbackfn: (
11769+ this: This,
11770+ value: MIDIOutput,
11771+ key: string,
11772+ parent: this
11773+ ) => void,
11774+ thisArg?: This
1175111775 ): void;
1175211776}
11777+ // forEach(callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void, thisArg?: any): void;
1175311778
1175411779declare var MIDIOutputMap: {
1175511780 prototype: MIDIOutputMap;
@@ -14683,11 +14708,12 @@ declare var RTCSessionDescription: {
1468314708};
1468414709
1468514710interface RTCStatsReport {
14686- forEach(
14687- callbackfn: (value: any , key: string, parent: RTCStatsReport ) => void,
14688- thisArg?: any
14711+ forEach<This = undefined> (
14712+ callbackfn: (this: This, value: unknown , key: string, parent: this ) => void,
14713+ thisArg?: This
1468914714 ): void;
1469014715}
14716+ // forEach(callbackfn: (value: any, key: string, parent: RTCStatsReport) => void, thisArg?: any): void;
1469114717
1469214718declare var RTCStatsReport: {
1469314719 prototype: RTCStatsReport;
0 commit comments