typescript 7.1.0-dev.20261119.1 → 7.1.0-dev.20261121.1

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.
Files changed (67) hide show
  1. package/dist/api/async/api.d.ts +38 -8
  2. package/dist/api/async/api.d.ts.map +1 -1
  3. package/dist/api/async/api.js +179 -13
  4. package/dist/api/async/api.js.map +1 -1
  5. package/dist/api/diagnosticFormatter.d.ts +2 -0
  6. package/dist/api/diagnosticFormatter.d.ts.map +1 -1
  7. package/dist/api/diagnosticFormatter.js +2 -1
  8. package/dist/api/diagnosticFormatter.js.map +1 -1
  9. package/dist/api/diagnosticUtils.d.ts +9 -0
  10. package/dist/api/diagnosticUtils.d.ts.map +1 -0
  11. package/dist/api/diagnosticUtils.js +50 -0
  12. package/dist/api/diagnosticUtils.js.map +1 -0
  13. package/dist/api/node/encoder.d.ts +1 -1
  14. package/dist/api/node/encoder.d.ts.map +1 -1
  15. package/dist/api/node/encoder.js +3 -1
  16. package/dist/api/node/encoder.js.map +1 -1
  17. package/dist/api/printer.d.ts +27 -0
  18. package/dist/api/printer.d.ts.map +1 -0
  19. package/dist/api/printer.js +64 -0
  20. package/dist/api/printer.js.map +1 -0
  21. package/dist/api/proto.generated.d.ts +100 -8
  22. package/dist/api/proto.generated.d.ts.map +1 -1
  23. package/dist/api/sync/api.d.ts +89 -8
  24. package/dist/api/sync/api.d.ts.map +1 -1
  25. package/dist/api/sync/api.js +370 -24
  26. package/dist/api/sync/api.js.map +1 -1
  27. package/dist/api/syncChannel.d.ts.map +1 -1
  28. package/dist/api/syncChannel.js +4 -0
  29. package/dist/api/syncChannel.js.map +1 -1
  30. package/dist/ast/ast.d.ts +62 -1
  31. package/dist/ast/ast.d.ts.map +1 -1
  32. package/dist/ast/ast.generated.d.ts +2 -2
  33. package/dist/ast/ast.generated.d.ts.map +1 -1
  34. package/dist/ast/ast.js.map +1 -1
  35. package/dist/ast/is.d.ts +33 -1
  36. package/dist/ast/is.d.ts.map +1 -1
  37. package/dist/ast/is.js +255 -2
  38. package/dist/ast/is.js.map +1 -1
  39. package/dist/ast/jsdoc.d.ts +5 -1
  40. package/dist/ast/jsdoc.d.ts.map +1 -1
  41. package/dist/ast/jsdoc.js +4 -2
  42. package/dist/ast/jsdoc.js.map +1 -1
  43. package/dist/ast/spanMap.d.ts +2 -19
  44. package/dist/ast/spanMap.d.ts.map +1 -1
  45. package/dist/ast/spanMap.js.map +1 -1
  46. package/dist/ast/spanMapTypes.generated.d.ts +26 -0
  47. package/dist/ast/spanMapTypes.generated.d.ts.map +1 -0
  48. package/dist/ast/spanMapTypes.generated.js +3 -0
  49. package/dist/ast/spanMapTypes.generated.js.map +1 -0
  50. package/dist/ast/utils.d.ts +1 -0
  51. package/dist/ast/utils.d.ts.map +1 -1
  52. package/dist/ast/utils.js +4 -0
  53. package/dist/ast/utils.js.map +1 -1
  54. package/enums/emitFlags.d.ts +33 -0
  55. package/enums/emitFlags.js +33 -0
  56. package/enums/spanMapFeature.d.ts +22 -22
  57. package/enums/spanMapFeature.js +1 -1
  58. package/enums/spanMapFidelity.d.ts +1 -1
  59. package/enums/spanMapFidelity.js +1 -1
  60. package/enums/spanMapKind.d.ts +1 -1
  61. package/enums/spanMapKind.js +1 -1
  62. package/enums/symbolFormatFlags.d.ts +11 -0
  63. package/enums/symbolFormatFlags.js +11 -0
  64. package/enums/syntaxKind.d.ts +213 -214
  65. package/enums/syntaxKind.js +225 -226
  66. package/package.json +10 -9
  67. package/schemas/contentmapper.schema.json +513 -0
