@schematics/angular 15.1.0-next.3 → 15.1.0

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 (240) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +12 -12
  3. package/app-shell/index.d.ts +0 -0
  4. package/app-shell/index.js +2 -1
  5. package/app-shell/schema.d.ts +0 -0
  6. package/app-shell/schema.js +1 -0
  7. package/app-shell/schema.json +0 -0
  8. package/application/files/src/assets/.gitkeep.template +0 -0
  9. package/application/files/src/favicon.ico.template +0 -0
  10. package/application/files/src/index.html.template +0 -0
  11. package/application/files/src/main.ts.template +0 -0
  12. package/application/files/src/styles.__style__.template +0 -0
  13. package/application/files/tsconfig.app.json.template +0 -0
  14. package/application/files/tsconfig.spec.json.template +0 -0
  15. package/application/index.d.ts +0 -0
  16. package/application/index.js +1 -0
  17. package/application/other-files/app.component.html.template +0 -0
  18. package/application/other-files/app.component.spec.ts.template +0 -0
  19. package/application/other-files/app.component.ts.template +0 -0
  20. package/application/other-files/app.module.ts.template +0 -0
  21. package/application/schema.d.ts +0 -0
  22. package/application/schema.js +1 -0
  23. package/application/schema.json +0 -0
  24. package/class/files/__name@dasherize____type__.spec.ts.template +0 -0
  25. package/class/files/__name@dasherize____type__.ts.template +0 -0
  26. package/class/index.d.ts +0 -0
  27. package/class/index.js +1 -0
  28. package/class/schema.d.ts +1 -1
  29. package/class/schema.js +1 -0
  30. package/class/schema.json +1 -1
  31. package/collection.json +5 -0
  32. package/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.__style__.template +0 -0
  33. package/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.html.template +0 -0
  34. package/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template +0 -0
  35. package/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template +0 -0
  36. package/component/index.d.ts +0 -0
  37. package/component/index.js +1 -0
  38. package/component/schema.d.ts +1 -1
  39. package/component/schema.js +1 -0
  40. package/component/schema.json +1 -1
  41. package/config/files/.browserslistrc.template +16 -0
  42. package/config/files/karma.conf.js.template +39 -0
  43. package/{utility/test → config}/index.d.ts +3 -2
  44. package/config/index.js +72 -0
  45. package/config/schema.d.ts +20 -0
  46. package/config/schema.js +14 -0
  47. package/config/schema.json +28 -0
  48. package/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.spec.ts.template +0 -0
  49. package/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.ts.template +0 -0
  50. package/directive/index.d.ts +0 -0
  51. package/directive/index.js +1 -0
  52. package/directive/schema.d.ts +1 -1
  53. package/directive/schema.js +1 -0
  54. package/directive/schema.json +1 -1
  55. package/e2e/files/protractor.conf.js.template +0 -0
  56. package/e2e/files/src/app.e2e-spec.ts.template +0 -0
  57. package/e2e/files/src/app.po.ts.template +0 -0
  58. package/e2e/files/tsconfig.json.template +0 -0
  59. package/e2e/index.d.ts +0 -0
  60. package/e2e/index.js +1 -0
  61. package/e2e/schema.d.ts +1 -1
  62. package/e2e/schema.js +1 -0
  63. package/e2e/schema.json +1 -1
  64. package/enum/files/__name@dasherize____type__.ts.template +0 -0
  65. package/enum/index.d.ts +0 -0
  66. package/enum/index.js +1 -0
  67. package/enum/schema.d.ts +1 -1
  68. package/enum/schema.js +1 -0
  69. package/enum/schema.json +1 -1
  70. package/environments/index.d.ts +0 -0
  71. package/environments/index.js +1 -0
  72. package/environments/schema.d.ts +0 -0
  73. package/environments/schema.js +1 -0
  74. package/environments/schema.json +0 -0
  75. package/guard/implements-files/__name@dasherize__.guard.spec.ts.template +0 -0
  76. package/guard/implements-files/__name@dasherize__.guard.ts.template +0 -0
  77. package/guard/index.d.ts +0 -0
  78. package/guard/index.js +1 -0
  79. package/guard/schema.d.ts +1 -1
  80. package/guard/schema.js +1 -0
  81. package/guard/schema.json +1 -1
  82. package/guard/type-files/__name@dasherize__.guard.spec.ts.template +0 -0
  83. package/guard/type-files/__name@dasherize__.guard.ts.template +0 -0
  84. package/interceptor/class-files/__name@dasherize@if-flat__/__name@dasherize__.interceptor.spec.ts.template +0 -0
  85. package/interceptor/class-files/__name@dasherize@if-flat__/__name@dasherize__.interceptor.ts.template +0 -0
  86. package/interceptor/functional-files/__name@dasherize@if-flat__/__name@dasherize__.interceptor.spec.ts.template +0 -0
  87. package/interceptor/functional-files/__name@dasherize@if-flat__/__name@dasherize__.interceptor.ts.template +0 -0
  88. package/interceptor/index.d.ts +0 -0
  89. package/interceptor/index.js +1 -0
  90. package/interceptor/schema.d.ts +1 -1
  91. package/interceptor/schema.js +1 -0
  92. package/interceptor/schema.json +1 -1
  93. package/interface/files/__name@dasherize____type__.ts.template +0 -0
  94. package/interface/index.d.ts +0 -0
  95. package/interface/index.js +1 -0
  96. package/interface/schema.d.ts +1 -1
  97. package/interface/schema.js +1 -0
  98. package/interface/schema.json +1 -1
  99. package/library/files/README.md.template +0 -0
  100. package/library/files/ng-package.json.template +0 -0
  101. package/library/files/package.json.template +0 -0
  102. package/library/files/src/__entryFile__.ts.template +0 -0
  103. package/library/files/tsconfig.lib.json.template +0 -0
  104. package/library/files/tsconfig.lib.prod.json.template +0 -0
  105. package/library/files/tsconfig.spec.json.template +0 -0
  106. package/library/index.d.ts +0 -0
  107. package/library/index.js +1 -0
  108. package/library/schema.d.ts +0 -0
  109. package/library/schema.js +1 -0
  110. package/library/schema.json +0 -0
  111. package/migrations/migration-collection.json +0 -0
  112. package/migrations/update-15/remove-browserslist-config.d.ts +0 -0
  113. package/migrations/update-15/remove-browserslist-config.js +2 -1
  114. package/migrations/update-15/remove-platform-server-exports.d.ts +0 -0
  115. package/migrations/update-15/remove-platform-server-exports.js +1 -0
  116. package/migrations/update-15/update-karma-main-file.d.ts +0 -0
  117. package/migrations/update-15/update-karma-main-file.js +1 -0
  118. package/migrations/update-15/update-typescript-target.d.ts +0 -0
  119. package/migrations/update-15/update-typescript-target.js +1 -0
  120. package/migrations/update-15/update-workspace-config.d.ts +0 -0
  121. package/migrations/update-15/update-workspace-config.js +1 -0
  122. package/module/files/__name@dasherize@if-flat__/__name@dasherize__-routing.module.ts.template +0 -0
  123. package/module/files/__name@dasherize@if-flat__/__name@dasherize__.module.ts.template +0 -0
  124. package/module/index.d.ts +0 -0
  125. package/module/index.js +1 -0
  126. package/module/schema.d.ts +1 -1
  127. package/module/schema.js +1 -0
  128. package/module/schema.json +1 -1
  129. package/ng-new/index.d.ts +0 -0
  130. package/ng-new/index.js +1 -0
  131. package/ng-new/schema.d.ts +1 -1
  132. package/ng-new/schema.js +1 -0
  133. package/ng-new/schema.json +0 -0
  134. package/package.json +7 -7
  135. package/pipe/files/__name@dasherize@if-flat__/__name@dasherize__.pipe.spec.ts.template +0 -0
  136. package/pipe/files/__name@dasherize@if-flat__/__name@dasherize__.pipe.ts.template +0 -0
  137. package/pipe/index.d.ts +0 -0
  138. package/pipe/index.js +1 -0
  139. package/pipe/schema.d.ts +1 -1
  140. package/pipe/schema.js +1 -0
  141. package/pipe/schema.json +1 -1
  142. package/private/components.d.ts +0 -0
  143. package/private/components.js +1 -0
  144. package/private/standalone.d.ts +0 -0
  145. package/private/standalone.js +1 -0
  146. package/resolver/class-files/__name@dasherize__.resolver.spec.ts.template +0 -0
  147. package/resolver/class-files/__name@dasherize__.resolver.ts.template +0 -0
  148. package/resolver/functional-files/__name@dasherize__.resolver.spec.ts.template +0 -0
  149. package/resolver/functional-files/__name@dasherize__.resolver.ts.template +0 -0
  150. package/resolver/index.d.ts +0 -0
  151. package/resolver/index.js +1 -0
  152. package/resolver/schema.d.ts +1 -1
  153. package/resolver/schema.js +1 -0
  154. package/resolver/schema.json +1 -1
  155. package/service/files/__name@dasherize@if-flat__/__name@dasherize__.service.spec.ts.template +0 -0
  156. package/service/files/__name@dasherize@if-flat__/__name@dasherize__.service.ts.template +0 -0
  157. package/service/index.d.ts +0 -0
  158. package/service/index.js +1 -0
  159. package/service/schema.d.ts +1 -1
  160. package/service/schema.js +1 -0
  161. package/service/schema.json +1 -1
  162. package/service-worker/files/ngsw-config.json.template +0 -0
  163. package/service-worker/index.d.ts +0 -0
  164. package/service-worker/index.js +1 -0
  165. package/service-worker/schema.d.ts +0 -0
  166. package/service-worker/schema.js +1 -0
  167. package/service-worker/schema.json +0 -0
  168. package/third_party/github.com/Microsoft/TypeScript/LICENSE +0 -0
  169. package/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts +294 -260
  170. package/third_party/github.com/Microsoft/TypeScript/lib/typescript.js +11590 -9928
  171. package/universal/files/root/tsconfig.server.json.template +0 -0
  172. package/universal/files/src/__main@stripTsExtension__.ts.template +0 -0
  173. package/universal/files/src/app/__rootModuleFileName__.template +0 -0
  174. package/universal/index.d.ts +0 -0
  175. package/universal/index.js +1 -0
  176. package/universal/schema.d.ts +0 -0
  177. package/universal/schema.js +1 -0
  178. package/universal/schema.json +0 -0
  179. package/utility/add-declaration-to-ng-module.d.ts +0 -0
  180. package/utility/add-declaration-to-ng-module.js +1 -0
  181. package/utility/ast-utils.d.ts +0 -0
  182. package/utility/ast-utils.js +1 -0
  183. package/utility/change.d.ts +0 -0
  184. package/utility/change.js +1 -0
  185. package/utility/dependencies.d.ts +0 -0
  186. package/utility/dependencies.js +1 -0
  187. package/utility/dependency.d.ts +0 -0
  188. package/utility/dependency.js +1 -0
  189. package/utility/find-module.d.ts +0 -0
  190. package/utility/find-module.js +1 -0
  191. package/utility/generate-from-files.d.ts +0 -0
  192. package/utility/generate-from-files.js +1 -0
  193. package/utility/index.d.ts +0 -0
  194. package/utility/index.js +1 -0
  195. package/utility/json-file.d.ts +2 -16
  196. package/utility/json-file.js +1 -0
  197. package/utility/latest-versions/package.json +3 -3
  198. package/utility/latest-versions.d.ts +0 -0
  199. package/utility/latest-versions.js +2 -1
  200. package/utility/ng-ast-utils.d.ts +0 -0
  201. package/utility/ng-ast-utils.js +1 -0
  202. package/utility/parse-name.d.ts +0 -0
  203. package/utility/parse-name.js +1 -0
  204. package/utility/paths.d.ts +0 -0
  205. package/utility/paths.js +1 -0
  206. package/utility/project-targets.d.ts +0 -0
  207. package/utility/project-targets.js +1 -0
  208. package/utility/validation.d.ts +0 -0
  209. package/utility/validation.js +1 -0
  210. package/utility/workspace-models.d.ts +9 -9
  211. package/utility/workspace-models.js +1 -0
  212. package/utility/workspace.d.ts +3 -3
  213. package/utility/workspace.js +1 -0
  214. package/web-worker/files/worker/__name@dasherize__.worker.ts.template +0 -0
  215. package/web-worker/files/worker-tsconfig/tsconfig.worker.json.template +0 -0
  216. package/web-worker/index.d.ts +0 -0
  217. package/web-worker/index.js +1 -0
  218. package/web-worker/schema.d.ts +1 -1
  219. package/web-worker/schema.js +1 -0
  220. package/web-worker/schema.json +1 -1
  221. package/workspace/files/README.md.template +0 -0
  222. package/workspace/files/__dot__editorconfig.template +0 -0
  223. package/workspace/files/__dot__gitignore.template +0 -0
  224. package/workspace/files/__dot__vscode/extensions.json.template +0 -0
  225. package/workspace/files/__dot__vscode/launch.json.template +0 -0
  226. package/workspace/files/__dot__vscode/tasks.json.template +0 -0
  227. package/workspace/files/angular.json.template +0 -0
  228. package/workspace/files/package.json.template +0 -0
  229. package/workspace/files/tsconfig.json.template +0 -0
  230. package/workspace/index.d.ts +0 -0
  231. package/workspace/index.js +1 -0
  232. package/workspace/schema.d.ts +0 -0
  233. package/workspace/schema.js +1 -0
  234. package/workspace/schema.json +0 -0
  235. package/third_party/github.com/Microsoft/TypeScript/BUILD.bazel +0 -21
  236. package/utility/test/create-app-module.d.ts +0 -9
  237. package/utility/test/create-app-module.js +0 -31
  238. package/utility/test/get-file-content.d.ts +0 -9
  239. package/utility/test/get-file-content.js +0 -18
  240. package/utility/test/index.js +0 -25
