Skip to content

Commit 49350f2

Browse files
committed
generate
1 parent 48773cb commit 49350f2

22 files changed

+5150
-3917
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Index: dom.generated.d.ts
55
===================================================================
66
--- dom.generated.d.ts
77
+++ dom.generated.d.ts
8-
@@ -2800,9 +2800,9 @@
8+
@@ -2821,9 +2821,9 @@
99
readonly bodyUsed: boolean;
1010
arrayBuffer(): Promise<ArrayBuffer>;
1111
blob(): Promise<Blob>;

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

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Index: es2015.core.d.ts
1111
* predicate. If it is not provided, undefined is used instead.
1212
*/
1313
- find<S extends T>(
14-
- predicate: (this: void, value: T, index: number, obj: T[]) => value is S,
14+
- predicate: (value: T, index: number, obj: T[]) => value is S,
1515
- thisArg?: any
1616
+ find<S extends T, This = undefined>(
1717
+ predicate: (this: This, value: T, index: number, obj: this) => value is S,
@@ -166,18 +166,13 @@ Index: es2015.core.d.ts
166166

167167
interface ReadonlyArray<T> {
168168
/**
169-
@@ -346,20 +334,25 @@
169+
@@ -346,15 +334,25 @@
170170
* immediately returns that element value. Otherwise, find returns undefined.
171171
* @param thisArg If provided, it will be used as the this value for each invocation of
172172
* predicate. If it is not provided, undefined is used instead.
173173
*/
174174
- find<S extends T>(
175-
- predicate: (
176-
- this: void,
177-
- value: T,
178-
- index: number,
179-
- obj: readonly T[]
180-
- ) => value is S,
175+
- predicate: (value: T, index: number, obj: readonly T[]) => value is S,
181176
- thisArg?: any
182177
+ find<S extends T, This = undefined>(
183178
+ predicate: (this: This, value: T, index: number, obj: this) => value is S,
@@ -203,7 +198,7 @@ Index: es2015.core.d.ts
203198

204199
/**
205200
* Returns the index of the first element in the array where predicate is true, and -1
206-
@@ -369,11 +362,11 @@
201+
@@ -364,11 +362,11 @@
207202
* findIndex immediately returns that element index. Otherwise, findIndex returns -1.
208203
* @param thisArg If provided, it will be used as the this value for each invocation of
209204
* predicate. If it is not provided, undefined is used instead.
@@ -218,7 +213,7 @@ Index: es2015.core.d.ts
218213
}
219214

220215
interface RegExp {
221-
@@ -433,26 +426,17 @@
216+
@@ -428,26 +426,17 @@
222217
* same as the corresponding elements of this object (converted to a String) starting at
223218
* endPosition – length(this). Otherwise returns false.
224219
*/

docs/diff/es2015.symbol.wellknown.d.ts.md

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,7 @@ Index: es2015.symbol.wellknown.d.ts
55
===================================================================
66
--- es2015.symbol.wellknown.d.ts
77
+++ es2015.symbol.wellknown.d.ts
8-
@@ -75,16 +75,10 @@
9-
/**
10-
* Returns an object whose properties have the value 'true'
11-
* when they will be absent when used in a 'with' statement.
12-
*/
13-
- [Symbol.unscopables](): {
14-
- copyWithin: boolean;
15-
- entries: boolean;
16-
- fill: boolean;
17-
- find: boolean;
18-
- findIndex: boolean;
19-
- keys: boolean;
20-
- values: boolean;
21-
+ readonly [Symbol.unscopables]: {
22-
+ [key: PropertyKey]: boolean;
23-
};
24-
}
25-
26-
interface Date {
27-
@@ -164,9 +158,8 @@
8+
@@ -168,9 +168,8 @@
289
* that search.
2910
* @param string A string to search within.
3011
*/
@@ -34,7 +15,7 @@ Index: es2015.symbol.wellknown.d.ts
3415
* Replaces text in a string, using this regular expression.
3516
* @param string A String object or string literal whose contents matching against
3617
* this regular expression will be replaced
37-
@@ -182,9 +175,14 @@
18+
@@ -186,9 +185,14 @@
3819
* @param replacer A function that returns the replacement text.
3920
*/
4021
[Symbol.replace](
@@ -50,7 +31,7 @@ Index: es2015.symbol.wellknown.d.ts
5031

5132
/**
5233
* Finds the position beginning first substring match in a regular expression search
53-
@@ -221,9 +219,8 @@
34+
@@ -225,9 +229,8 @@
5435
*/
5536
match(matcher: {
5637
[Symbol.match](string: string): RegExpMatchArray | null;
@@ -60,7 +41,7 @@ Index: es2015.symbol.wellknown.d.ts
6041
* Passes a string and {@linkcode replaceValue} to the `[Symbol.replace]` method on {@linkcode searchValue}. This method is expected to implement its own replacement algorithm.
6142
* @param searchValue An object that supports searching for and replacing matches within a string.
6243
* @param replaceValue The replacement text.
63-
@@ -243,12 +240,12 @@
44+
@@ -247,12 +250,12 @@
6445
replace(
6546
searchValue: {
6647
[Symbol.replace](

0 commit comments

Comments
 (0)