Skip to content

Commit 1d04809

Browse files
committed
generate
1 parent c8ef9a6 commit 1d04809

File tree

71 files changed

+163
-1063
lines changed

Some content is hidden

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

71 files changed

+163
-1063
lines changed

docs/diff.md

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -4,72 +4,20 @@
44
The following files are improved in better-typescript-lib:
55

66
- [es5.d.ts](./diff/es5.d.ts.md)
7-
- [es2015.d.ts](./diff/es2015.d.ts.md)
8-
- [es2016.d.ts](./diff/es2016.d.ts.md)
9-
- [es2017.d.ts](./diff/es2017.d.ts.md)
10-
- [es2018.d.ts](./diff/es2018.d.ts.md)
11-
- [es2019.d.ts](./diff/es2019.d.ts.md)
12-
- [es2020.d.ts](./diff/es2020.d.ts.md)
13-
- [es2021.d.ts](./diff/es2021.d.ts.md)
14-
- [es2022.d.ts](./diff/es2022.d.ts.md)
15-
- [esnext.d.ts](./diff/esnext.d.ts.md)
167
- [dom.generated.d.ts](./diff/dom.generated.d.ts.md)
17-
- [dom.iterable.generated.d.ts](./diff/dom.iterable.generated.d.ts.md)
18-
- [webworker.generated.d.ts](./diff/webworker.generated.d.ts.md)
19-
- [webworker.importscripts.d.ts](./diff/webworker.importscripts.d.ts.md)
20-
- [webworker.iterable.generated.d.ts](./diff/webworker.iterable.generated.d.ts.md)
21-
- [scripthost.d.ts](./diff/scripthost.d.ts.md)
228
- [es2015.core.d.ts](./diff/es2015.core.d.ts.md)
239
- [es2015.collection.d.ts](./diff/es2015.collection.d.ts.md)
2410
- [es2015.generator.d.ts](./diff/es2015.generator.d.ts.md)
2511
- [es2015.iterable.d.ts](./diff/es2015.iterable.d.ts.md)
2612
- [es2015.promise.d.ts](./diff/es2015.promise.d.ts.md)
2713
- [es2015.proxy.d.ts](./diff/es2015.proxy.d.ts.md)
2814
- [es2015.reflect.d.ts](./diff/es2015.reflect.d.ts.md)
29-
- [es2015.symbol.d.ts](./diff/es2015.symbol.d.ts.md)
3015
- [es2015.symbol.wellknown.d.ts](./diff/es2015.symbol.wellknown.d.ts.md)
31-
- [es2016.array.include.d.ts](./diff/es2016.array.include.d.ts.md)
3216
- [es2017.object.d.ts](./diff/es2017.object.d.ts.md)
33-
- [es2017.sharedmemory.d.ts](./diff/es2017.sharedmemory.d.ts.md)
34-
- [es2017.string.d.ts](./diff/es2017.string.d.ts.md)
35-
- [es2017.intl.d.ts](./diff/es2017.intl.d.ts.md)
36-
- [es2017.typedarrays.d.ts](./diff/es2017.typedarrays.d.ts.md)
3717
- [es2018.asyncgenerator.d.ts](./diff/es2018.asyncgenerator.d.ts.md)
3818
- [es2018.asynciterable.d.ts](./diff/es2018.asynciterable.d.ts.md)
39-
- [es2018.regexp.d.ts](./diff/es2018.regexp.d.ts.md)
40-
- [es2018.promise.d.ts](./diff/es2018.promise.d.ts.md)
41-
- [es2018.intl.d.ts](./diff/es2018.intl.d.ts.md)
42-
- [es2019.array.d.ts](./diff/es2019.array.d.ts.md)
4319
- [es2019.object.d.ts](./diff/es2019.object.d.ts.md)
44-
- [es2019.string.d.ts](./diff/es2019.string.d.ts.md)
45-
- [es2019.symbol.d.ts](./diff/es2019.symbol.d.ts.md)
46-
- [es2019.intl.d.ts](./diff/es2019.intl.d.ts.md)
4720
- [es2020.bigint.d.ts](./diff/es2020.bigint.d.ts.md)
48-
- [es2020.date.d.ts](./diff/es2020.date.d.ts.md)
49-
- [es2020.promise.d.ts](./diff/es2020.promise.d.ts.md)
50-
- [es2020.sharedmemory.d.ts](./diff/es2020.sharedmemory.d.ts.md)
51-
- [es2020.string.d.ts](./diff/es2020.string.d.ts.md)
52-
- [es2020.symbol.wellknown.d.ts](./diff/es2020.symbol.wellknown.d.ts.md)
53-
- [es2020.intl.d.ts](./diff/es2020.intl.d.ts.md)
54-
- [es2020.number.d.ts](./diff/es2020.number.d.ts.md)
5521
- [es2021.string.d.ts](./diff/es2021.string.d.ts.md)
5622
- [es2021.promise.d.ts](./diff/es2021.promise.d.ts.md)
57-
- [es2021.weakref.d.ts](./diff/es2021.weakref.d.ts.md)
58-
- [es2021.intl.d.ts](./diff/es2021.intl.d.ts.md)
59-
- [es2022.array.d.ts](./diff/es2022.array.d.ts.md)
60-
- [es2022.error.d.ts](./diff/es2022.error.d.ts.md)
61-
- [es2022.intl.d.ts](./diff/es2022.intl.d.ts.md)
6223
- [es2022.object.d.ts](./diff/es2022.object.d.ts.md)
63-
- [es2022.sharedmemory.d.ts](./diff/es2022.sharedmemory.d.ts.md)
64-
- [es2022.string.d.ts](./diff/es2022.string.d.ts.md)
65-
- [esnext.intl.d.ts](./diff/esnext.intl.d.ts.md)
66-
- [es5.full.d.ts](./diff/es5.full.d.ts.md)
67-
- [es2015.full.d.ts](./diff/es2015.full.d.ts.md)
68-
- [es2016.full.d.ts](./diff/es2016.full.d.ts.md)
69-
- [es2017.full.d.ts](./diff/es2017.full.d.ts.md)
70-
- [es2018.full.d.ts](./diff/es2018.full.d.ts.md)
71-
- [es2019.full.d.ts](./diff/es2019.full.d.ts.md)
72-
- [es2020.full.d.ts](./diff/es2020.full.d.ts.md)
73-
- [es2021.full.d.ts](./diff/es2021.full.d.ts.md)
74-
- [es2022.full.d.ts](./diff/es2022.full.d.ts.md)
75-
- [esnext.full.d.ts](./diff/esnext.full.d.ts.md)

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ Index: dom.generated.d.ts
55
===================================================================
66
--- dom.generated.d.ts
77
+++ dom.generated.d.ts
8-
@@ -1,4 +1,5 @@
9-
+/// <reference no-default-lib="true"/>
10-
/////////////////////////////
11-
/// Window APIs
12-
/////////////////////////////
13-
14-
@@ -2800,9 +2801,9 @@
8+
@@ -2800,9 +2800,9 @@
159
readonly bodyUsed: boolean;
1610
arrayBuffer(): Promise<ArrayBuffer>;
1711
blob(): Promise<Blob>;

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