@@ -140,220 +140,219 @@ export declare enum SyntaxKind {
140
140
  ConstructorKeyword = 136,
141
141
  DeclareKeyword = 137,
142
142
  GetKeyword = 138,
143
- ImmediateKeyword = 139,
144
- InferKeyword = 140,
145
- IntrinsicKeyword = 141,
146
- IsKeyword = 142,
147
- KeyOfKeyword = 143,
148
- ModuleKeyword = 144,
149
- NamespaceKeyword = 145,
150
- NeverKeyword = 146,
151
- OutKeyword = 147,
152
- ReadonlyKeyword = 148,
153
- RequireKeyword = 149,
154
- NumberKeyword = 150,
155
- ObjectKeyword = 151,
156
- SatisfiesKeyword = 152,
157
- SetKeyword = 153,
158
- StringKeyword = 154,
159
- SymbolKeyword = 155,
160
- TypeKeyword = 156,
161
- UndefinedKeyword = 157,
162
- UniqueKeyword = 158,
163
- UnknownKeyword = 159,
164
- UsingKeyword = 160,
165
- FromKeyword = 161,
166
- GlobalKeyword = 162,
167
- BigIntKeyword = 163,
168
- OverrideKeyword = 164,
169
- OfKeyword = 165,
170
- DeferKeyword = 166,
171
- SourceKeyword = 167,
172
- QualifiedName = 168,
173
- ComputedPropertyName = 169,
174
- TypeParameter = 170,
175
- Parameter = 171,
176
- Decorator = 172,
177
- PropertySignature = 173,
178
- PropertyDeclaration = 174,
179
- MethodSignature = 175,
180
- MethodDeclaration = 176,
181
- ClassStaticBlockDeclaration = 177,
182
- Constructor = 178,
183
- GetAccessor = 179,
184
- SetAccessor = 180,
185
- CallSignature = 181,
186
- ConstructSignature = 182,
187
- IndexSignature = 183,
188
- TypePredicate = 184,
189
- TypeReference = 185,
190
- FunctionType = 186,
191
- ConstructorType = 187,
192
- TypeQuery = 188,
193
- TypeLiteral = 189,
194
- ArrayType = 190,
195
- TupleType = 191,
196
- OptionalType = 192,
197
- RestType = 193,
198
- UnionType = 194,
199
- IntersectionType = 195,
200
- ConditionalType = 196,
201
- InferType = 197,
202
- ParenthesizedType = 198,
203
- ThisType = 199,
204
- TypeOperator = 200,
205
- IndexedAccessType = 201,
206
- MappedType = 202,
207
- LiteralType = 203,
208
- NamedTupleMember = 204,
209
- TemplateLiteralType = 205,
210
- TemplateLiteralTypeSpan = 206,
211
- ImportType = 207,
212
- ObjectBindingPattern = 208,
213
- ArrayBindingPattern = 209,
214
- BindingElement = 210,
215
- ArrayLiteralExpression = 211,
216
- ObjectLiteralExpression = 212,
217
- PropertyAccessExpression = 213,
218
- ElementAccessExpression = 214,
219
- CallExpression = 215,
220
- NewExpression = 216,
221
- TaggedTemplateExpression = 217,
222
- TypeAssertionExpression = 218,
223
- ParenthesizedExpression = 219,
224
- FunctionExpression = 220,
225
- ArrowFunction = 221,
226
- DeleteExpression = 222,
227
- TypeOfExpression = 223,
228
- VoidExpression = 224,
229
- AwaitExpression = 225,
230
- PrefixUnaryExpression = 226,
231
- PostfixUnaryExpression = 227,
232
- BinaryExpression = 228,
233
- ConditionalExpression = 229,
234
- TemplateExpression = 230,
235
- YieldExpression = 231,
236
- SpreadElement = 232,
237
- ClassExpression = 233,
238
- OmittedExpression = 234,
239
- ExpressionWithTypeArguments = 235,
240
- AsExpression = 236,
241
- NonNullExpression = 237,
242
- MetaProperty = 238,
243
- SyntheticExpression = 239,
244
- SatisfiesExpression = 240,
245
- TemplateSpan = 241,
246
- SemicolonClassElement = 242,
247
- Block = 243,
248
- EmptyStatement = 244,
249
- VariableStatement = 245,
250
- ExpressionStatement = 246,
251
- IfStatement = 247,
252
- DoStatement = 248,
253
- WhileStatement = 249,
254
- ForStatement = 250,
255
- ForInStatement = 251,
256
- ForOfStatement = 252,
257
- ContinueStatement = 253,
258
- BreakStatement = 254,
259
- ReturnStatement = 255,
260
- WithStatement = 256,
261
- SwitchStatement = 257,
262
- LabeledStatement = 258,
263
- ThrowStatement = 259,
264
- TryStatement = 260,
265
- DebuggerStatement = 261,
266
- VariableDeclaration = 262,
267
- VariableDeclarationList = 263,
268
- FunctionDeclaration = 264,
269
- ClassDeclaration = 265,
270
- InterfaceDeclaration = 266,
271
- TypeAliasDeclaration = 267,
272
- EnumDeclaration = 268,
273
- ModuleDeclaration = 269,
274
- ModuleBlock = 270,
275
- CaseBlock = 271,
276
- NamespaceExportDeclaration = 272,
277
- ImportEqualsDeclaration = 273,
278
- ImportDeclaration = 274,
279
- ImportClause = 275,
280
- NamespaceImport = 276,
281
- NamedImports = 277,
282
- ImportSpecifier = 278,
283
- ExportAssignment = 279,
284
- ExportDeclaration = 280,
285
- NamedExports = 281,
286
- NamespaceExport = 282,
287
- ExportSpecifier = 283,
288
- MissingDeclaration = 284,
289
- ExternalModuleReference = 285,
290
- JsxElement = 286,
291
- JsxSelfClosingElement = 287,
292
- JsxOpeningElement = 288,
293
- JsxClosingElement = 289,
294
- JsxFragment = 290,
295
- JsxOpeningFragment = 291,
296
- JsxClosingFragment = 292,
297
- JsxAttribute = 293,
298
- JsxAttributes = 294,
299
- JsxSpreadAttribute = 295,
300
- JsxExpression = 296,
301
- JsxNamespacedName = 297,
302
- CaseClause = 298,
303
- DefaultClause = 299,
304
- HeritageClause = 300,
305
- CatchClause = 301,
306
- ImportAttributes = 302,
307
- ImportAttribute = 303,
308
- PropertyAssignment = 304,
309
- ShorthandPropertyAssignment = 305,
310
- SpreadAssignment = 306,
311
- EnumMember = 307,
312
- SourceFile = 308,
313
- JSDocTypeExpression = 309,
314
- JSDocNameReference = 310,
315
- JSDocAllType = 311,
316
- JSDocNullableType = 312,
317
- JSDocNonNullableType = 313,
318
- JSDocOptionalType = 314,
319
- JSDocVariadicType = 315,
320
- JSDoc = 316,
321
- JSDocText = 317,
322
- JSDocTypeLiteral = 318,
323
- JSDocSignature = 319,
324
- JSDocLink = 320,
325
- JSDocLinkCode = 321,
326
- JSDocLinkPlain = 322,
327
- JSDocUnknownTag = 323,
328
- JSDocAugmentsTag = 324,
329
- JSDocImplementsTag = 325,
330
- JSDocDeprecatedTag = 326,
331
- JSDocPublicTag = 327,
332
- JSDocPrivateTag = 328,
333
- JSDocProtectedTag = 329,
334
- JSDocReadonlyTag = 330,
335
- JSDocOverrideTag = 331,
336
- JSDocCallbackTag = 332,
337
- JSDocOverloadTag = 333,
338
- JSDocParameterTag = 334,
339
- JSDocReturnTag = 335,
340
- JSDocThisTag = 336,
341
- JSDocTypeTag = 337,
342
- JSDocTemplateTag = 338,
343
- JSDocTypedefTag = 339,
344
- JSDocSeeTag = 340,
345
- JSDocPropertyTag = 341,
346
- JSDocThrowsTag = 342,
347
- JSDocSatisfiesTag = 343,
348
- JSDocImportTag = 344,
349
- SyntaxList = 345,
350
- JSTypeAliasDeclaration = 346,
351
- JSImportDeclaration = 347,
352
- NotEmittedStatement = 348,
353
- PartiallyEmittedExpression = 349,
354
- SyntheticReferenceExpression = 350,
355
- NotEmittedTypeElement = 351,
356
- Count = 352,
143
+ InferKeyword = 139,
144
+ IntrinsicKeyword = 140,
145
+ IsKeyword = 141,
146
+ KeyOfKeyword = 142,
147
+ ModuleKeyword = 143,
148
+ NamespaceKeyword = 144,
149
+ NeverKeyword = 145,
150
+ OutKeyword = 146,
151
+ ReadonlyKeyword = 147,
152
+ RequireKeyword = 148,
153
+ NumberKeyword = 149,
154
+ ObjectKeyword = 150,
155
+ SatisfiesKeyword = 151,
156
+ SetKeyword = 152,
157
+ StringKeyword = 153,
158
+ SymbolKeyword = 154,
159
+ TypeKeyword = 155,
160
+ UndefinedKeyword = 156,
161
+ UniqueKeyword = 157,
162
+ UnknownKeyword = 158,
163
+ UsingKeyword = 159,
164
+ FromKeyword = 160,
165
+ GlobalKeyword = 161,
166
+ BigIntKeyword = 162,
167
+ OverrideKeyword = 163,
168
+ OfKeyword = 164,
169
+ DeferKeyword = 165,
170
+ SourceKeyword = 166,
171
+ QualifiedName = 167,
172
+ ComputedPropertyName = 168,
173
+ TypeParameter = 169,
174
+ Parameter = 170,
175
+ Decorator = 171,
176
+ PropertySignature = 172,
177
+ PropertyDeclaration = 173,
178
+ MethodSignature = 174,
179
+ MethodDeclaration = 175,
180
+ ClassStaticBlockDeclaration = 176,
181
+ Constructor = 177,
182
+ GetAccessor = 178,
183
+ SetAccessor = 179,
184
+ CallSignature = 180,
185
+ ConstructSignature = 181,
186
+ IndexSignature = 182,
187
+ TypePredicate = 183,
188
+ TypeReference = 184,
189
+ FunctionType = 185,
190
+ ConstructorType = 186,
191
+ TypeQuery = 187,
192
+ TypeLiteral = 188,
193
+ ArrayType = 189,
194
+ TupleType = 190,
195
+ OptionalType = 191,
196
+ RestType = 192,
197
+ UnionType = 193,
198
+ IntersectionType = 194,
199
+ ConditionalType = 195,
200
+ InferType = 196,
201
+ ParenthesizedType = 197,
202
+ ThisType = 198,
203
+ TypeOperator = 199,
204
+ IndexedAccessType = 200,
205
+ MappedType = 201,
206
+ LiteralType = 202,
207
+ NamedTupleMember = 203,
208
+ TemplateLiteralType = 204,
209
+ TemplateLiteralTypeSpan = 205,
210
+ ImportType = 206,
211
+ ObjectBindingPattern = 207,
212
+ ArrayBindingPattern = 208,
213
+ BindingElement = 209,
214
+ ArrayLiteralExpression = 210,
215
+ ObjectLiteralExpression = 211,
216
+ PropertyAccessExpression = 212,
217
+ ElementAccessExpression = 213,
218
+ CallExpression = 214,
219
+ NewExpression = 215,
220
+ TaggedTemplateExpression = 216,
221
+ TypeAssertionExpression = 217,
222
+ ParenthesizedExpression = 218,
223
+ FunctionExpression = 219,
224
+ ArrowFunction = 220,
225
+ DeleteExpression = 221,
226
+ TypeOfExpression = 222,
227
+ VoidExpression = 223,
228
+ AwaitExpression = 224,
229
+ PrefixUnaryExpression = 225,
230
+ PostfixUnaryExpression = 226,
231
+ BinaryExpression = 227,
232
+ ConditionalExpression = 228,
233
+ TemplateExpression = 229,
234
+ YieldExpression = 230,
235
+ SpreadElement = 231,
236
+ ClassExpression = 232,
237
+ OmittedExpression = 233,
238
+ ExpressionWithTypeArguments = 234,
239
+ AsExpression = 235,
240
+ NonNullExpression = 236,
241
+ MetaProperty = 237,
242
+ SyntheticExpression = 238,
243
+ SatisfiesExpression = 239,
244
+ TemplateSpan = 240,
245
+ SemicolonClassElement = 241,
246
+ Block = 242,
247
+ EmptyStatement = 243,
248
+ VariableStatement = 244,
249
+ ExpressionStatement = 245,
250
+ IfStatement = 246,
251
+ DoStatement = 247,
252
+ WhileStatement = 248,
253
+ ForStatement = 249,
254
+ ForInStatement = 250,
255
+ ForOfStatement = 251,
256
+ ContinueStatement = 252,
257
+ BreakStatement = 253,
258
+ ReturnStatement = 254,
259
+ WithStatement = 255,
260
+ SwitchStatement = 256,
261
+ LabeledStatement = 257,
262
+ ThrowStatement = 258,
263
+ TryStatement = 259,
264
+ DebuggerStatement = 260,
265
+ VariableDeclaration = 261,
266
+ VariableDeclarationList = 262,
267
+ FunctionDeclaration = 263,
268
+ ClassDeclaration = 264,
269
+ InterfaceDeclaration = 265,
270
+ TypeAliasDeclaration = 266,
271
+ EnumDeclaration = 267,
272
+ ModuleDeclaration = 268,
273
+ ModuleBlock = 269,
274
+ CaseBlock = 270,
275
+ NamespaceExportDeclaration = 271,
276
+ ImportEqualsDeclaration = 272,
277
+ ImportDeclaration = 273,
278
+ ImportClause = 274,
279
+ NamespaceImport = 275,
280
+ NamedImports = 276,
281
+ ImportSpecifier = 277,
282
+ ExportAssignment = 278,
283
+ ExportDeclaration = 279,
284
+ NamedExports = 280,
285
+ NamespaceExport = 281,
286
+ ExportSpecifier = 282,
287
+ MissingDeclaration = 283,
288
+ ExternalModuleReference = 284,
289
+ JsxElement = 285,
290
+ JsxSelfClosingElement = 286,
291
+ JsxOpeningElement = 287,
292
+ JsxClosingElement = 288,
293
+ JsxFragment = 289,
294
+ JsxOpeningFragment = 290,
295
+ JsxClosingFragment = 291,
296
+ JsxAttribute = 292,
297
+ JsxAttributes = 293,
298
+ JsxSpreadAttribute = 294,
299
+ JsxExpression = 295,
300
+ JsxNamespacedName = 296,
301
+ CaseClause = 297,
302
+ DefaultClause = 298,
303
+ HeritageClause = 299,
304
+ CatchClause = 300,
305
+ ImportAttributes = 301,
306
+ ImportAttribute = 302,
307
+ PropertyAssignment = 303,
308
+ ShorthandPropertyAssignment = 304,
309
+ SpreadAssignment = 305,
310
+ EnumMember = 306,
311
+ SourceFile = 307,
312
+ JSDocTypeExpression = 308,
313
+ JSDocNameReference = 309,
314
+ JSDocAllType = 310,
315
+ JSDocNullableType = 311,
316
+ JSDocNonNullableType = 312,
317
+ JSDocOptionalType = 313,
318
+ JSDocVariadicType = 314,
319
+ JSDoc = 315,
320
+ JSDocText = 316,
321
+ JSDocTypeLiteral = 317,
322
+ JSDocSignature = 318,
323
+ JSDocLink = 319,
324
+ JSDocLinkCode = 320,
325
+ JSDocLinkPlain = 321,
326
+ JSDocUnknownTag = 322,
327
+ JSDocAugmentsTag = 323,
328
+ JSDocImplementsTag = 324,
329
+ JSDocDeprecatedTag = 325,
330
+ JSDocPublicTag = 326,
331
+ JSDocPrivateTag = 327,
332
+ JSDocProtectedTag = 328,
333
+ JSDocReadonlyTag = 329,
334
+ JSDocOverrideTag = 330,
335
+ JSDocCallbackTag = 331,
336
+ JSDocOverloadTag = 332,
337
+ JSDocParameterTag = 333,
338
+ JSDocReturnTag = 334,
339
+ JSDocThisTag = 335,
340
+ JSDocTypeTag = 336,
341
+ JSDocTemplateTag = 337,
342
+ JSDocTypedefTag = 338,
343
+ JSDocSeeTag = 339,
344
+ JSDocPropertyTag = 340,
345
+ JSDocThrowsTag = 341,
346
+ JSDocSatisfiesTag = 342,
347
+ JSDocImportTag = 343,
348
+ SyntaxList = 344,
349
+ JSTypeAliasDeclaration = 345,
350
+ JSImportDeclaration = 346,
351
+ NotEmittedStatement = 347,
352
+ PartiallyEmittedExpression = 348,
353
+ SyntheticReferenceExpression = 349,
354
+ NotEmittedTypeElement = 350,
355
+ Count = 351,
357
356
  FirstAssignment = EqualsToken,
358
357
  LastAssignment = CaretEqualsToken,
359
358
  FirstCompoundAssignment = PlusEqualsToken,