Skip to content

Commit fbfd79d

Browse files
committed
chore: apply formatting changes due to Prettier upgrade
1 parent c2eeab7 commit fbfd79d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+3346
-3213
lines changed

docs/diff/dom.generated.d.ts.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ Index: dom.generated.d.ts
1212
interface AudioParamMap {
1313
- forEach(
1414
- callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void,
15-
- thisArg?: any
15+
- thisArg?: any,
1616
+ forEach<This = undefined>(
1717
+ callbackfn: (
1818
+ this: This,
1919
+ value: AudioParam,
2020
+ key: string,
21-
+ parent: this
21+
+ parent: this,
2222
+ ) => void,
23-
+ thisArg?: This
23+
+ thisArg?: This,
2424
): void;
2525
}
2626

@@ -43,10 +43,10 @@ Index: dom.generated.d.ts
4343
interface EventCounts {
4444
- forEach(
4545
- callbackfn: (value: number, key: string, parent: EventCounts) => void,
46-
- thisArg?: any
46+
- thisArg?: any,
4747
+ forEach<This = undefined>(
4848
+ callbackfn: (this: This, value: number, key: string, parent: this) => void,
49-
+ thisArg?: This
49+
+ thisArg?: This,
5050
): void;
5151
}
5252

@@ -58,15 +58,15 @@ Index: dom.generated.d.ts
5858
load(font: string, text?: string): Promise<FontFace[]>;
5959
- forEach(
6060
- callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void,
61-
- thisArg?: any
61+
- thisArg?: any,
6262
+ forEach<This = undefined>(
6363
+ callbackfn: (
6464
+ this: This,
6565
+ value: FontFace,
6666
+ key: FontFace,
67-
+ parent: this
67+
+ parent: this,
6868
+ ) => void,
69-
+ thisArg?: This
69+
+ thisArg?: This,
7070
): void;
7171
addEventListener<K extends keyof FontFaceSetEventMap>(
7272
type: K,
@@ -78,15 +78,15 @@ Index: dom.generated.d.ts
7878
interface MIDIInputMap {
7979
- forEach(
8080
- callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void,
81-
- thisArg?: any
81+
- thisArg?: any,
8282
+ forEach<This = undefined>(
8383
+ callbackfn: (
8484
+ this: This,
8585
+ value: MIDIInput,
8686
+ key: string,
87-
+ parent: this
87+
+ parent: this,
8888
+ ) => void,
89-
+ thisArg?: This
89+
+ thisArg?: This,
9090
): void;
9191
}
9292

@@ -98,15 +98,15 @@ Index: dom.generated.d.ts
9898
interface MIDIOutputMap {
9999
- forEach(
100100
- callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void,
101-
- thisArg?: any
101+
- thisArg?: any,
102102
+ forEach<This = undefined>(
103103
+ callbackfn: (
104104
+ this: This,
105105
+ value: MIDIOutput,
106106
+ key: string,
107-
+ parent: this
107+
+ parent: this,
108108
+ ) => void,
109-
+ thisArg?: This
109+
+ thisArg?: This,
110110
): void;
111111
}
112112

@@ -118,10 +118,10 @@ Index: dom.generated.d.ts
118118
interface RTCStatsReport {
119119
- forEach(
120120
- callbackfn: (value: any, key: string, parent: RTCStatsReport) => void,
121-
- thisArg?: any
121+
- thisArg?: any,
122122
+ forEach<This = undefined>(
123123
+ callbackfn: (this: This, value: unknown, key: string, parent: this) => void,
124-
+ thisArg?: This
124+
+ thisArg?: This,
125125
): void;
126126
}
127127

docs/diff/es2015.collection.d.ts.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Index: es2015.collection.d.ts
1212
*/
1313
- forEach(
1414
- callbackfn: (value: V, key: K, map: Map<K, V>) => void,
15-
- thisArg?: any
15+
- thisArg?: any,
1616
+ forEach<This = undefined>(
1717
+ callbackfn: (this: This, value: V, key: K, map: this) => void,
18-
+ thisArg?: This
18+
+ thisArg?: This,
1919
): void;
2020
/**
2121
* Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
@@ -35,10 +35,10 @@ Index: es2015.collection.d.ts
3535
interface ReadonlyMap<K, V> {
3636
- forEach(
3737
- callbackfn: (value: V, key: K, map: ReadonlyMap<K, V>) => void,
38-
- thisArg?: any
38+
- thisArg?: any,
3939
+ forEach<This = undefined>(
4040
+ callbackfn: (this: This, value: V, key: K, map: this) => void,
41-
+ thisArg?: This
41+
+ thisArg?: This,
4242
): void;
4343
get(key: K): V | undefined;
4444
has(key: K): boolean;
@@ -50,7 +50,7 @@ Index: es2015.collection.d.ts
5050
interface WeakMapConstructor {
5151
- new <K extends WeakKey = WeakKey, V = any>(
5252
+ new <K extends WeakKey, V>(
53-
entries?: readonly (readonly [K, V])[] | null
53+
entries?: readonly (readonly [K, V])[] | null,
5454
): WeakMap<K, V>;
5555
- readonly prototype: WeakMap<WeakKey, any>;
5656
+ readonly prototype: WeakMap<WeakKey, unknown>;
@@ -65,10 +65,10 @@ Index: es2015.collection.d.ts
6565
*/
6666
- forEach(
6767
- callbackfn: (value: T, value2: T, set: Set<T>) => void,
68-
- thisArg?: any
68+
- thisArg?: any,
6969
+ forEach<This = undefined>(
7070
+ callbackfn: (this: This, value: T, value2: T, set: this) => void,
71-
+ thisArg?: This
71+
+ thisArg?: This,
7272
): void;
7373
/**
7474
* @returns a boolean indicating whether an element with the specified value exists in the Set or not.
@@ -88,10 +88,10 @@ Index: es2015.collection.d.ts
8888
interface ReadonlySet<T> {
8989
- forEach(
9090
- callbackfn: (value: T, value2: T, set: ReadonlySet<T>) => void,
91-
- thisArg?: any
91+
- thisArg?: any,
9292
+ forEach<This = undefined>(
9393
+ callbackfn: (this: This, value: T, value2: T, set: this) => void,
94-
+ thisArg?: This
94+
+ thisArg?: This,
9595
): void;
9696
has(value: T): boolean;
9797
readonly size: number;

docs/diff/es2015.core.d.ts.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ Index: es2015.core.d.ts
1212
*/
1313
- find<S extends T>(
1414
- predicate: (value: T, index: number, obj: T[]) => value is S,
15-
- thisArg?: any
15+
- thisArg?: any,
1616
+ find<S extends T, This = undefined>(
1717
+ predicate: (this: This, value: T, index: number, obj: this) => value is S,
18-
+ thisArg?: This
18+
+ thisArg?: This,
1919
): S | undefined;
2020
- find(
2121
- predicate: (value: T, index: number, obj: T[]) => unknown,
22-
- thisArg?: any
22+
- thisArg?: any,
2323
+
2424
+ /**
2525
+ * Returns the value of the first element in the array where predicate is true, and undefined
@@ -32,7 +32,7 @@ Index: es2015.core.d.ts
3232
+ */
3333
+ find<This = undefined>(
3434
+ predicate: (this: This, value: T, index: number, obj: this) => boolean,
35-
+ thisArg?: This
35+
+ thisArg?: This,
3636
): T | undefined;
3737

3838
/**
@@ -44,10 +44,10 @@ Index: es2015.core.d.ts
4444
*/
4545
- findIndex(
4646
- predicate: (value: T, index: number, obj: T[]) => unknown,
47-
- thisArg?: any
47+
- thisArg?: any,
4848
+ findIndex<This = undefined>(
4949
+ predicate: (this: This, value: T, index: number, obj: this) => boolean,
50-
+ thisArg?: This
50+
+ thisArg?: This,
5151
): number;
5252

5353
/**
@@ -76,11 +76,11 @@ Index: es2015.core.d.ts
7676
- from<T, U>(
7777
- arrayLike: ArrayLike<T>,
7878
- mapfn: (v: T, k: number) => U,
79-
- thisArg?: any
79+
- thisArg?: any,
8080
+ from<T, U, This = undefined>(
8181
+ source: ArrayLike<T>,
8282
+ mapfn: (this: This, v: T, k: number) => U,
83-
+ thisArg?: This
83+
+ thisArg?: This,
8484
): U[];
8585

8686
/**
@@ -117,7 +117,7 @@ Index: es2015.core.d.ts
117117
target: T,
118118
- source1: U,
119119
- source2: V,
120-
- source3: W
120+
- source3: W,
121121
- ): T & U & V & W;
122122
+ ...sources: Ts
123123
+ ): Intersect<[T, ...Ts]>;
@@ -173,14 +173,14 @@ Index: es2015.core.d.ts
173173
*/
174174
- find<S extends T>(
175175
- predicate: (value: T, index: number, obj: readonly T[]) => value is S,
176-
- thisArg?: any
176+
- thisArg?: any,
177177
+ find<S extends T, This = undefined>(
178178
+ predicate: (this: This, value: T, index: number, obj: this) => value is S,
179-
+ thisArg?: This
179+
+ thisArg?: This,
180180
): S | undefined;
181181
- find(
182182
- predicate: (value: T, index: number, obj: readonly T[]) => unknown,
183-
- thisArg?: any
183+
- thisArg?: any,
184184
+
185185
+ /**
186186
+ * Returns the value of the first element in the array where predicate is true, and undefined
@@ -193,7 +193,7 @@ Index: es2015.core.d.ts
193193
+ */
194194
+ find<This = undefined>(
195195
+ predicate: (this: This, value: T, index: number, obj: this) => boolean,
196-
+ thisArg?: This
196+
+ thisArg?: This,
197197
): T | undefined;
198198

199199
/**
@@ -205,10 +205,10 @@ Index: es2015.core.d.ts
205205
*/
206206
- findIndex(
207207
- predicate: (value: T, index: number, obj: readonly T[]) => unknown,
208-
- thisArg?: any
208+
- thisArg?: any,
209209
+ findIndex<This = undefined>(
210210
+ predicate: (this: This, value: T, index: number, obj: this) => boolean,
211-
+ thisArg?: This
211+
+ thisArg?: This,
212212
): number;
213213
}
214214

0 commit comments

Comments
 (0)