Lines changed: 0 additions & 15 deletions
This file was deleted.

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

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ Index: es2015.collection.d.ts
55
===================================================================
66
--- es2015.collection.d.ts
77
+++ es2015.collection.d.ts
8-
@@ -1,4 +1,5 @@
9-
+/// <reference no-default-lib="true"/>
10-
interface Map<K, V> {
11-
clear(): void;
12-
/**
13-
* @returns true if an element in the Map existed and has been removed, or false if the element does not exist.
14-
@@ -6,11 +7,11 @@
8+
@@ -6,11 +6,11 @@
159
delete(key: K): boolean;
1610
/**
1711
* Executes a provided function once per each key/value pair in the Map, in insertion order.
@@ -26,7 +20,7 @@ Index: es2015.collection.d.ts
2620
/**
2721
* 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.
2822
* @returns Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
29-
@@ -30,18 +31,17 @@
23+
@@ -30,18 +30,17 @@
3024
readonly size: number;
3125
}
3226

@@ -49,7 +43,7 @@ Index: es2015.collection.d.ts
4943
get(key: K): V | undefined;
5044
has(key: K): boolean;
5145
readonly size: number;
52-
@@ -68,12 +68,12 @@
46+
@@ -68,12 +67,12 @@
5347
set(key: K, value: V): this;
5448
}
5549

@@ -65,7 +59,7 @@ Index: es2015.collection.d.ts
6559
declare var WeakMap: WeakMapConstructor;
6660

6761
interface Set<T> {
68-
@@ -90,11 +90,11 @@
62+
@@ -90,11 +89,11 @@
6963
delete(value: T): boolean;
7064
/**
7165
* Executes a provided function once per each value in the Set object, in insertion order.
@@ -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 +105,17 @@
77+
@@ -105,17 +104,17 @@
8478
readonly size: number;
8579
}
8680

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

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ Index: es2015.core.d.ts
55
===================================================================
66
--- es2015.core.d.ts
77
+++ es2015.core.d.ts
8-
@@ -1,4 +1,5 @@
9-
+/// <reference no-default-lib="true"/>
10-
interface Array<T> {
11-
/**
12-
* Returns the value of the first element in the array where predicate is true, and undefined
13-
* otherwise.
14-
@@ -7,15 +8,25 @@
8+
@@ -7,15 +7,25 @@
159
* immediately returns that element value. Otherwise, find returns undefined.
1610
* @param thisArg If provided, it will be used as the this value for each invocation of
1711
* predicate. If it is not provided, undefined is used instead.
@@ -43,7 +37,7 @@ Index: es2015.core.d.ts
4337

4438
/**
4539
* Returns the index of the first element in the array where predicate is true, and -1
46-
@@ -25,11 +36,11 @@
40+
@@ -25,11 +35,11 @@
4741
* findIndex immediately returns that element index. Otherwise, findIndex returns -1.
4842
* @param thisArg If provided, it will be used as the this value for each invocation of
4943
* predicate. If it is not provided, undefined is used instead.
@@ -58,7 +52,7 @@ Index: es2015.core.d.ts
5852

5953
/**
6054
* Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
61-
@@ -54,23 +65,23 @@
55+
@@ -54,23 +64,23 @@
6256
}
6357

6458
interface ArrayConstructor {
@@ -91,7 +85,7 @@ Index: es2015.core.d.ts
9185

9286
/**
9387
* Returns a new array from a set of elements.
94-
@@ -273,49 +284,20 @@
88+
@@ -273,49 +283,20 @@
9589
/**
9690
* Copy the values of all of the enumerable own properties from one or more source objects to a
9791
* target object. Returns the target object.
@@ -146,7 +140,7 @@ Index: es2015.core.d.ts
146140
/**
147141
* Returns the names of the enumerable string properties and methods of an object.
148142
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
149-
@@ -326,16 +308,23 @@
143+
@@ -326,16 +307,23 @@
150144
* Returns true if the values are the same value, false otherwise.
151145
* @param value1 The first value.
152146
* @param value2 The second value.
@@ -172,7 +166,7 @@ Index: es2015.core.d.ts
172166

173167
interface ReadonlyArray<T> {
174168
/**
175-
@@ -346,20 +335,25 @@
169+
@@ -346,20 +334,25 @@
176170
* immediately returns that element value. Otherwise, find returns undefined.
177171
* @param thisArg If provided, it will be used as the this value for each invocation of
178172
* predicate. If it is not provided, undefined is used instead.
@@ -209,7 +203,7 @@ Index: es2015.core.d.ts
209203

210204
/**
211205
* Returns the index of the first element in the array where predicate is true, and -1
212-
@@ -369,11 +363,11 @@
206+
@@ -369,11 +362,11 @@
213207
* findIndex immediately returns that element index. Otherwise, findIndex returns -1.
214208
* @param thisArg If provided, it will be used as the this value for each invocation of
215209
* predicate. If it is not provided, undefined is used instead.
@@ -224,7 +218,7 @@ Index: es2015.core.d.ts
224218
}
225219

226220
interface RegExp {
227-
@@ -433,26 +427,17 @@
221+
@@ -433,26 +426,17 @@
228222
* same as the corresponding elements of this object (converted to a String) starting at
229223
* endPosition – length(this). Otherwise returns false.
230224
*/

docs/diff/es2015.d.ts.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

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

Lines changed: 0 additions & 15 deletions
This file was deleted.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ Index: es2015.generator.d.ts
55
===================================================================
66
--- es2015.generator.d.ts
77
+++ es2015.generator.d.ts
8-
@@ -1,7 +1,8 @@
9-
+/// <reference no-default-lib="true"/>
8+
@@ -1,7 +1,7 @@
109
/// <reference lib="es2015.iterable" />
1110

1211
-interface Generator<T = unknown, TReturn = any, TNext = unknown>

0 commit comments

Comments
 (0)