Skip to content

Commit a2a8134

Browse files
committed
commit build artifact
1 parent 79e0e33 commit a2a8134

12 files changed

+464
-631
lines changed

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

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@ Index: es2015.collection.d.ts
55
===================================================================
66
--- es2015.collection.d.ts
77
+++ es2015.collection.d.ts
8-
@@ -3,14 +3,11 @@
8+
@@ -6,11 +6,11 @@
9+
delete(key: K): boolean;
910
/**
10-
* @returns true if an element in the Map existed and has been removed, or false if the element does not exist.
11+
* Executes a provided function once per each key/value pair in the Map, in insertion order.
1112
*/
12-
delete(key: K): boolean;
13-
- /**
14-
- * Executes a provided function once per each key/value pair in the Map, in insertion order.
15-
- */
1613
- forEach(
1714
- callbackfn: (value: V, key: K, map: Map<K, V>) => void,
1815
- thisArg?: any
@@ -23,7 +20,7 @@ Index: es2015.collection.d.ts
2320
/**
2421
* 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.
2522
* @returns Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
26-
@@ -30,18 +27,17 @@
23+
@@ -30,18 +30,17 @@
2724
readonly size: number;
2825
}
2926

@@ -46,7 +43,7 @@ Index: es2015.collection.d.ts
4643
get(key: K): V | undefined;
4744
has(key: K): boolean;
4845
readonly size: number;
49-
@@ -68,12 +64,12 @@
46+
@@ -68,12 +67,12 @@
5047
set(key: K, value: V): this;
5148
}
5249

@@ -62,14 +59,11 @@ Index: es2015.collection.d.ts
6259
declare var WeakMap: WeakMapConstructor;
6360

6461
interface Set<T> {
65-
@@ -87,14 +83,11 @@
66-
* Removes a specified value from the Set.
67-
* @returns Returns true if an element in the Set existed and has been removed, or false if the element does not exist.
68-
*/
62+
@@ -90,11 +89,11 @@
6963
delete(value: T): boolean;
70-
- /**
71-
- * Executes a provided function once per each value in the Set object, in insertion order.
72-
- */
64+
/**
65+
* Executes a provided function once per each value in the Set object, in insertion order.
66+
*/
7367
- forEach(
7468
- callbackfn: (value: T, value2: T, set: Set<T>) => void,
7569
- thisArg?: any
@@ -80,7 +74,7 @@ Index: es2015.collection.d.ts
8074
/**
8175
* @returns a boolean indicating whether an element with the specified value exists in the Set or not.
8276
*/
83-
@@ -105,17 +98,17 @@
77+
@@ -105,17 +104,17 @@
8478
readonly size: number;
8579
}
8680

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

Lines changed: 67 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -28,33 +28,16 @@ Index: es2015.iterable.d.ts
2828
}
2929

