@@ -12,29 +12,221 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
12
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
13
PERFORMANCE OF THIS SOFTWARE.
14
14
***************************************************************************** */
15
+
16
+ /**
17
+ * Used to shim class extends.
18
+ *
19
+ * @param d The derived class.
20
+ * @param b The base class.
21
+ */
15
22
export declare function __extends ( d : Function , b : Function ) : void ;
23
+
24
+ /**
25
+ * Copy the values of all of the enumerable own properties from one or more source objects to a
26
+ * target object. Returns the target object.
27
+ *
28
+ * @param t The target object to copy to.
29
+ * @param sources One or more source objects from which to copy properties
30
+ */
16
31
export declare function __assign ( t : any , ...sources : any [ ] ) : any ;
32
+
33
+ /**
34
+ * Performs a rest spread on an object.
35
+ *
36
+ * @param t The source value.
37
+ * @param propertyNames The property names excluded from the rest spread.
38
+ */
17
39
export declare function __rest ( t : any , propertyNames : ( string | symbol ) [ ] ) : any ;
40
+
41
+ /**
42
+ * Applies decorators to a target object
43
+ *
44
+ * @param decorators The set of decorators to apply.
45
+ * @param target The target object.
46
+ * @param key If specified, the own property to apply the decorators to.
47
+ * @param desc The property descriptor, defaults to fetching the descriptor from the target object.
48
+ * @experimental
49
+ */
18
50
export declare function __decorate ( decorators : Function [ ] , target : any , key ?: string | symbol , desc ?: any ) : any ;
51
+
52
+ /**
53
+ * Creates an observing function decorator from a parameter decorator.
54
+ *
55
+ * @param paramIndex The parameter index to apply the decorator to.
56
+ * @param decorator The parameter decorator to apply. Note that the return value is ignored.
57
+ * @experimental
58
+ */
19
59
export declare function __param ( paramIndex : number , decorator : Function ) : Function ;
60
+
61
+ /**
62
+ * Creates a decorator that sets metadata.
63
+ *
64
+ * @param metadataKey The metadata key
65
+ * @param metadataValue The metadata value
66
+ * @experimental
67
+ */
20
68
export declare function __metadata ( metadataKey : any , metadataValue : any ) : Function ;
69
+
70
+ /**
71
+ * Converts a generator function into a pseudo-async function, by treating each `yield` as an `await`.
72
+ *
73
+ * @param thisArg The reference to use as the `this` value in the generator function
74
+ * @param _arguments The optional arguments array
75
+ * @param P The optional promise constructor argument, defaults to the `Promise` property of the global object.
76
+ * @param generator The generator function
77
+ */
21
78
export declare function __awaiter ( thisArg : any , _arguments : any , P : Function , generator : Function ) : any ;
79
+
80
+ /**
81
+ * Creates an Iterator object using the body as the implementation.
82
+ *
83
+ * @param thisArg The reference to use as the `this` value in the function
84
+ * @param body The generator state-machine based implementation.
85
+ *
86
+ * @see [./docs/generator.md]
87
+ */
22
88
export declare function __generator ( thisArg : any , body : Function ) : any ;
89
+
90
+ /**
91
+ * Creates bindings for all enumerable properties of `m` on `exports`
92
+ *
93
+ * @param m The source object
94
+ * @param exports The `exports` object.
95
+ */
23
96
export declare function __exportStar ( m : any , o : any ) : void ;
97
+
98
+ /**
99
+ * Creates a value iterator from an `Iterable` or `ArrayLike` object.
100
+ *
101
+ * @param o The object.
102
+ * @throws {TypeError } If `o` is neither `Iterable`, nor an `ArrayLike`.
103
+ */
24
104
export declare function __values ( o : any ) : any ;
105
+
106
+ /**
107
+ * Reads values from an `Iterable` or `ArrayLike` object and returns the resulting array.
108
+ *
109
+ * @param o The object to read from.
110
+ * @param n The maximum number of arguments to read, defaults to `Infinity`.
111
+ */
25
112
export declare function __read ( o : any , n ?: number ) : any [ ] ;
26
- /** @deprecated since TypeScript 4.2 */
113
+
114
+ /**
115
+ * Creates an array from iterable spread.
116
+ *
117
+ * @param args The Iterable objects to spread.
118
+ * @deprecated since TypeScript 4.2 - Use `__spreadArray`
119
+ */
27
120
export declare function __spread ( ...args : any [ ] [ ] ) : any [ ] ;
28
- /** @deprecated since TypeScript 4.2 */
121
+
122
+ /**
123
+ * Creates an array from array spread.
124
+ *
125
+ * @param args The ArrayLikes to spread into the resulting array.
126
+ * @deprecated since TypeScript 4.2 - Use `__spreadArray`
127
+ */
29
128
export declare function __spreadArrays ( ...args : any [ ] [ ] ) : any [ ] ;
129
+
130
+ /**
131
+ * Spreads the `from` array into the `to` array.
132
+ */
30
133
export declare function __spreadArray ( to : any [ ] , from : any [ ] ) : any [ ] ;
134
+
135
+ /**
136
+ * Creates an object that signals to `__asyncGenerator` that it shouldn't be yielded,
137
+ * and instead should be awaited and the resulting value passed back to the generator.
138
+ *
139
+ * @param v The value to await.
140
+ */
31
141
export declare function __await ( v : any ) : any ;
142
+
143
+ /**
144
+ * Converts a generator function into an async generator function, by using `yield __await`
145
+ * in place of normal `await`.
146
+ *
147
+ * @param thisArg The reference to use as the `this` value in the generator function
148
+ * @param _arguments The optional arguments array
149
+ * @param generator The generator function
150
+ */
32
151
export declare function __asyncGenerator ( thisArg : any , _arguments : any , generator : Function ) : any ;
152
+
153
+ /**
154
+ * Used to wrap a potentially async iterator in such a way so that it wraps the result
155
+ * of calling iterator methods of `o` in `__await` instances, and then yields the awaited values.
156
+ *
157
+ * @param o The potentially async iterator.
158
+ * @returns A synchronous iterator yielding `__await` instances on every odd invocation
159
+ * and returning the awaited `IteratorResult` passed to `next` every even invocation.
160
+ */
33
161
export declare function __asyncDelegator ( o : any ) : any ;
162
+
163
+ /**
164
+ * Creates a value async iterator from an `AsyncIterable`, `Iterable` or `ArrayLike` object.
165
+ *
166
+ * @param o The object.
167
+ * @throws {TypeError } If `o` is neither `AsyncIterable`, `Iterable`, nor an `ArrayLike`.
168
+ */
34
169
export declare function __asyncValues ( o : any ) : any ;
170
+
171
+ /**
172
+ * Creates a `TemplateStringsArray` frozen object from the `cooked` and `raw` arrays.
173
+ *
174
+ * @param cooked The cooked possibly-sparse array.
175
+ * @param raw The raw string content.
176
+ */
35
177
export declare function __makeTemplateObject ( cooked : string [ ] , raw : string [ ] ) : TemplateStringsArray ;
178
+
179
+ /**
180
+ * Used to shim default and named imports in ECMAScript Modules transpiled to CommonJS.
181
+ *
182
+ * ```js
183
+ * import Default, { Named, Other } from "mod";
184
+ * // or
185
+ * import { default as Default, Named, Other } from "mod";
186
+ * ```
187
+ *
188
+ * @param mod The CommonJS module exports object.
189
+ */
36
190
export declare function __importStar < T > ( mod : T ) : T ;
191
+
192
+ /**
193
+ * Used to shim default imports in ECMAScript Modules transpiled to CommonJS.
194
+ *
195
+ * ```js
196
+ * import Default from "mod";
197
+ * ```
198
+ *
199
+ * @param mod The CommonJS module exports object.
200
+ */
37
201
export declare function __importDefault < T > ( mod : T ) : T | { default : T } ;
202
+
203
+ /**
204
+ * Used to shim private class fields using a WeakMap.
205
+ *
206
+ * @param receiver The object to get the private field of.
207
+ * @param privateMap The WeakMap map of private fields.
208
+ *
209
+ * @throws {TypeError } If `privateMap` doesn't have an entry for `receiver`.
210
+ */
38
211
export declare function __classPrivateFieldGet < T extends object , V > ( receiver : T , privateMap : { has ( o : T ) : boolean , get ( o : T ) : V | undefined } ) : V ;
212
+
213
+ /**
214
+ * Used to shim private class fields using a WeakMap
215
+ *
216
+ * @param receiver The object to set the private field of.
217
+ * @param privateMap The WeakMap map of private fields.
218
+ * @param value The new value.
219
+ *
220
+ * @throws {TypeError } If `privateMap` doesn't have an entry for `receiver`.
221
+ */
39
222
export declare function __classPrivateFieldSet < T extends object , V > ( receiver : T , privateMap : { has ( o : T ) : boolean , set ( o : T , value : V ) : any } , value : V ) : V ;
223
+
224
+ /**
225
+ * Creates a re-export binding on `object` with key `objectKey` that references `target[key]`.
226
+ *
227
+ * @param object The local `exports` object.
228
+ * @param target The object to re-export from.
229
+ * @param key The property key of `target` to re-export.
230
+ * @param objectKey The property key to re-export as. Defaults to `key`.
231
+ */
40
232
export declare function __createBinding ( object : object , target : object , key : PropertyKey , objectKey ?: PropertyKey ) : void ;
0 commit comments