@@ -52,12 +52,9 @@ Index: es2015.core.d.ts
52
52
53
53
/**
54
54
* Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
55
- @@ -51,26 +61,25 @@
56
- * @param end If not specified, length of the this object is used as its default value.
57
- */
58
- copyWithin(target: number, start: number, end?: number): this;
55
+ @@ -54,23 +64,23 @@
59
56
}
60
- -
57
+
61
58
interface ArrayConstructor {
62
59
/**
63
60
- * Creates an array from an array-like object.
@@ -88,15 +85,7 @@ Index: es2015.core.d.ts
88
85
89
86
/**
90
87
* Returns a new array from a set of elements.
91
- @@ -201,44 +210,42 @@
92
- * @param x A numeric expression.
93
- */
94
- cbrt(x: number): number;
95
- }
96
- -
97
- interface NumberConstructor {
98
- /**
99
- * The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1
88
+ @@ -209,36 +219,35 @@
100
89
* that is representable as a Number value, which is approximately:
101
90
* 2.2204460492503130808472633361816 x 10−16.
102
91
*/
@@ -137,13 +126,7 @@ Index: es2015.core.d.ts
137
126
/**
138
127
* The value of the largest integer n such that n and n + 1 are both exactly representable as
139
128
* a Number value.
140
- @@ -267,51 +274,31 @@
141
- * All other strings are considered decimal.
142
- */
143
- parseInt(string: string, radix?: number): number;
144
- }
145
- -
146
- interface ObjectConstructor {
129
+ @@ -273,45 +282,26 @@
147
130
/**
148
131
* Copy the values of all of the enumerable own properties from one or more source objects to a
149
132
* target object. Returns the target object.
@@ -203,7 +186,7 @@ Index: es2015.core.d.ts
203
186
* @param o Object to retrieve the symbols from.
204
187
*/
205
188
getOwnPropertySymbols(o: any): symbol[];
206
- @@ -326,18 +313,24 @@
189
+ @@ -326,16 +316,23 @@
207
190
* Returns true if the values are the same value, false otherwise.
208
191
* @param value1 The first value.
209
192
* @param value2 The second value.
@@ -226,12 +209,10 @@ Index: es2015.core.d.ts
226
209
+ */
227
210
+ setPrototypeOf<T extends object>(o: T, proto: null): T;
228
211
}
229
- -
212
+
230
213
interface ReadonlyArray<T> {
231
214
/**
232
- * Returns the value of the first element in the array where predicate is true, and undefined
233
- * otherwise.
234
- @@ -346,20 +339,25 @@
215
+ @@ -346,20 +343,25 @@
235
216
* immediately returns that element value. Otherwise, find returns undefined.
236
217
* @param thisArg If provided, it will be used as the this value for each invocation of
237
218
* predicate. If it is not provided, undefined is used instead.
@@ -268,7 +249,7 @@ Index: es2015.core.d.ts
268
249
269
250
/**
270
251
* Returns the index of the first element in the array where predicate is true, and -1
271
- @@ -369,11 +367 ,11 @@
252
+ @@ -369,11 +371 ,11 @@
272
253
* findIndex immediately returns that element index. Otherwise, findIndex returns -1.
273
254
* @param thisArg If provided, it will be used as the this value for each invocation of
274
255
* predicate. If it is not provided, undefined is used instead.
@@ -283,17 +264,7 @@ Index: es2015.core.d.ts
283
264
}
284
265
285
266
interface RegExp {
286
- @@ -407,9 +405,8 @@
287
- interface RegExpConstructor {
288
- new (pattern: RegExp | string, flags?: string): RegExp;
289
- (pattern: RegExp | string, flags?: string): RegExp;
290
- }
291
- -
292
- interface String {
293
- /**
294
- * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point
295
- * value of the UTF-16 encoded code point starting at the string element at position pos in
296
- @@ -433,26 +430,17 @@
267
+ @@ -433,26 +435,17 @@
297
268
* same as the corresponding elements of this object (converted to a String) starting at
298
269
* endPosition – length(this). Otherwise returns false.
299
270
*/
0 commit comments