3030
interface Array<T> {
31-
@@ -58,23 +57,23 @@
32-
}
33-
34-
interface ArrayConstructor {
35-
/**
36-
- * Creates an array from an iterable object.
37-
- * @param iterable An iterable object to convert to an array.
38-
+ * Creates an array from an array-like or iterable object.
39-
+ * @param source An array-like or iterable object to convert to an array.
40-
*/
41-
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
42-
+ from<T>(source: Iterable<T> | ArrayLike<T>): T[];
43-
44-
/**
45-
- * Creates an array from an iterable object.
46-
- * @param iterable An iterable object to convert to an array.
47-
+ * Creates an array from an array-like or iterable object.
48-
+ * @param source An array-like or iterable object to convert to an array.
31+
@@ -69,12 +68,12 @@
32+
* @param iterable An iterable object to convert to an array.
4933
* @param mapfn A mapping function to call on every element of the array.
5034
* @param thisArg Value of 'this' used to invoke the mapfn.
5135
*/
5236
- from<T, U>(
53-
- iterable: Iterable<T> | ArrayLike<T>,
37+
+ from<T, U, This = undefined>(
38+
iterable: Iterable<T> | ArrayLike<T>,
5439
- mapfn: (v: T, k: number) => U,
5540
- thisArg?: any
56-
+ from<T, U, This = undefined>(
57-
+ source: Iterable<T> | ArrayLike<T>,
5841
+ mapfn: (this: This, v: T, k: number) => U,
5942
+ thisArg?: This
6043
): U[];
@@ -109,14 +92,15 @@ Index: es2015.iterable.d.ts
10992
new (elements: Iterable<number>): Int8Array;
11093
-
11194
/**
112-
* Creates an array from an array-like or iterable object.
95+
- * Creates an array from an array-like or iterable object.
11396
- * @param arrayLike An array-like or iterable object to convert to an array.
114-
+ * @param source An array-like or iterable object to convert to an array.
97+
+ * Creates an array from an iterable object.
98+
+ * @param iterable An iterable object to convert to an array.
11599
+ */
116-
+ from(source: Iterable<number> | ArrayLike<number>): Int8Array;
100+
+ from(iterable: Iterable<number> | ArrayLike<number>): Int8Array;
117101
+ /**
118-
+ * Creates an array from an array-like or iterable object.
119-
+ * @param source An array-like or iterable object to convert to an array.
102+
+ * Creates an array from an iterable object.
103+
+ * @param iterable An iterable object to convert to an array.
120104
* @param mapfn A mapping function to call on every element of the array.
121105
* @param thisArg Value of 'this' used to invoke the mapfn.
122106
*/
@@ -125,7 +109,7 @@ Index: es2015.iterable.d.ts
125109
- mapfn?: (v: number, k: number) => number,
126110
- thisArg?: any
127111
+ from<T, This = undefined>(
128-
+ source: Iterable<T> | ArrayLike<T>,
112+
+ iterable: Iterable<T> | ArrayLike<T>,
129113
+ mapfn: (this: This, v: T, k: number) => number,
130114
+ thisArg?: This
131115
): Int8Array;
@@ -139,14 +123,15 @@ Index: es2015.iterable.d.ts
139123
new (elements: Iterable<number>): Uint8Array;
140124
-
141125
/**
142-
* Creates an array from an array-like or iterable object.
126+
- * Creates an array from an array-like or iterable object.
143127
- * @param arrayLike An array-like or iterable object to convert to an array.
144-
+ * @param source An array-like or iterable object to convert to an array.
128+
+ * Creates an array from an iterable object.
129+
+ * @param iterable An iterable object to convert to an array.
145130
+ */
146-
+ from(source: Iterable<number> | ArrayLike<number>): Uint8Array;
131+
+ from(iterable: Iterable<number> | ArrayLike<number>): Uint8Array;
147132
+ /**
148-
+ * Creates an array from an array-like or iterable object.
149-
+ * @param source An array-like or iterable object to convert to an array.
133+
+ * Creates an array from an iterable object.
134+
+ * @param iterable An iterable object to convert to an array.
150135
* @param mapfn A mapping function to call on every element of the array.
151136
* @param thisArg Value of 'this' used to invoke the mapfn.
152137
*/
@@ -155,7 +140,7 @@ Index: es2015.iterable.d.ts
155140
- mapfn?: (v: number, k: number) => number,
156141
- thisArg?: any
157142
+ from<T, This = undefined>(
158-
+ source: Iterable<T> | ArrayLike<T>,
143+
+ iterable: Iterable<T> | ArrayLike<T>,
159144
+ mapfn: (this: This, v: T, k: number) => number,
160145
+ thisArg?: This
161146
): Uint8Array;
@@ -169,14 +154,15 @@ Index: es2015.iterable.d.ts
169154
new (elements: Iterable<number>): Uint8ClampedArray;
170155
-
171156
/**
172-
* Creates an array from an array-like or iterable object.
157+
- * Creates an array from an array-like or iterable object.
173158
- * @param arrayLike An array-like or iterable object to convert to an array.
174-
+ * @param source An array-like or iterable object to convert to an array.
159+
+ * Creates an array from an iterable object.
160+
+ * @param iterable An iterable object to convert to an array.
175161
+ */
176-
+ from(source: Iterable<number> | ArrayLike<number>): Uint8ClampedArray;
162+
+ from(iterable: Iterable<number> | ArrayLike<number>): Uint8ClampedArray;
177163
+ /**
178-
+ * Creates an array from an array-like or iterable object.
179-
+ * @param source An array-like or iterable object to convert to an array.
164+
+ * Creates an array from an iterable object.
165+
+ * @param iterable An iterable object to convert to an array.
180166
* @param mapfn A mapping function to call on every element of the array.
181167
* @param thisArg Value of 'this' used to invoke the mapfn.
182168
*/
@@ -185,7 +171,7 @@ Index: es2015.iterable.d.ts
185171
- mapfn?: (v: number, k: number) => number,
186172
- thisArg?: any
187173
+ from<T, This = undefined>(
188-
+ source: Iterable<T> | ArrayLike<T>,
174+
+ iterable: Iterable<T> | ArrayLike<T>,
189175
+ mapfn: (this: This, v: T, k: number) => number,
190176
+ thisArg?: This
191177
): Uint8ClampedArray;
@@ -199,14 +185,15 @@ Index: es2015.iterable.d.ts
199185
new (elements: Iterable<number>): Int16Array;
200186
-
201187
/**
202-
* Creates an array from an array-like or iterable object.
188+
- * Creates an array from an array-like or iterable object.
203189
- * @param arrayLike An array-like or iterable object to convert to an array.
204-
+ * @param source An array-like or iterable object to convert to an array.
190+
+ * Creates an array from an iterable object.
191+
+ * @param iterable An iterable object to convert to an array.
205192
+ */
206-
+ from(source: Iterable<number> | ArrayLike<number>): Int16Array;
193+
+ from(iterable: Iterable<number> | ArrayLike<number>): Int16Array;
207194
+ /**
208-
+ * Creates an array from an array-like or iterable object.
209-
+ * @param source An array-like or iterable object to convert to an array.
195+
+ * Creates an array from an iterable object.
196+
+ * @param iterable An iterable object to convert to an array.
210197
* @param mapfn A mapping function to call on every element of the array.
211198
* @param thisArg Value of 'this' used to invoke the mapfn.
212199
*/
@@ -215,7 +202,7 @@ Index: es2015.iterable.d.ts
215202
- mapfn?: (v: number, k: number) => number,
216203
- thisArg?: any
217204
+ from<T, This = undefined>(
218-
+ source: Iterable<T> | ArrayLike<T>,
205+
+ iterable: Iterable<T> | ArrayLike<T>,
219206
+ mapfn: (this: This, v: T, k: number) => number,
220207
+ thisArg?: This
221208
): Int16Array;
@@ -229,14 +216,15 @@ Index: es2015.iterable.d.ts
229216
new (elements: Iterable<number>): Uint16Array;
230217
-
231218
/**
232-
* Creates an array from an array-like or iterable object.
219+
- * Creates an array from an array-like or iterable object.
233220
- * @param arrayLike An array-like or iterable object to convert to an array.
234-
+ * @param source An array-like or iterable object to convert to an array.
221+
+ * Creates an array from an iterable object.
222+
+ * @param iterable An iterable object to convert to an array.
235223
+ */
236-
+ from(source: Iterable<number> | ArrayLike<number>): Uint16Array;
224+
+ from(iterable: Iterable<number> | ArrayLike<number>): Uint16Array;
237225
+ /**
238-
+ * Creates an array from an array-like or iterable object.
239-
+ * @param source An array-like or iterable object to convert to an array.
226+
+ * Creates an array from an iterable object.
227+
+ * @param iterable An iterable object to convert to an array.
240228
* @param mapfn A mapping function to call on every element of the array.
241229
* @param thisArg Value of 'this' used to invoke the mapfn.
242230
*/
@@ -245,7 +233,7 @@ Index: es2015.iterable.d.ts
245233
- mapfn?: (v: number, k: number) => number,
246234
- thisArg?: any
247235
+ from<T, This = undefined>(
248-
+ source: Iterable<T> | ArrayLike<T>,
236+
+ iterable: Iterable<T> | ArrayLike<T>,
249237
+ mapfn: (this: This, v: T, k: number) => number,
250238
+ thisArg?: This
251239
): Uint16Array;
@@ -259,14 +247,15 @@ Index: es2015.iterable.d.ts
259247
new (elements: Iterable<number>): Int32Array;
260248
-
261249
/**
262-
* Creates an array from an array-like or iterable object.
250+
- * Creates an array from an array-like or iterable object.
263251
- * @param arrayLike An array-like or iterable object to convert to an array.
264-
+ * @param source An array-like or iterable object to convert to an array.
252+
+ * Creates an array from an iterable object.
253+
+ * @param iterable An iterable object to convert to an array.
265254
+ */
266-
+ from(source: Iterable<number> | ArrayLike<number>): Int32Array;
255+
+ from(iterable: Iterable<number> | ArrayLike<number>): Int32Array;
267256
+ /**
268-
+ * Creates an array from an array-like or iterable object.
269-
+ * @param source An array-like or iterable object to convert to an array.
257+
+ * Creates an array from an iterable object.
258+
+ * @param iterable An iterable object to convert to an array.
270259
* @param mapfn A mapping function to call on every element of the array.
271260
* @param thisArg Value of 'this' used to invoke the mapfn.
272261
*/
@@ -275,7 +264,7 @@ Index: es2015.iterable.d.ts
275264
- mapfn?: (v: number, k: number) => number,
276265
- thisArg?: any
277266
+ from<T, This = undefined>(
278-
+ source: Iterable<T> | ArrayLike<T>,
267+
+ iterable: Iterable<T> | ArrayLike<T>,
279268
+ mapfn: (this: This, v: T, k: number) => number,
280269
+ thisArg?: This
281270
): Int32Array;
@@ -289,14 +278,15 @@ Index: es2015.iterable.d.ts
289278
new (elements: Iterable<number>): Uint32Array;
290279
-
291280
/**
292-
* Creates an array from an array-like or iterable object.
281+
- * Creates an array from an array-like or iterable object.
293282
- * @param arrayLike An array-like or iterable object to convert to an array.
294-
+ * @param source An array-like or iterable object to convert to an array.
283+
+ * Creates an array from an iterable object.
284+
+ * @param iterable An iterable object to convert to an array.
295285
+ */
296-
+ from(source: Iterable<number> | ArrayLike<number>): Uint32Array;
286+
+ from(iterable: Iterable<number> | ArrayLike<number>): Uint32Array;
297287
+ /**
298-
+ * Creates an array from an array-like or iterable object.
299-
+ * @param source An array-like or iterable object to convert to an array.
288+
+ * Creates an array from an iterable object.
289+
+ * @param iterable An iterable object to convert to an array.
300290
* @param mapfn A mapping function to call on every element of the array.
301291
* @param thisArg Value of 'this' used to invoke the mapfn.
302292
*/
@@ -305,7 +295,7 @@ Index: es2015.iterable.d.ts
305295
- mapfn?: (v: number, k: number) => number,
306296
- thisArg?: any
307297
+ from<T, This = undefined>(
308-
+ source: Iterable<T> | ArrayLike<T>,
298+
+ iterable: Iterable<T> | ArrayLike<T>,
309299
+ mapfn: (this: This, v: T, k: number) => number,
310300
+ thisArg?: This
311301
): Uint32Array;
@@ -319,14 +309,15 @@ Index: es2015.iterable.d.ts
319309
new (elements: Iterable<number>): Float32Array;
320310
-
321311
/**
322-
* Creates an array from an array-like or iterable object.
312+
- * Creates an array from an array-like or iterable object.
323313
- * @param arrayLike An array-like or iterable object to convert to an array.
324-
+ * @param source An array-like or iterable object to convert to an array.
314+
+ * Creates an array from an iterable object.
315+
+ * @param iterable An iterable object to convert to an array.
325316
+ */
326-
+ from(source: Iterable<number> | ArrayLike<number>): Float32Array;
317+
+ from(iterable: Iterable<number> | ArrayLike<number>): Float32Array;
327318
+ /**
328-
+ * Creates an array from an array-like or iterable object.
329-
+ * @param source An array-like or iterable object to convert to an array.
319+
+ * Creates an array from an iterable object.
320+
+ * @param iterable An iterable object to convert to an array.
330321
* @param mapfn A mapping function to call on every element of the array.
331322
* @param thisArg Value of 'this' used to invoke the mapfn.
332323
*/
@@ -335,7 +326,7 @@ Index: es2015.iterable.d.ts
335326
- mapfn?: (v: number, k: number) => number,
336327
- thisArg?: any
337328
+ from<T, This = undefined>(
338-
+ source: Iterable<T> | ArrayLike<T>,
329+
+ iterable: Iterable<T> | ArrayLike<T>,
339330
+ mapfn: (this: This, v: T, k: number) => number,
340331
+ thisArg?: This
341332
): Float32Array;
@@ -349,14 +340,15 @@ Index: es2015.iterable.d.ts
349340
new (elements: Iterable<number>): Float64Array;
350341
-
351342
/**
352-
* Creates an array from an array-like or iterable object.
343+
- * Creates an array from an array-like or iterable object.
353344
- * @param arrayLike An array-like or iterable object to convert to an array.
354-
+ * @param source An array-like or iterable object to convert to an array.
345+
+ * Creates an array from an iterable object.
346+
+ * @param iterable An iterable object to convert to an array.
355347
+ */
356-
+ from(source: Iterable<number> | ArrayLike<number>): Float64Array;
348+
+ from(iterable: Iterable<number> | ArrayLike<number>): Float64Array;
357349
+ /**
358-
+ * Creates an array from an array-like or iterable object.
359-
+ * @param source An array-like or iterable object to convert to an array.
350+
+ * Creates an array from an iterable object.
351+
+ * @param iterable An iterable object to convert to an array.
360352
* @param mapfn A mapping function to call on every element of the array.
361353
* @param thisArg Value of 'this' used to invoke the mapfn.
362354
*/
@@ -365,7 +357,7 @@ Index: es2015.iterable.d.ts
365357
- mapfn?: (v: number, k: number) => number,
366358
- thisArg?: any
367359
+ from<T, This = undefined>(
368-
+ source: Iterable<T> | ArrayLike<T>,
360+
+ iterable: Iterable<T> | ArrayLike<T>,
369361
+ mapfn: (this: This, v: T, k: number) => number,
370362
+ thisArg?: This
371363
): Float64Array;

0 commit comments

Comments
 (0)