@@ -2517,11 +2517,17 @@ declare var AudioParam: {
2517
2517
};
2518
2518
2519
2519
interface 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
2523
2528
): void;
2524
2529
}
2530
+ // forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void;
2525
2531
2526
2532
declare var AudioParamMap: {
2527
2533
prototype: AudioParamMap;
@@ -5951,11 +5957,12 @@ declare var Event: {
5951
5957
};
5952
5958
5953
5959
interface 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
5957
5963
): void;
5958
5964
}
5965
+ // forEach(callbackfn: (value: number, key: string, parent: EventCounts) => void, thisArg?: any): void;
5959
5966
5960
5967
declare var EventCounts: {
5961
5968
prototype: EventCounts;
@@ -6331,9 +6338,14 @@ interface FontFaceSet extends EventTarget {
6331
6338
readonly status: FontFaceSetLoadStatus;
6332
6339
check(font: string, text?: string): boolean;
6333
6340
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
6337
6349
): void;
6338
6350
addEventListener<K extends keyof FontFaceSetEventMap>(
6339
6351
type: K,
@@ -6356,6 +6368,7 @@ interface FontFaceSet extends EventTarget {
6356
6368
options?: boolean | EventListenerOptions
6357
6369
): void;
6358
6370
}
6371
+ // forEach(callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, thisArg?: any): void;
6359
6372
6360
6373
declare var FontFaceSet: {
6361
6374
prototype: FontFaceSet;
@@ -11692,11 +11705,17 @@ declare var MIDIInput: {
11692
11705
11693
11706
/** Available only in secure contexts. */
11694
11707
interface 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
11698
11716
): void;
11699
11717
}
11718
+ // forEach(callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void, thisArg?: any): void;
11700
11719
11701
11720
declare var MIDIInputMap: {
11702
11721
prototype: MIDIInputMap;
@@ -11745,11 +11764,17 @@ declare var MIDIOutput: {
11745
11764
11746
11765
/** Available only in secure contexts. */
11747
11766
interface 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
11751
11775
): void;
11752
11776
}
11777
+ // forEach(callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void, thisArg?: any): void;
11753
11778
11754
11779
declare var MIDIOutputMap: {
11755
11780
prototype: MIDIOutputMap;
@@ -14683,11 +14708,12 @@ declare var RTCSessionDescription: {
14683
14708
};
14684
14709
14685
14710
interface 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
14689
14714
): void;
14690
14715
}
14716
+ // forEach(callbackfn: (value: any, key: string, parent: RTCStatsReport) => void, thisArg?: any): void;
14691
14717
14692
14718
declare var RTCStatsReport: {
14693
14719
prototype: RTCStatsReport;
0 commit comments