@@ -14,7 +14,7 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
  declare namespace ts {
17
- const versionMajorMinor = "4.8";
17
+ const versionMajorMinor = "4.9";
18
18
  /** The version of the TypeScript compiler release */
19
19
  const version: string;
20
20
  /**
@@ -232,237 +232,240 @@ declare namespace ts {
232
232
  StaticKeyword = 124,
233
233
  YieldKeyword = 125,
234
234
  AbstractKeyword = 126,
235
- AsKeyword = 127,
236
- AssertsKeyword = 128,
237
- AssertKeyword = 129,
238
- AnyKeyword = 130,
239
- AsyncKeyword = 131,
240
- AwaitKeyword = 132,
241
- BooleanKeyword = 133,
242
- ConstructorKeyword = 134,
243
- DeclareKeyword = 135,
244
- GetKeyword = 136,
245
- InferKeyword = 137,
246
- IntrinsicKeyword = 138,
247
- IsKeyword = 139,
248
- KeyOfKeyword = 140,
249
- ModuleKeyword = 141,
250
- NamespaceKeyword = 142,
251
- NeverKeyword = 143,
252
- OutKeyword = 144,
253
- ReadonlyKeyword = 145,
254
- RequireKeyword = 146,
255
- NumberKeyword = 147,
256
- ObjectKeyword = 148,
257
- SetKeyword = 149,
258
- StringKeyword = 150,
259
- SymbolKeyword = 151,
260
- TypeKeyword = 152,
261
- UndefinedKeyword = 153,
262
- UniqueKeyword = 154,
263
- UnknownKeyword = 155,
264
- FromKeyword = 156,
265
- GlobalKeyword = 157,
266
- BigIntKeyword = 158,
267
- OverrideKeyword = 159,
268
- OfKeyword = 160,
269
- QualifiedName = 161,
270
- ComputedPropertyName = 162,
271
- TypeParameter = 163,
272
- Parameter = 164,
273
- Decorator = 165,
274
- PropertySignature = 166,
275
- PropertyDeclaration = 167,
276
- MethodSignature = 168,
277
- MethodDeclaration = 169,
278
- ClassStaticBlockDeclaration = 170,
279
- Constructor = 171,
280
- GetAccessor = 172,
281
- SetAccessor = 173,
282
- CallSignature = 174,
283
- ConstructSignature = 175,
284
- IndexSignature = 176,
285
- TypePredicate = 177,
286
- TypeReference = 178,
287
- FunctionType = 179,
288
- ConstructorType = 180,
289
- TypeQuery = 181,
290
- TypeLiteral = 182,
291
- ArrayType = 183,
292
- TupleType = 184,
293
- OptionalType = 185,
294
- RestType = 186,
295
- UnionType = 187,
296
- IntersectionType = 188,
297
- ConditionalType = 189,
298
- InferType = 190,
299
- ParenthesizedType = 191,
300
- ThisType = 192,
301
- TypeOperator = 193,
302
- IndexedAccessType = 194,
303
- MappedType = 195,
304
- LiteralType = 196,
305
- NamedTupleMember = 197,
306
- TemplateLiteralType = 198,
307
- TemplateLiteralTypeSpan = 199,
308
- ImportType = 200,
309
- ObjectBindingPattern = 201,
310
- ArrayBindingPattern = 202,
311
- BindingElement = 203,
312
- ArrayLiteralExpression = 204,
313
- ObjectLiteralExpression = 205,
314
- PropertyAccessExpression = 206,
315
- ElementAccessExpression = 207,
316
- CallExpression = 208,
317
- NewExpression = 209,
318
- TaggedTemplateExpression = 210,
319
- TypeAssertionExpression = 211,
320
- ParenthesizedExpression = 212,
321
- FunctionExpression = 213,
322
- ArrowFunction = 214,
323
- DeleteExpression = 215,
324
- TypeOfExpression = 216,
325
- VoidExpression = 217,
326
- AwaitExpression = 218,
327
- PrefixUnaryExpression = 219,
328
- PostfixUnaryExpression = 220,
329
- BinaryExpression = 221,
330
- ConditionalExpression = 222,
331
- TemplateExpression = 223,
332
- YieldExpression = 224,
333
- SpreadElement = 225,
334
- ClassExpression = 226,
335
- OmittedExpression = 227,
336
- ExpressionWithTypeArguments = 228,
337
- AsExpression = 229,
338
- NonNullExpression = 230,
339
- MetaProperty = 231,
340
- SyntheticExpression = 232,
341
- TemplateSpan = 233,
342
- SemicolonClassElement = 234,
343
- Block = 235,
344
- EmptyStatement = 236,
345
- VariableStatement = 237,
346
- ExpressionStatement = 238,
347
- IfStatement = 239,
348
- DoStatement = 240,
349
- WhileStatement = 241,
350
- ForStatement = 242,
351
- ForInStatement = 243,
352
- ForOfStatement = 244,
353
- ContinueStatement = 245,
354
- BreakStatement = 246,
355
- ReturnStatement = 247,
356
- WithStatement = 248,
357
- SwitchStatement = 249,
358
- LabeledStatement = 250,
359
- ThrowStatement = 251,
360
- TryStatement = 252,
361
- DebuggerStatement = 253,
362
- VariableDeclaration = 254,
363
- VariableDeclarationList = 255,
364
- FunctionDeclaration = 256,
365
- ClassDeclaration = 257,
366
- InterfaceDeclaration = 258,
367
- TypeAliasDeclaration = 259,
368
- EnumDeclaration = 260,
369
- ModuleDeclaration = 261,
370
- ModuleBlock = 262,
371
- CaseBlock = 263,
372
- NamespaceExportDeclaration = 264,
373
- ImportEqualsDeclaration = 265,
374
- ImportDeclaration = 266,
375
- ImportClause = 267,
376
- NamespaceImport = 268,
377
- NamedImports = 269,
378
- ImportSpecifier = 270,
379
- ExportAssignment = 271,
380
- ExportDeclaration = 272,
381
- NamedExports = 273,
382
- NamespaceExport = 274,
383
- ExportSpecifier = 275,
384
- MissingDeclaration = 276,
385
- ExternalModuleReference = 277,
386
- JsxElement = 278,
387
- JsxSelfClosingElement = 279,
388
- JsxOpeningElement = 280,
389
- JsxClosingElement = 281,
390
- JsxFragment = 282,
391
- JsxOpeningFragment = 283,
392
- JsxClosingFragment = 284,
393
- JsxAttribute = 285,
394
- JsxAttributes = 286,
395
- JsxSpreadAttribute = 287,
396
- JsxExpression = 288,
397
- CaseClause = 289,
398
- DefaultClause = 290,
399
- HeritageClause = 291,
400
- CatchClause = 292,
401
- AssertClause = 293,
402
- AssertEntry = 294,
403
- ImportTypeAssertionContainer = 295,
404
- PropertyAssignment = 296,
405
- ShorthandPropertyAssignment = 297,
406
- SpreadAssignment = 298,
407
- EnumMember = 299,
408
- UnparsedPrologue = 300,
409
- UnparsedPrepend = 301,
410
- UnparsedText = 302,
411
- UnparsedInternalText = 303,
412
- UnparsedSyntheticReference = 304,
413
- SourceFile = 305,
414
- Bundle = 306,
415
- UnparsedSource = 307,
416
- InputFiles = 308,
417
- JSDocTypeExpression = 309,
418
- JSDocNameReference = 310,
419
- JSDocMemberName = 311,
420
- JSDocAllType = 312,
421
- JSDocUnknownType = 313,
422
- JSDocNullableType = 314,
423
- JSDocNonNullableType = 315,
424
- JSDocOptionalType = 316,
425
- JSDocFunctionType = 317,
426
- JSDocVariadicType = 318,
427
- JSDocNamepathType = 319,
428
- JSDoc = 320,
235
+ AccessorKeyword = 127,
236
+ AsKeyword = 128,
237
+ AssertsKeyword = 129,
238
+ AssertKeyword = 130,
239
+ AnyKeyword = 131,
240
+ AsyncKeyword = 132,
241
+ AwaitKeyword = 133,
242
+ BooleanKeyword = 134,
243
+ ConstructorKeyword = 135,
244
+ DeclareKeyword = 136,
245
+ GetKeyword = 137,
246
+ InferKeyword = 138,
247
+ IntrinsicKeyword = 139,
248
+ IsKeyword = 140,
249
+ KeyOfKeyword = 141,
250
+ ModuleKeyword = 142,
251
+ NamespaceKeyword = 143,
252
+ NeverKeyword = 144,
253
+ OutKeyword = 145,
254
+ ReadonlyKeyword = 146,
255
+ RequireKeyword = 147,
256
+ NumberKeyword = 148,
257
+ ObjectKeyword = 149,
258
+ SatisfiesKeyword = 150,
259
+ SetKeyword = 151,
260
+ StringKeyword = 152,
261
+ SymbolKeyword = 153,
262
+ TypeKeyword = 154,
263
+ UndefinedKeyword = 155,
264
+ UniqueKeyword = 156,
265
+ UnknownKeyword = 157,
266
+ FromKeyword = 158,
267
+ GlobalKeyword = 159,
268
+ BigIntKeyword = 160,
269
+ OverrideKeyword = 161,
270
+ OfKeyword = 162,
271
+ QualifiedName = 163,
272
+ ComputedPropertyName = 164,
273
+ TypeParameter = 165,
274
+ Parameter = 166,
275
+ Decorator = 167,
276
+ PropertySignature = 168,
277
+ PropertyDeclaration = 169,
278
+ MethodSignature = 170,
279
+ MethodDeclaration = 171,
280
+ ClassStaticBlockDeclaration = 172,
281
+ Constructor = 173,
282
+ GetAccessor = 174,
283
+ SetAccessor = 175,
284
+ CallSignature = 176,
285
+ ConstructSignature = 177,
286
+ IndexSignature = 178,
287
+ TypePredicate = 179,
288
+ TypeReference = 180,
289
+ FunctionType = 181,
290
+ ConstructorType = 182,
291
+ TypeQuery = 183,
292
+ TypeLiteral = 184,
293
+ ArrayType = 185,
294
+ TupleType = 186,
295
+ OptionalType = 187,
296
+ RestType = 188,
297
+ UnionType = 189,
298
+ IntersectionType = 190,
299
+ ConditionalType = 191,
300
+ InferType = 192,
301
+ ParenthesizedType = 193,
302
+ ThisType = 194,
303
+ TypeOperator = 195,
304
+ IndexedAccessType = 196,
305
+ MappedType = 197,
306
+ LiteralType = 198,
307
+ NamedTupleMember = 199,
308
+ TemplateLiteralType = 200,
309
+ TemplateLiteralTypeSpan = 201,
310
+ ImportType = 202,
311
+ ObjectBindingPattern = 203,
312
+ ArrayBindingPattern = 204,
313
+ BindingElement = 205,
314
+ ArrayLiteralExpression = 206,
315
+ ObjectLiteralExpression = 207,
316
+ PropertyAccessExpression = 208,
317
+ ElementAccessExpression = 209,
318
+ CallExpression = 210,
319
+ NewExpression = 211,
320
+ TaggedTemplateExpression = 212,
321
+ TypeAssertionExpression = 213,
322
+ ParenthesizedExpression = 214,
323
+ FunctionExpression = 215,
324
+ ArrowFunction = 216,
325
+ DeleteExpression = 217,
326
+ TypeOfExpression = 218,
327
+ VoidExpression = 219,
328
+ AwaitExpression = 220,
329
+ PrefixUnaryExpression = 221,
330
+ PostfixUnaryExpression = 222,
331
+ BinaryExpression = 223,
332
+ ConditionalExpression = 224,
333
+ TemplateExpression = 225,
334
+ YieldExpression = 226,
335
+ SpreadElement = 227,
336
+ ClassExpression = 228,
337
+ OmittedExpression = 229,
338
+ ExpressionWithTypeArguments = 230,
339
+ AsExpression = 231,
340
+ NonNullExpression = 232,
341
+ MetaProperty = 233,
342
+ SyntheticExpression = 234,
343
+ SatisfiesExpression = 235,
344
+ TemplateSpan = 236,
345
+ SemicolonClassElement = 237,
346
+ Block = 238,
347
+ EmptyStatement = 239,
348
+ VariableStatement = 240,
349
+ ExpressionStatement = 241,
350
+ IfStatement = 242,
351
+ DoStatement = 243,
352
+ WhileStatement = 244,
353
+ ForStatement = 245,
354
+ ForInStatement = 246,
355
+ ForOfStatement = 247,
356
+ ContinueStatement = 248,
357
+ BreakStatement = 249,
358
+ ReturnStatement = 250,
359
+ WithStatement = 251,
360
+ SwitchStatement = 252,
361
+ LabeledStatement = 253,
362
+ ThrowStatement = 254,
363
+ TryStatement = 255,
364
+ DebuggerStatement = 256,
365
+ VariableDeclaration = 257,
366
+ VariableDeclarationList = 258,
367
+ FunctionDeclaration = 259,
368
+ ClassDeclaration = 260,
369
+ InterfaceDeclaration = 261,
370
+ TypeAliasDeclaration = 262,
371
+ EnumDeclaration = 263,
372
+ ModuleDeclaration = 264,
373
+ ModuleBlock = 265,
374
+ CaseBlock = 266,
375
+ NamespaceExportDeclaration = 267,
376
+ ImportEqualsDeclaration = 268,
377
+ ImportDeclaration = 269,
378
+ ImportClause = 270,
379
+ NamespaceImport = 271,
380
+ NamedImports = 272,
381
+ ImportSpecifier = 273,
382
+ ExportAssignment = 274,
383
+ ExportDeclaration = 275,
384
+ NamedExports = 276,
385
+ NamespaceExport = 277,
386
+ ExportSpecifier = 278,
387
+ MissingDeclaration = 279,
388
+ ExternalModuleReference = 280,
389
+ JsxElement = 281,
390
+ JsxSelfClosingElement = 282,
391
+ JsxOpeningElement = 283,
392
+ JsxClosingElement = 284,
393
+ JsxFragment = 285,
394
+ JsxOpeningFragment = 286,
395
+ JsxClosingFragment = 287,
396
+ JsxAttribute = 288,
397
+ JsxAttributes = 289,
398
+ JsxSpreadAttribute = 290,
399
+ JsxExpression = 291,
400
+ CaseClause = 292,
401
+ DefaultClause = 293,
402
+ HeritageClause = 294,
403
+ CatchClause = 295,
404
+ AssertClause = 296,
405
+ AssertEntry = 297,
406
+ ImportTypeAssertionContainer = 298,
407
+ PropertyAssignment = 299,
408
+ ShorthandPropertyAssignment = 300,
409
+ SpreadAssignment = 301,
410
+ EnumMember = 302,
411
+ UnparsedPrologue = 303,
412
+ UnparsedPrepend = 304,
413
+ UnparsedText = 305,
414
+ UnparsedInternalText = 306,
415
+ UnparsedSyntheticReference = 307,
416
+ SourceFile = 308,
417
+ Bundle = 309,
418
+ UnparsedSource = 310,
419
+ InputFiles = 311,
420
+ JSDocTypeExpression = 312,
421
+ JSDocNameReference = 313,
422
+ JSDocMemberName = 314,
423
+ JSDocAllType = 315,
424
+ JSDocUnknownType = 316,
425
+ JSDocNullableType = 317,
426
+ JSDocNonNullableType = 318,
427
+ JSDocOptionalType = 319,
428
+ JSDocFunctionType = 320,
429
+ JSDocVariadicType = 321,
430
+ JSDocNamepathType = 322,
431
+ JSDoc = 323,
429
432
  /** @deprecated Use SyntaxKind.JSDoc */
430
- JSDocComment = 320,
431
- JSDocText = 321,
432
- JSDocTypeLiteral = 322,
433
- JSDocSignature = 323,
434
- JSDocLink = 324,
435
- JSDocLinkCode = 325,
436
- JSDocLinkPlain = 326,
437
- JSDocTag = 327,
438
- JSDocAugmentsTag = 328,
439
- JSDocImplementsTag = 329,
440
- JSDocAuthorTag = 330,
441
- JSDocDeprecatedTag = 331,
442
- JSDocClassTag = 332,
443
- JSDocPublicTag = 333,
444
- JSDocPrivateTag = 334,
445
- JSDocProtectedTag = 335,
446
- JSDocReadonlyTag = 336,
447
- JSDocOverrideTag = 337,
448
- JSDocCallbackTag = 338,
449
- JSDocEnumTag = 339,
450
- JSDocParameterTag = 340,
451
- JSDocReturnTag = 341,
452
- JSDocThisTag = 342,
453
- JSDocTypeTag = 343,
454
- JSDocTemplateTag = 344,
455
- JSDocTypedefTag = 345,
456
- JSDocSeeTag = 346,
457
- JSDocPropertyTag = 347,
458
- SyntaxList = 348,
459
- NotEmittedStatement = 349,
460
- PartiallyEmittedExpression = 350,
461
- CommaListExpression = 351,
462
- MergeDeclarationMarker = 352,
463
- EndOfDeclarationMarker = 353,
464
- SyntheticReferenceExpression = 354,
465
- Count = 355,
433
+ JSDocComment = 323,
434
+ JSDocText = 324,
435
+ JSDocTypeLiteral = 325,
436
+ JSDocSignature = 326,
437
+ JSDocLink = 327,
438
+ JSDocLinkCode = 328,
439
+ JSDocLinkPlain = 329,
440
+ JSDocTag = 330,
441
+ JSDocAugmentsTag = 331,
442
+ JSDocImplementsTag = 332,
443
+ JSDocAuthorTag = 333,
444
+ JSDocDeprecatedTag = 334,
445
+ JSDocClassTag = 335,
446
+ JSDocPublicTag = 336,
447
+ JSDocPrivateTag = 337,
448
+ JSDocProtectedTag = 338,
449
+ JSDocReadonlyTag = 339,
450
+ JSDocOverrideTag = 340,
451
+ JSDocCallbackTag = 341,
452
+ JSDocEnumTag = 342,
453
+ JSDocParameterTag = 343,
454
+ JSDocReturnTag = 344,
455
+ JSDocThisTag = 345,
456
+ JSDocTypeTag = 346,
457
+ JSDocTemplateTag = 347,
458
+ JSDocTypedefTag = 348,
459
+ JSDocSeeTag = 349,
460
+ JSDocPropertyTag = 350,
461
+ SyntaxList = 351,
462
+ NotEmittedStatement = 352,
463
+ PartiallyEmittedExpression = 353,
464
+ CommaListExpression = 354,
465
+ MergeDeclarationMarker = 355,
466
+ EndOfDeclarationMarker = 356,
467
+ SyntheticReferenceExpression = 357,
468
+ Count = 358,
466
469
  FirstAssignment = 63,
467
470
  LastAssignment = 78,
468
471
  FirstCompoundAssignment = 64,
@@ -470,15 +473,15 @@ declare namespace ts {
470
473
  FirstReservedWord = 81,
471
474
  LastReservedWord = 116,
472
475
  FirstKeyword = 81,
473
- LastKeyword = 160,
476
+ LastKeyword = 162,
474
477
  FirstFutureReservedWord = 117,
475
478
  LastFutureReservedWord = 125,
476
- FirstTypeNode = 177,
477
- LastTypeNode = 200,
479
+ FirstTypeNode = 179,
480
+ LastTypeNode = 202,
478
481
  FirstPunctuation = 18,
479
482
  LastPunctuation = 78,
480
483
  FirstToken = 0,
481
- LastToken = 160,
484
+ LastToken = 162,
482
485
  FirstTriviaToken = 2,
483
486
  LastTriviaToken = 7,
484
487
  FirstLiteralToken = 8,
@@ -487,20 +490,20 @@ declare namespace ts {
487
490
  LastTemplateToken = 17,
488
491
  FirstBinaryOperator = 29,
489
492
  LastBinaryOperator = 78,
490
- FirstStatement = 237,
491
- LastStatement = 253,
492
- FirstNode = 161,
493
- FirstJSDocNode = 309,
494
- LastJSDocNode = 347,
495
- FirstJSDocTagNode = 327,
496
- LastJSDocTagNode = 347,
493
+ FirstStatement = 240,
494
+ LastStatement = 256,
495
+ FirstNode = 163,
496
+ FirstJSDocNode = 312,
497
+ LastJSDocNode = 350,
498
+ FirstJSDocTagNode = 330,
499
+ LastJSDocTagNode = 350,
497
500
  }
498
501
  export type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
499
502
  export type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
500
503
  export type PseudoLiteralSyntaxKind = SyntaxKind.TemplateHead | SyntaxKind.TemplateMiddle | SyntaxKind.TemplateTail;
501
504
  export type PunctuationSyntaxKind = SyntaxKind.OpenBraceToken | SyntaxKind.CloseBraceToken | SyntaxKind.OpenParenToken | SyntaxKind.CloseParenToken | SyntaxKind.OpenBracketToken | SyntaxKind.CloseBracketToken | SyntaxKind.DotToken | SyntaxKind.DotDotDotToken | SyntaxKind.SemicolonToken | SyntaxKind.CommaToken | SyntaxKind.QuestionDotToken | SyntaxKind.LessThanToken | SyntaxKind.LessThanSlashToken | SyntaxKind.GreaterThanToken | SyntaxKind.LessThanEqualsToken | SyntaxKind.GreaterThanEqualsToken | SyntaxKind.EqualsEqualsToken | SyntaxKind.ExclamationEqualsToken | SyntaxKind.EqualsEqualsEqualsToken | SyntaxKind.ExclamationEqualsEqualsToken | SyntaxKind.EqualsGreaterThanToken | SyntaxKind.PlusToken | SyntaxKind.MinusToken | SyntaxKind.AsteriskToken | SyntaxKind.AsteriskAsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken | SyntaxKind.PlusPlusToken | SyntaxKind.MinusMinusToken | SyntaxKind.LessThanLessThanToken | SyntaxKind.GreaterThanGreaterThanToken | SyntaxKind.GreaterThanGreaterThanGreaterThanToken | SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken | SyntaxKind.ExclamationToken | SyntaxKind.TildeToken | SyntaxKind.AmpersandAmpersandToken | SyntaxKind.BarBarToken | SyntaxKind.QuestionQuestionToken | SyntaxKind.QuestionToken | SyntaxKind.ColonToken | SyntaxKind.AtToken | SyntaxKind.BacktickToken | SyntaxKind.HashToken | SyntaxKind.EqualsToken | SyntaxKind.PlusEqualsToken | SyntaxKind.MinusEqualsToken | SyntaxKind.AsteriskEqualsToken | SyntaxKind.AsteriskAsteriskEqualsToken | SyntaxKind.SlashEqualsToken | SyntaxKind.PercentEqualsToken | SyntaxKind.LessThanLessThanEqualsToken | SyntaxKind.GreaterThanGreaterThanEqualsToken | SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken | SyntaxKind.AmpersandEqualsToken | SyntaxKind.BarEqualsToken | SyntaxKind.CaretEqualsToken;
502
- export type KeywordSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsKeyword | SyntaxKind.AssertsKeyword | SyntaxKind.AssertKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.ContinueKeyword | 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.GlobalKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InferKeyword | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.LetKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.OfKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.RequireKeyword | 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;
503
- export type ModifierSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.ConstKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.ExportKeyword | SyntaxKind.InKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.StaticKeyword;
505
+ export type KeywordSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsKeyword | SyntaxKind.AssertsKeyword | SyntaxKind.AssertKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.ContinueKeyword | 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.GlobalKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InferKeyword | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.LetKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.OfKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.RequireKeyword | SyntaxKind.ReturnKeyword | SyntaxKind.SatisfiesKeyword | 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;
506
+ export type ModifierSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.ConstKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.ExportKeyword | SyntaxKind.InKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.StaticKeyword;
504
507
  export type KeywordTypeSyntaxKind = SyntaxKind.AnyKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.StringKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.VoidKeyword;
505
508
  export type TokenSyntaxKind = SyntaxKind.Unknown | SyntaxKind.EndOfFileToken | TriviaSyntaxKind | LiteralSyntaxKind | PseudoLiteralSyntaxKind | PunctuationSyntaxKind | SyntaxKind.Identifier | KeywordSyntaxKind;
506
509
  export type JsxTokenSyntaxKind = SyntaxKind.LessThanSlashToken | SyntaxKind.EndOfFileToken | SyntaxKind.ConflictMarkerTrivia | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.OpenBraceToken | SyntaxKind.LessThanToken;
@@ -545,9 +548,10 @@ declare namespace ts {
545
548
  Protected = 16,
546
549
  Static = 32,
547
550
  Readonly = 64,
548
- Abstract = 128,
549
- Async = 256,
550
- Default = 512,
551
+ Accessor = 128,
552
+ Abstract = 256,
553
+ Async = 512,
554
+ Default = 1024,
551
555
  Const = 2048,
552
556
  HasComputedJSDocModifiers = 4096,
553
557
  Deprecated = 8192,
@@ -559,10 +563,10 @@ declare namespace ts {
559
563
  AccessibilityModifier = 28,
560
564
  ParameterPropertyModifier = 16476,
561
565
  NonPublicAccessibilityModifier = 24,
562
- TypeScriptModifier = 116958,
563
- ExportDefault = 513,
564
- All = 257023,
565
- Modifier = 125951
566
+ TypeScriptModifier = 117086,
567
+ ExportDefault = 1025,
568
+ All = 258047,
569
+ Modifier = 126975
566
570
  }
567
571
  export enum JsxFlags {
568
572
  None = 0,
@@ -618,6 +622,7 @@ declare namespace ts {
618
622
  export interface ModifierToken<TKind extends ModifierSyntaxKind> extends KeywordToken<TKind> {
619
623
  }
620
624
  export type AbstractKeyword = ModifierToken<SyntaxKind.AbstractKeyword>;
625
+ export type AccessorKeyword = ModifierToken<SyntaxKind.AccessorKeyword>;
621
626
  export type AsyncKeyword = ModifierToken<SyntaxKind.AsyncKeyword>;
622
627
  export type ConstKeyword = ModifierToken<SyntaxKind.ConstKeyword>;
623
628
  export type DeclareKeyword = ModifierToken<SyntaxKind.DeclareKeyword>;
@@ -633,11 +638,11 @@ declare namespace ts {
633
638
  export type StaticKeyword = ModifierToken<SyntaxKind.StaticKeyword>;
634
639
  /** @deprecated Use `ReadonlyKeyword` instead. */
635
640
  export type ReadonlyToken = ReadonlyKeyword;
636
- export type Modifier = AbstractKeyword | AsyncKeyword | ConstKeyword | DeclareKeyword | DefaultKeyword | ExportKeyword | InKeyword | PrivateKeyword | ProtectedKeyword | PublicKeyword | OutKeyword | OverrideKeyword | ReadonlyKeyword | StaticKeyword;
641
+ export type Modifier = AbstractKeyword | AccessorKeyword | AsyncKeyword | ConstKeyword | DeclareKeyword | DefaultKeyword | ExportKeyword | InKeyword | PrivateKeyword | ProtectedKeyword | PublicKeyword | OutKeyword | OverrideKeyword | ReadonlyKeyword | StaticKeyword;
637
642
  export type ModifierLike = Modifier | Decorator;
638
643
  export type AccessibilityModifier = PublicKeyword | PrivateKeyword | ProtectedKeyword;
639
644
  export type ParameterPropertyModifier = AccessibilityModifier | ReadonlyKeyword;
640
- export type ClassMemberModifier = AccessibilityModifier | ReadonlyKeyword | StaticKeyword;
645
+ export type ClassMemberModifier = AccessibilityModifier | ReadonlyKeyword | StaticKeyword | AccessorKeyword;
641
646
  export type ModifiersArray = NodeArray<Modifier>;
642
647
  export enum GeneratedIdentifierFlags {
643
648
  None = 0,
@@ -764,6 +769,9 @@ declare namespace ts {
764
769
  readonly type?: TypeNode;
765
770
  readonly initializer?: Expression;
766
771
  }
772
+ export interface AutoAccessorPropertyDeclaration extends PropertyDeclaration {
773
+ _autoAccessorBrand: any;
774
+ }
767
775
  export interface ObjectLiteralElement extends NamedDeclaration {
768
776
  _objectLiteralBrand: any;
769
777
  readonly name?: PropertyName;
@@ -1340,6 +1348,11 @@ declare namespace ts {
1340
1348
  readonly type: TypeNode;
1341
1349
  readonly expression: UnaryExpression;
1342
1350
  }
1351
+ export interface SatisfiesExpression extends Expression {
1352
+ readonly kind: SyntaxKind.SatisfiesExpression;
1353
+ readonly expression: Expression;
1354
+ readonly type: TypeNode;
1355
+ }
1343
1356
  export type AssertionExpression = TypeAssertion | AsExpression;
1344
1357
  export interface NonNullExpression extends LeftHandSideExpression {
1345
1358
  readonly kind: SyntaxKind.NonNullExpression;
@@ -2316,6 +2329,7 @@ declare namespace ts {
2316
2329
  getPrivateIdentifierPropertyOfType(leftType: Type, name: string, location: Node): Symbol | undefined;
2317
2330
  getIndexInfoOfType(type: Type, kind: IndexKind): IndexInfo | undefined;
2318
2331
  getIndexInfosOfType(type: Type): readonly IndexInfo[];
2332
+ getIndexInfosOfIndexSymbol: (indexSymbol: Symbol) => IndexInfo[];
2319
2333
  getSignaturesOfType(type: Type, kind: SignatureKind): readonly Signature[];
2320
2334
  getIndexTypeOfType(type: Type, kind: IndexKind): Type | undefined;
2321
2335
  getBaseTypes(type: InterfaceType): BaseType[];
@@ -2562,6 +2576,7 @@ declare namespace ts {
2562
2576
  MethodExcludes = 103359,
2563
2577
  GetAccessorExcludes = 46015,
2564
2578
  SetAccessorExcludes = 78783,
2579
+ AccessorExcludes = 13247,
2565
2580
  TypeParameterExcludes = 526824,
2566
2581
  TypeAliasExcludes = 788968,
2567
2582
  AliasExcludes = 2097152,
@@ -2832,7 +2847,7 @@ declare namespace ts {
2832
2847
  export interface SubstitutionType extends InstantiableType {
2833
2848
  objectFlags: ObjectFlags;
2834
2849
  baseType: Type;
2835
- substitute: Type;
2850
+ constraint: Type;
2836
2851
  }
2837
2852
  export enum SignatureKind {
2838
2853
  Call = 0,
@@ -3305,6 +3320,8 @@ declare namespace ts {
3305
3320
  */
3306
3321
  resolveTypeReferenceDirectives?(typeReferenceDirectiveNames: string[] | readonly FileReference[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingFileMode?: SourceFile["impliedNodeFormat"] | undefined): (ResolvedTypeReferenceDirective | undefined)[];
3307
3322
  getEnvironmentVariable?(name: string): string | undefined;
3323
+ /** If provided along with custom resolveModuleNames or resolveTypeReferenceDirectives, used to determine if unchanged file path needs to re-resolve modules/type reference directives */
3324
+ hasInvalidatedResolutions?(filePath: Path): boolean;
3308
3325
  createHash?(data: string): string;
3309
3326
  getParsedCommandLine?(fileName: string): ParsedCommandLine | undefined;
3310
3327
  }
@@ -3387,7 +3404,7 @@ declare namespace ts {
3387
3404
  createNumericLiteral(value: string | number, numericLiteralFlags?: TokenFlags): NumericLiteral;
3388
3405
  createBigIntLiteral(value: string | PseudoBigInt): BigIntLiteral;
3389
3406
  createStringLiteral(text: string, isSingleQuote?: boolean): StringLiteral;
3390
- createStringLiteralFromNode(sourceNode: PropertyNameLiteral, isSingleQuote?: boolean): StringLiteral;
3407
+ createStringLiteralFromNode(sourceNode: PropertyNameLiteral | PrivateIdentifier, isSingleQuote?: boolean): StringLiteral;
3391
3408
  createRegularExpressionLiteral(text: string): RegularExpressionLiteral;
3392
3409
  createIdentifier(text: string): Identifier;
3393
3410
  /**
@@ -3412,6 +3429,8 @@ declare namespace ts {
3412
3429
  /** Create a unique name generated for a node. */
3413
3430
  getGeneratedNameForNode(node: Node | undefined, flags?: GeneratedIdentifierFlags): Identifier;
3414
3431
  createPrivateIdentifier(text: string): PrivateIdentifier;
3432
+ createUniquePrivateName(text?: string): PrivateIdentifier;
3433
+ getGeneratedPrivateNameForNode(node: Node): PrivateIdentifier;
3415
3434
  createToken(token: SyntaxKind.SuperKeyword): SuperExpression;
3416
3435
  createToken(token: SyntaxKind.ThisKeyword): ThisExpression;
3417
3436
  createToken(token: SyntaxKind.NullKeyword): NullLiteral;
@@ -3587,6 +3606,8 @@ declare namespace ts {
3587
3606
  updateNonNullChain(node: NonNullChain, expression: Expression): NonNullChain;
3588
3607
  createMetaProperty(keywordToken: MetaProperty["keywordToken"], name: Identifier): MetaProperty;
3589
3608
  updateMetaProperty(node: MetaProperty, name: Identifier): MetaProperty;
3609
+ createSatisfiesExpression(expression: Expression, type: TypeNode): SatisfiesExpression;
3610
+ updateSatisfiesExpression(node: SatisfiesExpression, expression: Expression, type: TypeNode): SatisfiesExpression;
3590
3611
  createTemplateSpan(expression: Expression, literal: TemplateMiddle | TemplateTail): TemplateSpan;
3591
3612
  updateTemplateSpan(node: TemplateSpan, expression: Expression, literal: TemplateMiddle | TemplateTail): TemplateSpan;
3592
3613
  createSemicolonClassElement(): SemicolonClassElement;
@@ -3948,7 +3969,7 @@ declare namespace ts {
3948
3969
  <T extends Node>(nodes: NodeArray<T>, visitor: Visitor | undefined, test?: (node: Node) => boolean, start?: number, count?: number): NodeArray<T>;
3949
3970
  <T extends Node>(nodes: NodeArray<T> | undefined, visitor: Visitor | undefined, test?: (node: Node) => boolean, start?: number, count?: number): NodeArray<T> | undefined;
3950
3971
  }
3951
- export type VisitResult<T extends Node> = T | T[] | undefined;
3972
+ export type VisitResult<T extends Node> = T | readonly T[] | undefined;
3952
3973
  export interface Printer {
3953
3974
  /**
3954
3975
  * Print a node and its subtree as-is, without any emit transformations.
@@ -4515,6 +4536,7 @@ declare namespace ts {
4515
4536
  function isClassElement(node: Node): node is ClassElement;
4516
4537
  function isClassLike(node: Node): node is ClassLikeDeclaration;
4517
4538
  function isAccessor(node: Node): node is AccessorDeclaration;
4539
+ function isAutoAccessorPropertyDeclaration(node: Node): node is AutoAccessorPropertyDeclaration;
4518
4540
  function isModifierLike(node: Node): node is ModifierLike;
4519
4541
  function isTypeElement(node: Node): node is TypeElement;
4520
4542
  function isClassOrTypeElement(node: Node): node is ClassElement | TypeElement;
@@ -4716,6 +4738,7 @@ declare namespace ts {
4716
4738
  function isOmittedExpression(node: Node): node is OmittedExpression;
4717
4739
  function isExpressionWithTypeArguments(node: Node): node is ExpressionWithTypeArguments;
4718
4740
  function isAsExpression(node: Node): node is AsExpression;
4741
+ function isSatisfiesExpression(node: Node): node is SatisfiesExpression;
4719
4742
  function isNonNullExpression(node: Node): node is NonNullExpression;
4720
4743
  function isMetaProperty(node: Node): node is MetaProperty;
4721
4744
  function isSyntheticExpression(node: Node): node is SyntheticExpression;
@@ -5376,9 +5399,9 @@ declare namespace ts {
5376
5399
  /** If provided, called with Diagnostic message that informs about change in watch status */
5377
5400
  onWatchStatusChange?(diagnostic: Diagnostic, newLine: string, options: CompilerOptions, errorCount?: number): void;
5378
5401
  /** Used to watch changes in source files, missing files needed to update the program or config file */
5379
- watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: CompilerOptions): FileWatcher;
5402
+ watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOptions): FileWatcher;
5380
5403
  /** Used to watch resolved module's failed lookup locations, config file specs, type roots where auto type reference directives are added */
5381
- watchDirectory(path: string, callback: DirectoryWatcherCallback, recursive?: boolean, options?: CompilerOptions): FileWatcher;
5404
+ watchDirectory(path: string, callback: DirectoryWatcherCallback, recursive?: boolean, options?: WatchOptions): FileWatcher;
5382
5405
  /** If provided, will be used to set delayed compilation, so that multiple changes in short span are compiled together */
5383
5406
  setTimeout?(callback: (...args: any[]) => void, ms: number, ...args: any[]): any;
5384
5407
  /** If provided, will be used to reset existing delayed compilation */
@@ -5421,6 +5444,8 @@ declare namespace ts {
5421
5444
  resolveModuleNames?(moduleNames: string[], containingFile: string, reusedNames: string[] | undefined, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingSourceFile?: SourceFile): (ResolvedModule | undefined)[];
5422
5445
  /** If provided, used to resolve type reference directives, otherwise typescript's default resolution */
5423
5446
  resolveTypeReferenceDirectives?(typeReferenceDirectiveNames: string[] | readonly FileReference[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingFileMode?: SourceFile["impliedNodeFormat"] | undefined): (ResolvedTypeReferenceDirective | undefined)[];
5447
+ /** If provided along with custom resolveModuleNames or resolveTypeReferenceDirectives, used to determine if unchanged file path needs to re-resolve modules/type reference directives */
5448
+ hasInvalidatedResolutions?(filePath: Path): boolean;
5424
5449
  /**
5425
5450
  * Returns the module resolution cache used by a provided `resolveModuleNames` implementation so that any non-name module resolution operations (eg, package.json lookup) can reuse it
5426
5451
  */
@@ -6007,8 +6032,15 @@ declare namespace ts {
6007
6032
  type: "file";
6008
6033
  fileName: string;
6009
6034
  }
6035
+ enum OrganizeImportsMode {
6036
+ All = "All",
6037
+ SortAndCombine = "SortAndCombine",
6038
+ RemoveUnused = "RemoveUnused"
6039
+ }
6010
6040
  interface OrganizeImportsArgs extends CombinedCodeFixScope {
6041
+ /** @deprecated Use `mode` instead */
6011
6042
  skipDestructiveCodeActions?: boolean;
6043
+ mode?: OrganizeImportsMode;
6012
6044
  }
6013
6045
  type CompletionsTriggerCharacter = "." | '"' | "'" | "`" | "/" | "@" | "<" | "#" | " ";
6014
6046
  enum CompletionTriggerKind {
@@ -6526,7 +6558,7 @@ declare namespace ts {
6526
6558
  isGlobalCompletion: boolean;
6527
6559
  isMemberCompletion: boolean;
6528
6560
  /**
6529
- * In the absence of `CompletionEntry["replacementSpan"], the editor may choose whether to use
6561
+ * In the absence of `CompletionEntry["replacementSpan"]`, the editor may choose whether to use
6530
6562
  * this span or its default one. If `CompletionEntry["replacementSpan"]` is defined, that span
6531
6563
  * must be used to commit that completion entry.
6532
6564
  */
@@ -6739,6 +6771,8 @@ declare namespace ts {
6739
6771
  * interface Y { foo:number; }
6740
6772
  */
6741
6773
  memberVariableElement = "property",
6774
+ /** class X { [public|private]* accessor foo: number; } */
6775
+ memberAccessorVariableElement = "accessor",
6742
6776
  /**
6743
6777
  * class X { constructor() { } }
6744
6778
  * class X { static { } }
@@ -7018,7 +7052,7 @@ declare namespace ts {
7018
7052
  (text: string, isSingleQuote?: boolean | undefined, hasExtendedUnicodeEscape?: boolean | undefined): StringLiteral;
7019
7053
  };
7020
7054
  /** @deprecated Use `factory.createStringLiteralFromNode` or the factory supplied by your transformation context instead. */
7021
- const createStringLiteralFromNode: (sourceNode: PropertyNameLiteral, isSingleQuote?: boolean | undefined) => StringLiteral;
7055
+ const createStringLiteralFromNode: (sourceNode: PrivateIdentifier | PropertyNameLiteral, isSingleQuote?: boolean | undefined) => StringLiteral;
7022
7056
  /** @deprecated Use `factory.createRegularExpressionLiteral` or the factory supplied by your transformation context instead. */
7023
7057
  const createRegularExpressionLiteral: (text: string) => RegularExpressionLiteral;
7024
7058
  /** @deprecated Use `factory.createLoopVariable` or the factory supplied by your transformation context instead. */