@schematics/angular 8.2.0-next.1 → 8.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/application/index.js +9 -2
- package/application/other-files/app.component.ts.template +1 -1
- package/application/schema.json +14 -1
- package/migrations/update-6/index.js +0 -1
- package/migrations/update-8/differential-loading.js +0 -1
- package/migrations/update-9/update-workspace-config.d.ts +4 -0
- package/migrations/update-9/update-workspace-config.js +45 -7
- package/package.json +3 -3
- package/service-worker/files/ngsw-config.json.template +1 -0
- package/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts +337 -318
- package/third_party/github.com/Microsoft/TypeScript/lib/typescript.js +11011 -9832
- package/utility/ast-utils.d.ts +3 -1
- package/utility/ast-utils.js +4 -2
- package/utility/config.d.ts +1 -1
- package/utility/json-utils.js +21 -3
- package/utility/latest-versions.js +9 -9
- package/utility/workspace-models.d.ts +2 -2
- package/workspace/files/__dot__gitignore.template +2 -2
|
@@ -14,7 +14,7 @@ and limitations under the License.
|
|
|
14
14
|
***************************************************************************** */
|
|
15
15
|
|
|
16
16
|
declare namespace ts {
|
|
17
|
-
const versionMajorMinor = "3.
|
|
17
|
+
const versionMajorMinor = "3.5";
|
|
18
18
|
/** The version of the TypeScript compiler release */
|
|
19
19
|
const version: string;
|
|
20
20
|
}
|
|
@@ -72,7 +72,7 @@ declare namespace ts {
|
|
|
72
72
|
pos: number;
|
|
73
73
|
end: number;
|
|
74
74
|
}
|
|
75
|
-
type
|
|
75
|
+
type JSDocSyntaxKind = SyntaxKind.EndOfFileToken | SyntaxKind.WhitespaceTrivia | SyntaxKind.AtToken | SyntaxKind.NewLineTrivia | SyntaxKind.AsteriskToken | SyntaxKind.OpenBraceToken | SyntaxKind.CloseBraceToken | SyntaxKind.LessThanToken | SyntaxKind.OpenBracketToken | SyntaxKind.CloseBracketToken | SyntaxKind.EqualsToken | SyntaxKind.CommaToken | SyntaxKind.DotToken | SyntaxKind.Identifier | SyntaxKind.BacktickToken | SyntaxKind.Unknown | KeywordSyntaxKind;
|
|
76
76
|
type KeywordSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.ContinueKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.DebuggerKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.DeleteKeyword | SyntaxKind.DoKeyword | SyntaxKind.ElseKeyword | SyntaxKind.EnumKeyword | SyntaxKind.ExportKeyword | SyntaxKind.ExtendsKeyword | SyntaxKind.FalseKeyword | SyntaxKind.FinallyKeyword | SyntaxKind.ForKeyword | SyntaxKind.FromKeyword | SyntaxKind.FunctionKeyword | SyntaxKind.GetKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InKeyword | SyntaxKind.InferKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.LetKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.RequireKeyword | SyntaxKind.GlobalKeyword | SyntaxKind.ReturnKeyword | SyntaxKind.SetKeyword | SyntaxKind.StaticKeyword | SyntaxKind.StringKeyword | SyntaxKind.SuperKeyword | SyntaxKind.SwitchKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.ThisKeyword | SyntaxKind.ThrowKeyword | SyntaxKind.TrueKeyword | SyntaxKind.TryKeyword | SyntaxKind.TypeKeyword | SyntaxKind.TypeOfKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.VarKeyword | SyntaxKind.VoidKeyword | SyntaxKind.WhileKeyword | SyntaxKind.WithKeyword | SyntaxKind.YieldKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.OfKeyword;
|
|
77
77
|
type JsxTokenSyntaxKind = SyntaxKind.LessThanSlashToken | SyntaxKind.EndOfFileToken | SyntaxKind.ConflictMarkerTrivia | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.OpenBraceToken | SyntaxKind.LessThanToken;
|
|
78
78
|
enum SyntaxKind {
|
|
@@ -135,281 +135,283 @@ declare namespace ts {
|
|
|
135
135
|
QuestionToken = 56,
|
|
136
136
|
ColonToken = 57,
|
|
137
137
|
AtToken = 58,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
138
|
+
/** Only the JSDoc scanner produces BacktickToken. The normal scanner produces NoSubstitutionTemplateLiteral and related kinds. */
|
|
139
|
+
BacktickToken = 59,
|
|
140
|
+
EqualsToken = 60,
|
|
141
|
+
PlusEqualsToken = 61,
|
|
142
|
+
MinusEqualsToken = 62,
|
|
143
|
+
AsteriskEqualsToken = 63,
|
|
144
|
+
AsteriskAsteriskEqualsToken = 64,
|
|
145
|
+
SlashEqualsToken = 65,
|
|
146
|
+
PercentEqualsToken = 66,
|
|
147
|
+
LessThanLessThanEqualsToken = 67,
|
|
148
|
+
GreaterThanGreaterThanEqualsToken = 68,
|
|
149
|
+
GreaterThanGreaterThanGreaterThanEqualsToken = 69,
|
|
150
|
+
AmpersandEqualsToken = 70,
|
|
151
|
+
BarEqualsToken = 71,
|
|
152
|
+
CaretEqualsToken = 72,
|
|
153
|
+
Identifier = 73,
|
|
154
|
+
BreakKeyword = 74,
|
|
155
|
+
CaseKeyword = 75,
|
|
156
|
+
CatchKeyword = 76,
|
|
157
|
+
ClassKeyword = 77,
|
|
158
|
+
ConstKeyword = 78,
|
|
159
|
+
ContinueKeyword = 79,
|
|
160
|
+
DebuggerKeyword = 80,
|
|
161
|
+
DefaultKeyword = 81,
|
|
162
|
+
DeleteKeyword = 82,
|
|
163
|
+
DoKeyword = 83,
|
|
164
|
+
ElseKeyword = 84,
|
|
165
|
+
EnumKeyword = 85,
|
|
166
|
+
ExportKeyword = 86,
|
|
167
|
+
ExtendsKeyword = 87,
|
|
168
|
+
FalseKeyword = 88,
|
|
169
|
+
FinallyKeyword = 89,
|
|
170
|
+
ForKeyword = 90,
|
|
171
|
+
FunctionKeyword = 91,
|
|
172
|
+
IfKeyword = 92,
|
|
173
|
+
ImportKeyword = 93,
|
|
174
|
+
InKeyword = 94,
|
|
175
|
+
InstanceOfKeyword = 95,
|
|
176
|
+
NewKeyword = 96,
|
|
177
|
+
NullKeyword = 97,
|
|
178
|
+
ReturnKeyword = 98,
|
|
179
|
+
SuperKeyword = 99,
|
|
180
|
+
SwitchKeyword = 100,
|
|
181
|
+
ThisKeyword = 101,
|
|
182
|
+
ThrowKeyword = 102,
|
|
183
|
+
TrueKeyword = 103,
|
|
184
|
+
TryKeyword = 104,
|
|
185
|
+
TypeOfKeyword = 105,
|
|
186
|
+
VarKeyword = 106,
|
|
187
|
+
VoidKeyword = 107,
|
|
188
|
+
WhileKeyword = 108,
|
|
189
|
+
WithKeyword = 109,
|
|
190
|
+
ImplementsKeyword = 110,
|
|
191
|
+
InterfaceKeyword = 111,
|
|
192
|
+
LetKeyword = 112,
|
|
193
|
+
PackageKeyword = 113,
|
|
194
|
+
PrivateKeyword = 114,
|
|
195
|
+
ProtectedKeyword = 115,
|
|
196
|
+
PublicKeyword = 116,
|
|
197
|
+
StaticKeyword = 117,
|
|
198
|
+
YieldKeyword = 118,
|
|
199
|
+
AbstractKeyword = 119,
|
|
200
|
+
AsKeyword = 120,
|
|
201
|
+
AnyKeyword = 121,
|
|
202
|
+
AsyncKeyword = 122,
|
|
203
|
+
AwaitKeyword = 123,
|
|
204
|
+
BooleanKeyword = 124,
|
|
205
|
+
ConstructorKeyword = 125,
|
|
206
|
+
DeclareKeyword = 126,
|
|
207
|
+
GetKeyword = 127,
|
|
208
|
+
InferKeyword = 128,
|
|
209
|
+
IsKeyword = 129,
|
|
210
|
+
KeyOfKeyword = 130,
|
|
211
|
+
ModuleKeyword = 131,
|
|
212
|
+
NamespaceKeyword = 132,
|
|
213
|
+
NeverKeyword = 133,
|
|
214
|
+
ReadonlyKeyword = 134,
|
|
215
|
+
RequireKeyword = 135,
|
|
216
|
+
NumberKeyword = 136,
|
|
217
|
+
ObjectKeyword = 137,
|
|
218
|
+
SetKeyword = 138,
|
|
219
|
+
StringKeyword = 139,
|
|
220
|
+
SymbolKeyword = 140,
|
|
221
|
+
TypeKeyword = 141,
|
|
222
|
+
UndefinedKeyword = 142,
|
|
223
|
+
UniqueKeyword = 143,
|
|
224
|
+
UnknownKeyword = 144,
|
|
225
|
+
FromKeyword = 145,
|
|
226
|
+
GlobalKeyword = 146,
|
|
227
|
+
BigIntKeyword = 147,
|
|
228
|
+
OfKeyword = 148,
|
|
229
|
+
QualifiedName = 149,
|
|
230
|
+
ComputedPropertyName = 150,
|
|
231
|
+
TypeParameter = 151,
|
|
232
|
+
Parameter = 152,
|
|
233
|
+
Decorator = 153,
|
|
234
|
+
PropertySignature = 154,
|
|
235
|
+
PropertyDeclaration = 155,
|
|
236
|
+
MethodSignature = 156,
|
|
237
|
+
MethodDeclaration = 157,
|
|
238
|
+
Constructor = 158,
|
|
239
|
+
GetAccessor = 159,
|
|
240
|
+
SetAccessor = 160,
|
|
241
|
+
CallSignature = 161,
|
|
242
|
+
ConstructSignature = 162,
|
|
243
|
+
IndexSignature = 163,
|
|
244
|
+
TypePredicate = 164,
|
|
245
|
+
TypeReference = 165,
|
|
246
|
+
FunctionType = 166,
|
|
247
|
+
ConstructorType = 167,
|
|
248
|
+
TypeQuery = 168,
|
|
249
|
+
TypeLiteral = 169,
|
|
250
|
+
ArrayType = 170,
|
|
251
|
+
TupleType = 171,
|
|
252
|
+
OptionalType = 172,
|
|
253
|
+
RestType = 173,
|
|
254
|
+
UnionType = 174,
|
|
255
|
+
IntersectionType = 175,
|
|
256
|
+
ConditionalType = 176,
|
|
257
|
+
InferType = 177,
|
|
258
|
+
ParenthesizedType = 178,
|
|
259
|
+
ThisType = 179,
|
|
260
|
+
TypeOperator = 180,
|
|
261
|
+
IndexedAccessType = 181,
|
|
262
|
+
MappedType = 182,
|
|
263
|
+
LiteralType = 183,
|
|
264
|
+
ImportType = 184,
|
|
265
|
+
ObjectBindingPattern = 185,
|
|
266
|
+
ArrayBindingPattern = 186,
|
|
267
|
+
BindingElement = 187,
|
|
268
|
+
ArrayLiteralExpression = 188,
|
|
269
|
+
ObjectLiteralExpression = 189,
|
|
270
|
+
PropertyAccessExpression = 190,
|
|
271
|
+
ElementAccessExpression = 191,
|
|
272
|
+
CallExpression = 192,
|
|
273
|
+
NewExpression = 193,
|
|
274
|
+
TaggedTemplateExpression = 194,
|
|
275
|
+
TypeAssertionExpression = 195,
|
|
276
|
+
ParenthesizedExpression = 196,
|
|
277
|
+
FunctionExpression = 197,
|
|
278
|
+
ArrowFunction = 198,
|
|
279
|
+
DeleteExpression = 199,
|
|
280
|
+
TypeOfExpression = 200,
|
|
281
|
+
VoidExpression = 201,
|
|
282
|
+
AwaitExpression = 202,
|
|
283
|
+
PrefixUnaryExpression = 203,
|
|
284
|
+
PostfixUnaryExpression = 204,
|
|
285
|
+
BinaryExpression = 205,
|
|
286
|
+
ConditionalExpression = 206,
|
|
287
|
+
TemplateExpression = 207,
|
|
288
|
+
YieldExpression = 208,
|
|
289
|
+
SpreadElement = 209,
|
|
290
|
+
ClassExpression = 210,
|
|
291
|
+
OmittedExpression = 211,
|
|
292
|
+
ExpressionWithTypeArguments = 212,
|
|
293
|
+
AsExpression = 213,
|
|
294
|
+
NonNullExpression = 214,
|
|
295
|
+
MetaProperty = 215,
|
|
296
|
+
SyntheticExpression = 216,
|
|
297
|
+
TemplateSpan = 217,
|
|
298
|
+
SemicolonClassElement = 218,
|
|
299
|
+
Block = 219,
|
|
300
|
+
VariableStatement = 220,
|
|
301
|
+
EmptyStatement = 221,
|
|
302
|
+
ExpressionStatement = 222,
|
|
303
|
+
IfStatement = 223,
|
|
304
|
+
DoStatement = 224,
|
|
305
|
+
WhileStatement = 225,
|
|
306
|
+
ForStatement = 226,
|
|
307
|
+
ForInStatement = 227,
|
|
308
|
+
ForOfStatement = 228,
|
|
309
|
+
ContinueStatement = 229,
|
|
310
|
+
BreakStatement = 230,
|
|
311
|
+
ReturnStatement = 231,
|
|
312
|
+
WithStatement = 232,
|
|
313
|
+
SwitchStatement = 233,
|
|
314
|
+
LabeledStatement = 234,
|
|
315
|
+
ThrowStatement = 235,
|
|
316
|
+
TryStatement = 236,
|
|
317
|
+
DebuggerStatement = 237,
|
|
318
|
+
VariableDeclaration = 238,
|
|
319
|
+
VariableDeclarationList = 239,
|
|
320
|
+
FunctionDeclaration = 240,
|
|
321
|
+
ClassDeclaration = 241,
|
|
322
|
+
InterfaceDeclaration = 242,
|
|
323
|
+
TypeAliasDeclaration = 243,
|
|
324
|
+
EnumDeclaration = 244,
|
|
325
|
+
ModuleDeclaration = 245,
|
|
326
|
+
ModuleBlock = 246,
|
|
327
|
+
CaseBlock = 247,
|
|
328
|
+
NamespaceExportDeclaration = 248,
|
|
329
|
+
ImportEqualsDeclaration = 249,
|
|
330
|
+
ImportDeclaration = 250,
|
|
331
|
+
ImportClause = 251,
|
|
332
|
+
NamespaceImport = 252,
|
|
333
|
+
NamedImports = 253,
|
|
334
|
+
ImportSpecifier = 254,
|
|
335
|
+
ExportAssignment = 255,
|
|
336
|
+
ExportDeclaration = 256,
|
|
337
|
+
NamedExports = 257,
|
|
338
|
+
ExportSpecifier = 258,
|
|
339
|
+
MissingDeclaration = 259,
|
|
340
|
+
ExternalModuleReference = 260,
|
|
341
|
+
JsxElement = 261,
|
|
342
|
+
JsxSelfClosingElement = 262,
|
|
343
|
+
JsxOpeningElement = 263,
|
|
344
|
+
JsxClosingElement = 264,
|
|
345
|
+
JsxFragment = 265,
|
|
346
|
+
JsxOpeningFragment = 266,
|
|
347
|
+
JsxClosingFragment = 267,
|
|
348
|
+
JsxAttribute = 268,
|
|
349
|
+
JsxAttributes = 269,
|
|
350
|
+
JsxSpreadAttribute = 270,
|
|
351
|
+
JsxExpression = 271,
|
|
352
|
+
CaseClause = 272,
|
|
353
|
+
DefaultClause = 273,
|
|
354
|
+
HeritageClause = 274,
|
|
355
|
+
CatchClause = 275,
|
|
356
|
+
PropertyAssignment = 276,
|
|
357
|
+
ShorthandPropertyAssignment = 277,
|
|
358
|
+
SpreadAssignment = 278,
|
|
359
|
+
EnumMember = 279,
|
|
360
|
+
UnparsedPrologue = 280,
|
|
361
|
+
UnparsedPrepend = 281,
|
|
362
|
+
UnparsedText = 282,
|
|
363
|
+
UnparsedInternalText = 283,
|
|
364
|
+
UnparsedSyntheticReference = 284,
|
|
365
|
+
SourceFile = 285,
|
|
366
|
+
Bundle = 286,
|
|
367
|
+
UnparsedSource = 287,
|
|
368
|
+
InputFiles = 288,
|
|
369
|
+
JSDocTypeExpression = 289,
|
|
370
|
+
JSDocAllType = 290,
|
|
371
|
+
JSDocUnknownType = 291,
|
|
372
|
+
JSDocNullableType = 292,
|
|
373
|
+
JSDocNonNullableType = 293,
|
|
374
|
+
JSDocOptionalType = 294,
|
|
375
|
+
JSDocFunctionType = 295,
|
|
376
|
+
JSDocVariadicType = 296,
|
|
377
|
+
JSDocComment = 297,
|
|
378
|
+
JSDocTypeLiteral = 298,
|
|
379
|
+
JSDocSignature = 299,
|
|
380
|
+
JSDocTag = 300,
|
|
381
|
+
JSDocAugmentsTag = 301,
|
|
382
|
+
JSDocClassTag = 302,
|
|
383
|
+
JSDocCallbackTag = 303,
|
|
384
|
+
JSDocEnumTag = 304,
|
|
385
|
+
JSDocParameterTag = 305,
|
|
386
|
+
JSDocReturnTag = 306,
|
|
387
|
+
JSDocThisTag = 307,
|
|
388
|
+
JSDocTypeTag = 308,
|
|
389
|
+
JSDocTemplateTag = 309,
|
|
390
|
+
JSDocTypedefTag = 310,
|
|
391
|
+
JSDocPropertyTag = 311,
|
|
392
|
+
SyntaxList = 312,
|
|
393
|
+
NotEmittedStatement = 313,
|
|
394
|
+
PartiallyEmittedExpression = 314,
|
|
395
|
+
CommaListExpression = 315,
|
|
396
|
+
MergeDeclarationMarker = 316,
|
|
397
|
+
EndOfDeclarationMarker = 317,
|
|
398
|
+
Count = 318,
|
|
399
|
+
FirstAssignment = 60,
|
|
400
|
+
LastAssignment = 72,
|
|
401
|
+
FirstCompoundAssignment = 61,
|
|
402
|
+
LastCompoundAssignment = 72,
|
|
403
|
+
FirstReservedWord = 74,
|
|
404
|
+
LastReservedWord = 109,
|
|
405
|
+
FirstKeyword = 74,
|
|
406
|
+
LastKeyword = 148,
|
|
407
|
+
FirstFutureReservedWord = 110,
|
|
408
|
+
LastFutureReservedWord = 118,
|
|
409
|
+
FirstTypeNode = 164,
|
|
410
|
+
LastTypeNode = 184,
|
|
409
411
|
FirstPunctuation = 18,
|
|
410
|
-
LastPunctuation =
|
|
412
|
+
LastPunctuation = 72,
|
|
411
413
|
FirstToken = 0,
|
|
412
|
-
LastToken =
|
|
414
|
+
LastToken = 148,
|
|
413
415
|
FirstTriviaToken = 2,
|
|
414
416
|
LastTriviaToken = 7,
|
|
415
417
|
FirstLiteralToken = 8,
|
|
@@ -417,12 +419,12 @@ declare namespace ts {
|
|
|
417
419
|
FirstTemplateToken = 14,
|
|
418
420
|
LastTemplateToken = 17,
|
|
419
421
|
FirstBinaryOperator = 28,
|
|
420
|
-
LastBinaryOperator =
|
|
421
|
-
FirstNode =
|
|
422
|
-
FirstJSDocNode =
|
|
423
|
-
LastJSDocNode =
|
|
424
|
-
FirstJSDocTagNode =
|
|
425
|
-
LastJSDocTagNode =
|
|
422
|
+
LastBinaryOperator = 72,
|
|
423
|
+
FirstNode = 149,
|
|
424
|
+
FirstJSDocNode = 289,
|
|
425
|
+
LastJSDocNode = 311,
|
|
426
|
+
FirstJSDocTagNode = 300,
|
|
427
|
+
LastJSDocTagNode = 311,
|
|
426
428
|
}
|
|
427
429
|
enum NodeFlags {
|
|
428
430
|
None = 0,
|
|
@@ -626,7 +628,7 @@ declare namespace ts {
|
|
|
626
628
|
initializer?: Expression;
|
|
627
629
|
}
|
|
628
630
|
interface ObjectLiteralElement extends NamedDeclaration {
|
|
629
|
-
|
|
631
|
+
_objectLiteralBrand: any;
|
|
630
632
|
name?: PropertyName;
|
|
631
633
|
}
|
|
632
634
|
/** Unlike ObjectLiteralElement, excludes JSXAttribute and JSXSpreadAttribute. */
|
|
@@ -1601,7 +1603,7 @@ declare namespace ts {
|
|
|
1601
1603
|
}
|
|
1602
1604
|
interface JSDocTypeTag extends JSDocTag {
|
|
1603
1605
|
kind: SyntaxKind.JSDocTypeTag;
|
|
1604
|
-
typeExpression
|
|
1606
|
+
typeExpression: JSDocTypeExpression;
|
|
1605
1607
|
}
|
|
1606
1608
|
interface JSDocTypedefTag extends JSDocTag, NamedDeclaration {
|
|
1607
1609
|
parent: JSDoc;
|
|
@@ -1877,13 +1879,18 @@ declare namespace ts {
|
|
|
1877
1879
|
sourceFile: SourceFile;
|
|
1878
1880
|
references?: ReadonlyArray<ResolvedProjectReference | undefined>;
|
|
1879
1881
|
}
|
|
1882
|
+
type CustomTransformerFactory = (context: TransformationContext) => CustomTransformer;
|
|
1883
|
+
interface CustomTransformer {
|
|
1884
|
+
transformSourceFile(node: SourceFile): SourceFile;
|
|
1885
|
+
transformBundle(node: Bundle): Bundle;
|
|
1886
|
+
}
|
|
1880
1887
|
interface CustomTransformers {
|
|
1881
1888
|
/** Custom transformers to evaluate before built-in .js transformations. */
|
|
1882
|
-
before?: TransformerFactory<SourceFile>[];
|
|
1889
|
+
before?: (TransformerFactory<SourceFile> | CustomTransformerFactory)[];
|
|
1883
1890
|
/** Custom transformers to evaluate after built-in .js transformations. */
|
|
1884
|
-
after?: TransformerFactory<SourceFile>[];
|
|
1891
|
+
after?: (TransformerFactory<SourceFile> | CustomTransformerFactory)[];
|
|
1885
1892
|
/** Custom transformers to evaluate after built-in .d.ts transformations. */
|
|
1886
|
-
afterDeclarations?: TransformerFactory<Bundle | SourceFile>[];
|
|
1893
|
+
afterDeclarations?: (TransformerFactory<Bundle | SourceFile> | CustomTransformerFactory)[];
|
|
1887
1894
|
}
|
|
1888
1895
|
interface SourceMapSpan {
|
|
1889
1896
|
/** Line number in the .js file. */
|
|
@@ -1962,6 +1969,7 @@ declare namespace ts {
|
|
|
1962
1969
|
*/
|
|
1963
1970
|
getExportSymbolOfSymbol(symbol: Symbol): Symbol;
|
|
1964
1971
|
getPropertySymbolOfDestructuringAssignment(location: Identifier): Symbol | undefined;
|
|
1972
|
+
getTypeOfAssignmentPattern(pattern: AssignmentPattern): Type;
|
|
1965
1973
|
getTypeAtLocation(node: Node): Type;
|
|
1966
1974
|
getTypeFromTypeNode(node: TypeNode): Type;
|
|
1967
1975
|
signatureToString(signature: Signature, enclosingDeclaration?: Node, flags?: TypeFormatFlags, kind?: SignatureKind): string;
|
|
@@ -2359,7 +2367,8 @@ declare namespace ts {
|
|
|
2359
2367
|
objectType: Type;
|
|
2360
2368
|
indexType: Type;
|
|
2361
2369
|
constraint?: Type;
|
|
2362
|
-
|
|
2370
|
+
simplifiedForReading?: Type;
|
|
2371
|
+
simplifiedForWriting?: Type;
|
|
2363
2372
|
}
|
|
2364
2373
|
type TypeVariable = TypeParameter | IndexedAccessType;
|
|
2365
2374
|
interface IndexType extends InstantiableType {
|
|
@@ -2382,8 +2391,8 @@ declare namespace ts {
|
|
|
2382
2391
|
root: ConditionalRoot;
|
|
2383
2392
|
checkType: Type;
|
|
2384
2393
|
extendsType: Type;
|
|
2385
|
-
|
|
2386
|
-
|
|
2394
|
+
resolvedTrueType: Type;
|
|
2395
|
+
resolvedFalseType: Type;
|
|
2387
2396
|
}
|
|
2388
2397
|
interface SubstitutionType extends InstantiableType {
|
|
2389
2398
|
typeVariable: TypeVariable;
|
|
@@ -2410,12 +2419,13 @@ declare namespace ts {
|
|
|
2410
2419
|
enum InferencePriority {
|
|
2411
2420
|
NakedTypeVariable = 1,
|
|
2412
2421
|
HomomorphicMappedType = 2,
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2422
|
+
PartialHomomorphicMappedType = 4,
|
|
2423
|
+
MappedTypeConstraint = 8,
|
|
2424
|
+
ReturnType = 16,
|
|
2425
|
+
LiteralKeyof = 32,
|
|
2426
|
+
NoConstraints = 64,
|
|
2427
|
+
AlwaysStrict = 128,
|
|
2428
|
+
PriorityImpliesCombination = 56
|
|
2419
2429
|
}
|
|
2420
2430
|
/** @deprecated Use FileExtensionInfo instead. */
|
|
2421
2431
|
type JsFileExtensionInfo = FileExtensionInfo;
|
|
@@ -2489,6 +2499,7 @@ declare namespace ts {
|
|
|
2489
2499
|
interface CompilerOptions {
|
|
2490
2500
|
allowJs?: boolean;
|
|
2491
2501
|
allowSyntheticDefaultImports?: boolean;
|
|
2502
|
+
allowUmdGlobalAccess?: boolean;
|
|
2492
2503
|
allowUnreachableCode?: boolean;
|
|
2493
2504
|
allowUnusedLabels?: boolean;
|
|
2494
2505
|
alwaysStrict?: boolean;
|
|
@@ -2621,9 +2632,10 @@ declare namespace ts {
|
|
|
2621
2632
|
ES2017 = 4,
|
|
2622
2633
|
ES2018 = 5,
|
|
2623
2634
|
ES2019 = 6,
|
|
2624
|
-
|
|
2635
|
+
ES2020 = 7,
|
|
2636
|
+
ESNext = 8,
|
|
2625
2637
|
JSON = 100,
|
|
2626
|
-
Latest =
|
|
2638
|
+
Latest = 8
|
|
2627
2639
|
}
|
|
2628
2640
|
enum LanguageVariant {
|
|
2629
2641
|
Standard = 0,
|
|
@@ -2756,6 +2768,7 @@ declare namespace ts {
|
|
|
2756
2768
|
resolveTypeReferenceDirectives?(typeReferenceDirectiveNames: string[], containingFile: string, redirectedReference?: ResolvedProjectReference): (ResolvedTypeReferenceDirective | undefined)[];
|
|
2757
2769
|
getEnvironmentVariable?(name: string): string | undefined;
|
|
2758
2770
|
createHash?(data: string): string;
|
|
2771
|
+
getParsedCommandLine?(fileName: string): ParsedCommandLine | undefined;
|
|
2759
2772
|
}
|
|
2760
2773
|
interface SourceMapRange extends TextRange {
|
|
2761
2774
|
source?: SourceMapSource;
|
|
@@ -3159,7 +3172,7 @@ declare namespace ts {
|
|
|
3159
3172
|
reScanJsxToken(): JsxTokenSyntaxKind;
|
|
3160
3173
|
reScanLessThanToken(): SyntaxKind;
|
|
3161
3174
|
scanJsxToken(): JsxTokenSyntaxKind;
|
|
3162
|
-
|
|
3175
|
+
scanJsDocToken(): JSDocSyntaxKind;
|
|
3163
3176
|
scan(): SyntaxKind;
|
|
3164
3177
|
getText(): string;
|
|
3165
3178
|
setText(text: string | undefined, start?: number, length?: number): void;
|
|
@@ -3627,7 +3640,7 @@ declare namespace ts {
|
|
|
3627
3640
|
/**
|
|
3628
3641
|
* Reads the config file, reports errors if any and exits if the config file cannot be found
|
|
3629
3642
|
*/
|
|
3630
|
-
function getParsedCommandLineOfConfigFile(configFileName: string, optionsToExtend: CompilerOptions, host: ParseConfigFileHost): ParsedCommandLine | undefined;
|
|
3643
|
+
function getParsedCommandLineOfConfigFile(configFileName: string, optionsToExtend: CompilerOptions, host: ParseConfigFileHost, extendedConfigCache?: Map<ExtendedConfigCacheEntry>): ParsedCommandLine | undefined;
|
|
3631
3644
|
/**
|
|
3632
3645
|
* Read tsconfig.json file
|
|
3633
3646
|
* @param fileName The path to the config file
|
|
@@ -3661,7 +3674,7 @@ declare namespace ts {
|
|
|
3661
3674
|
* @param basePath A root directory to resolve relative path entries in the config
|
|
3662
3675
|
* file to. e.g. outDir
|
|
3663
3676
|
*/
|
|
3664
|
-
function parseJsonConfigFileContent(json: any, host: ParseConfigHost, basePath: string, existingOptions?: CompilerOptions, configFileName?: string, resolutionStack?: Path[], extraFileExtensions?: ReadonlyArray<FileExtensionInfo>): ParsedCommandLine;
|
|
3677
|
+
function parseJsonConfigFileContent(json: any, host: ParseConfigHost, basePath: string, existingOptions?: CompilerOptions, configFileName?: string, resolutionStack?: Path[], extraFileExtensions?: ReadonlyArray<FileExtensionInfo>, extendedConfigCache?: Map<ExtendedConfigCacheEntry>): ParsedCommandLine;
|
|
3665
3678
|
/**
|
|
3666
3679
|
* Parse the contents of a config file (tsconfig.json).
|
|
3667
3680
|
* @param jsonNode The contents of the config file to parse
|
|
@@ -3669,7 +3682,20 @@ declare namespace ts {
|
|
|
3669
3682
|
* @param basePath A root directory to resolve relative path entries in the config
|
|
3670
3683
|
* file to. e.g. outDir
|
|
3671
3684
|
*/
|
|
3672
|
-
function parseJsonSourceFileConfigFileContent(sourceFile: TsConfigSourceFile, host: ParseConfigHost, basePath: string, existingOptions?: CompilerOptions, configFileName?: string, resolutionStack?: Path[], extraFileExtensions?: ReadonlyArray<FileExtensionInfo>): ParsedCommandLine;
|
|
3685
|
+
function parseJsonSourceFileConfigFileContent(sourceFile: TsConfigSourceFile, host: ParseConfigHost, basePath: string, existingOptions?: CompilerOptions, configFileName?: string, resolutionStack?: Path[], extraFileExtensions?: ReadonlyArray<FileExtensionInfo>, extendedConfigCache?: Map<ExtendedConfigCacheEntry>): ParsedCommandLine;
|
|
3686
|
+
interface ParsedTsconfig {
|
|
3687
|
+
raw: any;
|
|
3688
|
+
options?: CompilerOptions;
|
|
3689
|
+
typeAcquisition?: TypeAcquisition;
|
|
3690
|
+
/**
|
|
3691
|
+
* Note that the case of the config path has not yet been normalized, as no files have been imported into the project yet
|
|
3692
|
+
*/
|
|
3693
|
+
extendedConfigPath?: string;
|
|
3694
|
+
}
|
|
3695
|
+
interface ExtendedConfigCacheEntry {
|
|
3696
|
+
extendedResult: TsConfigSourceFile;
|
|
3697
|
+
extendedConfig: ParsedTsconfig | undefined;
|
|
3698
|
+
}
|
|
3673
3699
|
function convertCompilerOptionsFromJson(jsonOptions: any, basePath: string, configFileName?: string): {
|
|
3674
3700
|
options: CompilerOptions;
|
|
3675
3701
|
errors: Diagnostic[];
|
|
@@ -3714,7 +3740,7 @@ declare namespace ts {
|
|
|
3714
3740
|
get(directory: string): ResolvedModuleWithFailedLookupLocations | undefined;
|
|
3715
3741
|
set(directory: string, result: ResolvedModuleWithFailedLookupLocations): void;
|
|
3716
3742
|
}
|
|
3717
|
-
function createModuleResolutionCache(currentDirectory: string, getCanonicalFileName: (s: string) => string): ModuleResolutionCache;
|
|
3743
|
+
function createModuleResolutionCache(currentDirectory: string, getCanonicalFileName: (s: string) => string, options?: CompilerOptions): ModuleResolutionCache;
|
|
3718
3744
|
function resolveModuleNameFromCache(moduleName: string, containingFile: string, cache: ModuleResolutionCache): ResolvedModuleWithFailedLookupLocations | undefined;
|
|
3719
3745
|
function resolveModuleName(moduleName: string, containingFile: string, compilerOptions: CompilerOptions, host: ModuleResolutionHost, cache?: ModuleResolutionCache, redirectedReference?: ResolvedProjectReference): ResolvedModuleWithFailedLookupLocations;
|
|
3720
3746
|
function nodeModuleNameResolver(moduleName: string, containingFile: string, compilerOptions: CompilerOptions, host: ModuleResolutionHost, cache?: ModuleResolutionCache, redirectedReference?: ResolvedProjectReference): ResolvedModuleWithFailedLookupLocations;
|
|
@@ -3837,7 +3863,7 @@ declare namespace ts {
|
|
|
3837
3863
|
function updateArrayLiteral(node: ArrayLiteralExpression, elements: ReadonlyArray<Expression>): ArrayLiteralExpression;
|
|
3838
3864
|
function createObjectLiteral(properties?: ReadonlyArray<ObjectLiteralElementLike>, multiLine?: boolean): ObjectLiteralExpression;
|
|
3839
3865
|
function updateObjectLiteral(node: ObjectLiteralExpression, properties: ReadonlyArray<ObjectLiteralElementLike>): ObjectLiteralExpression;
|
|
3840
|
-
function createPropertyAccess(expression: Expression, name: string | Identifier
|
|
3866
|
+
function createPropertyAccess(expression: Expression, name: string | Identifier): PropertyAccessExpression;
|
|
3841
3867
|
function updatePropertyAccess(node: PropertyAccessExpression, expression: Expression, name: Identifier): PropertyAccessExpression;
|
|
3842
3868
|
function createElementAccess(expression: Expression, index: number | Expression): ElementAccessExpression;
|
|
3843
3869
|
function updateElementAccess(node: ElementAccessExpression, expression: Expression, argumentExpression: Expression): ElementAccessExpression;
|
|
@@ -4052,7 +4078,7 @@ declare namespace ts {
|
|
|
4052
4078
|
function createInputFiles(javascriptText: string, declarationText: string): InputFiles;
|
|
4053
4079
|
function createInputFiles(readFileText: (path: string) => string | undefined, javascriptPath: string, javascriptMapPath: string | undefined, declarationPath: string, declarationMapPath: string | undefined, buildInfoPath: string | undefined): InputFiles;
|
|
4054
4080
|
function createInputFiles(javascriptText: string, declarationText: string, javascriptMapPath: string | undefined, javascriptMapText: string | undefined, declarationMapPath: string | undefined, declarationMapText: string | undefined): InputFiles;
|
|
4055
|
-
function updateBundle(node: Bundle, sourceFiles: ReadonlyArray<SourceFile>, prepends?: ReadonlyArray<UnparsedSource>): Bundle;
|
|
4081
|
+
function updateBundle(node: Bundle, sourceFiles: ReadonlyArray<SourceFile>, prepends?: ReadonlyArray<UnparsedSource | InputFiles>): Bundle;
|
|
4056
4082
|
function createImmediatelyInvokedFunctionExpression(statements: ReadonlyArray<Statement>): CallExpression;
|
|
4057
4083
|
function createImmediatelyInvokedFunctionExpression(statements: ReadonlyArray<Statement>, param: ParameterDeclaration, paramValue: Expression): CallExpression;
|
|
4058
4084
|
function createImmediatelyInvokedArrowFunction(statements: ReadonlyArray<Statement>): CallExpression;
|
|
@@ -4540,13 +4566,12 @@ declare namespace ts.server {
|
|
|
4540
4566
|
type ActionSet = "action::set";
|
|
4541
4567
|
type ActionInvalidate = "action::invalidate";
|
|
4542
4568
|
type ActionPackageInstalled = "action::packageInstalled";
|
|
4543
|
-
type ActionValueInspected = "action::valueInspected";
|
|
4544
4569
|
type EventTypesRegistry = "event::typesRegistry";
|
|
4545
4570
|
type EventBeginInstallTypes = "event::beginInstallTypes";
|
|
4546
4571
|
type EventEndInstallTypes = "event::endInstallTypes";
|
|
4547
4572
|
type EventInitializationFailed = "event::initializationFailed";
|
|
4548
4573
|
interface TypingInstallerResponse {
|
|
4549
|
-
readonly kind: ActionSet | ActionInvalidate | EventTypesRegistry | ActionPackageInstalled |
|
|
4574
|
+
readonly kind: ActionSet | ActionInvalidate | EventTypesRegistry | ActionPackageInstalled | EventBeginInstallTypes | EventEndInstallTypes | EventInitializationFailed;
|
|
4550
4575
|
}
|
|
4551
4576
|
interface TypingInstallerRequestWithProjectName {
|
|
4552
4577
|
readonly projectName: string;
|
|
@@ -4785,6 +4810,7 @@ declare namespace ts {
|
|
|
4785
4810
|
getSignatureHelpItems(fileName: string, position: number, options: SignatureHelpItemsOptions | undefined): SignatureHelpItems | undefined;
|
|
4786
4811
|
getRenameInfo(fileName: string, position: number, options?: RenameInfoOptions): RenameInfo;
|
|
4787
4812
|
findRenameLocations(fileName: string, position: number, findInStrings: boolean, findInComments: boolean, providePrefixAndSuffixTextForRename?: boolean): ReadonlyArray<RenameLocation> | undefined;
|
|
4813
|
+
getSmartSelectionRange(fileName: string, position: number): SelectionRange;
|
|
4788
4814
|
getDefinitionAtPosition(fileName: string, position: number): ReadonlyArray<DefinitionInfo> | undefined;
|
|
4789
4815
|
getDefinitionAndBoundSpan(fileName: string, position: number): DefinitionInfoAndBoundSpan | undefined;
|
|
4790
4816
|
getTypeDefinitionAtPosition(fileName: string, position: number): ReadonlyArray<DefinitionInfo> | undefined;
|
|
@@ -4979,16 +5005,9 @@ declare namespace ts {
|
|
|
4979
5005
|
changes: ReadonlyArray<FileTextChanges>;
|
|
4980
5006
|
commands?: ReadonlyArray<CodeActionCommand>;
|
|
4981
5007
|
}
|
|
4982
|
-
type CodeActionCommand = InstallPackageAction
|
|
5008
|
+
type CodeActionCommand = InstallPackageAction;
|
|
4983
5009
|
interface InstallPackageAction {
|
|
4984
5010
|
}
|
|
4985
|
-
interface GenerateTypesAction extends GenerateTypesOptions {
|
|
4986
|
-
}
|
|
4987
|
-
interface GenerateTypesOptions {
|
|
4988
|
-
readonly file: string;
|
|
4989
|
-
readonly fileToGenerateTypesFor: string;
|
|
4990
|
-
readonly outputFileName: string;
|
|
4991
|
-
}
|
|
4992
5011
|
/**
|
|
4993
5012
|
* A set of one or more available refactoring actions, grouped under a parent refactoring.
|
|
4994
5013
|
*/
|
|
@@ -5236,6 +5255,10 @@ declare namespace ts {
|
|
|
5236
5255
|
displayParts: SymbolDisplayPart[];
|
|
5237
5256
|
isOptional: boolean;
|
|
5238
5257
|
}
|
|
5258
|
+
interface SelectionRange {
|
|
5259
|
+
textSpan: TextSpan;
|
|
5260
|
+
parent?: SelectionRange;
|
|
5261
|
+
}
|
|
5239
5262
|
/**
|
|
5240
5263
|
* Represents a single signature to show in signature help.
|
|
5241
5264
|
* The id is used for subsequent calls into the language service to ask questions about the
|
|
@@ -5612,10 +5635,6 @@ declare namespace ts {
|
|
|
5612
5635
|
function transpileModule(input: string, transpileOptions: TranspileOptions): TranspileOutput;
|
|
5613
5636
|
function transpile(input: string, compilerOptions?: CompilerOptions, fileName?: string, diagnostics?: Diagnostic[], moduleName?: string): string;
|
|
5614
5637
|
}
|
|
5615
|
-
declare namespace ts {
|
|
5616
|
-
function generateTypesForModule(name: string, moduleValue: unknown, formatSettings: FormatCodeSettings): string;
|
|
5617
|
-
function generateTypesForGlobal(name: string, globalValue: unknown, formatSettings: FormatCodeSettings): string;
|
|
5618
|
-
}
|
|
5619
5638
|
declare namespace ts {
|
|
5620
5639
|
/** The version of the language service API */
|
|
5621
5640
|
const servicesVersion = "0.8";
|