tsc-ts 0.0.10 → 0.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 (367) hide show
  1. package/README.md +1 -1
  2. package/bin/tsc-ts.js +70 -1
  3. package/dist/api/compiler/ast-utilities.d.ts +19 -1
  4. package/dist/api/compiler/ast-utilities.js +180 -95
  5. package/dist/api/compiler/ast.d.ts +20 -15
  6. package/dist/api/compiler/ast.js +1023 -995
  7. package/dist/api/compiler/astnav.js +15 -15
  8. package/dist/api/compiler/binder-utilities.js +186 -186
  9. package/dist/api/compiler/binder.js +290 -263
  10. package/dist/api/compiler/character-codes.js +2 -2
  11. package/dist/api/compiler/checker-calls.js +173 -123
  12. package/dist/api/compiler/checker-classes.d.ts +14 -3
  13. package/dist/api/compiler/checker-classes.js +134 -90
  14. package/dist/api/compiler/checker-contextual.js +64 -61
  15. package/dist/api/compiler/checker-declaration-order.js +79 -79
  16. package/dist/api/compiler/checker-declarations.d.ts +1 -0
  17. package/dist/api/compiler/checker-declarations.js +160 -136
  18. package/dist/api/compiler/checker-declared-types.js +67 -65
  19. package/dist/api/compiler/checker-decorators.js +77 -77
  20. package/dist/api/compiler/checker-deprecation.d.ts +8 -3
  21. package/dist/api/compiler/checker-deprecation.js +76 -55
  22. package/dist/api/compiler/checker-destructuring.js +47 -45
  23. package/dist/api/compiler/checker-elaboration.js +24 -24
  24. package/dist/api/compiler/checker-emit-helpers.js +4 -4
  25. package/dist/api/compiler/checker-emit-resolver.d.ts +4 -2
  26. package/dist/api/compiler/checker-emit-resolver.js +25 -13
  27. package/dist/api/compiler/checker-evaluator.js +9 -9
  28. package/dist/api/compiler/checker-expressions.js +244 -211
  29. package/dist/api/compiler/checker-functions.js +113 -107
  30. package/dist/api/compiler/checker-generated-code.d.ts +0 -11
  31. package/dist/api/compiler/checker-generated-code.js +28 -52
  32. package/dist/api/compiler/checker-grammar.d.ts +1 -0
  33. package/dist/api/compiler/checker-grammar.js +469 -438
  34. package/dist/api/compiler/checker-heritage.js +91 -93
  35. package/dist/api/compiler/checker-inference.d.ts +77 -5
  36. package/dist/api/compiler/checker-inference.js +487 -113
  37. package/dist/api/compiler/checker-iteration.d.ts +0 -10
  38. package/dist/api/compiler/checker-iteration.js +35 -52
  39. package/dist/api/compiler/checker-javascript.js +14 -14
  40. package/dist/api/compiler/checker-jsdoc.d.ts +8 -10
  41. package/dist/api/compiler/checker-jsdoc.js +67 -58
  42. package/dist/api/compiler/checker-jsx.js +105 -88
  43. package/dist/api/compiler/checker-members.d.ts +9 -2
  44. package/dist/api/compiler/checker-members.js +210 -74
  45. package/dist/api/compiler/checker-modules.d.ts +15 -6
  46. package/dist/api/compiler/checker-modules.js +469 -309
  47. package/dist/api/compiler/checker-narrowing.js +273 -189
  48. package/dist/api/compiler/checker-object-literals.js +25 -22
  49. package/dist/api/compiler/checker-operators.js +126 -118
  50. package/dist/api/compiler/checker-overloads.js +27 -27
  51. package/dist/api/compiler/checker-property-access.js +59 -55
  52. package/dist/api/compiler/checker-services.d.ts +1 -0
  53. package/dist/api/compiler/checker-services.js +222 -210
  54. package/dist/api/compiler/checker-signatures.js +65 -49
  55. package/dist/api/compiler/checker-source-file.d.ts +5 -0
  56. package/dist/api/compiler/checker-source-file.js +154 -130
  57. package/dist/api/compiler/checker-statements.js +33 -32
  58. package/dist/api/compiler/checker-super.js +50 -50
  59. package/dist/api/compiler/checker-symbol-types.js +109 -93
  60. package/dist/api/compiler/checker-symbols.d.ts +13 -1
  61. package/dist/api/compiler/checker-symbols.js +264 -149
  62. package/dist/api/compiler/checker-type-factory.d.ts +5 -0
  63. package/dist/api/compiler/checker-type-factory.js +137 -34
  64. package/dist/api/compiler/checker-type-nodes.d.ts +1 -0
  65. package/dist/api/compiler/checker-type-nodes.js +179 -141
  66. package/dist/api/compiler/checker-type-operators.d.ts +2 -0
  67. package/dist/api/compiler/checker-type-operators.js +110 -63
  68. package/dist/api/compiler/checker-types.d.ts +80 -3
  69. package/dist/api/compiler/checker-types.js +121 -2
  70. package/dist/api/compiler/checker-unused.js +114 -118
  71. package/dist/api/compiler/checker-utilities.js +11 -11
  72. package/dist/api/compiler/checker.d.ts +93 -31
  73. package/dist/api/compiler/checker.js +143 -35
  74. package/dist/api/compiler/command-line.d.ts +1 -3
  75. package/dist/api/compiler/command-line.js +47 -44
  76. package/dist/api/compiler/compile-program.d.ts +19 -4
  77. package/dist/api/compiler/compile-program.js +45 -26
  78. package/dist/api/compiler/diagnostic-messages.d.ts +1849 -1774
  79. package/dist/api/compiler/diagnostic-messages.js +128 -122
  80. package/dist/api/compiler/diagnostics.js +7 -7
  81. package/dist/api/compiler/emitter.d.ts +7 -1
  82. package/dist/api/compiler/emitter.js +53 -11
  83. package/dist/api/compiler/file-include.d.ts +2 -1
  84. package/dist/api/compiler/file-include.js +11 -7
  85. package/dist/api/compiler/file-loader.d.ts +10 -0
  86. package/dist/api/compiler/file-loader.js +138 -41
  87. package/dist/api/compiler/instantiation.d.ts +7 -0
  88. package/dist/api/compiler/instantiation.js +101 -49
  89. package/dist/api/compiler/jsdoc.js +23 -23
  90. package/dist/api/compiler/link-tables.d.ts +48 -18
  91. package/dist/api/compiler/link-tables.js +80 -37
  92. package/dist/api/compiler/locales/cs-CZ.d.ts +1 -1
  93. package/dist/api/compiler/locales/cs-CZ.js +1 -1
  94. package/dist/api/compiler/locales/de-DE.d.ts +1 -1
  95. package/dist/api/compiler/locales/de-DE.js +1 -1
  96. package/dist/api/compiler/locales/es-ES.d.ts +1 -1
  97. package/dist/api/compiler/locales/es-ES.js +1 -1
  98. package/dist/api/compiler/locales/fr-FR.d.ts +1 -1
  99. package/dist/api/compiler/locales/fr-FR.js +1 -1
  100. package/dist/api/compiler/locales/it-IT.d.ts +1 -1
  101. package/dist/api/compiler/locales/it-IT.js +1 -1
  102. package/dist/api/compiler/locales/ja-JP.d.ts +1 -1
  103. package/dist/api/compiler/locales/ja-JP.js +1 -1
  104. package/dist/api/compiler/locales/ko-KR.d.ts +1 -1
  105. package/dist/api/compiler/locales/ko-KR.js +1 -1
  106. package/dist/api/compiler/locales/pl-PL.d.ts +1 -1
  107. package/dist/api/compiler/locales/pl-PL.js +1 -1
  108. package/dist/api/compiler/locales/pt-BR.d.ts +1 -1
  109. package/dist/api/compiler/locales/pt-BR.js +1 -1
  110. package/dist/api/compiler/locales/ru-RU.d.ts +1 -1
  111. package/dist/api/compiler/locales/ru-RU.js +1 -1
  112. package/dist/api/compiler/locales/tr-TR.d.ts +1 -1
  113. package/dist/api/compiler/locales/tr-TR.js +1 -1
  114. package/dist/api/compiler/locales/zh-CN.d.ts +1 -1
  115. package/dist/api/compiler/locales/zh-CN.js +1 -1
  116. package/dist/api/compiler/locales/zh-TW.d.ts +1 -1
  117. package/dist/api/compiler/locales/zh-TW.js +1 -1
  118. package/dist/api/compiler/module-resolution-types.js +6 -6
  119. package/dist/api/compiler/module-resolution.d.ts +10 -1
  120. package/dist/api/compiler/module-resolution.js +115 -84
  121. package/dist/api/compiler/module-specifiers.d.ts +15 -0
  122. package/dist/api/compiler/module-specifiers.js +24 -18
  123. package/dist/api/compiler/name-resolver.js +74 -65
  124. package/dist/api/compiler/node-builder-names.d.ts +11 -3
  125. package/dist/api/compiler/node-builder-names.js +210 -90
  126. package/dist/api/compiler/node-builder-pseudo.js +29 -31
  127. package/dist/api/compiler/node-builder-reuse.js +23 -22
  128. package/dist/api/compiler/node-builder.d.ts +18 -1
  129. package/dist/api/compiler/node-builder.js +191 -102
  130. package/dist/api/compiler/option-declarations.d.ts +2 -6
  131. package/dist/api/compiler/option-declarations.js +315 -375
  132. package/dist/api/compiler/options.d.ts +15 -33
  133. package/dist/api/compiler/options.js +21 -54
  134. package/dist/api/compiler/output-paths.d.ts +4 -1
  135. package/dist/api/compiler/output-paths.js +6 -11
  136. package/dist/api/compiler/package-json.d.ts +3 -3
  137. package/dist/api/compiler/package-json.js +11 -10
  138. package/dist/api/compiler/parser.d.ts +40 -19
  139. package/dist/api/compiler/parser.js +308 -216
  140. package/dist/api/compiler/path.d.ts +9 -0
  141. package/dist/api/compiler/path.js +20 -3
  142. package/dist/api/compiler/printer/emit-context.d.ts +3 -1
  143. package/dist/api/compiler/printer/emit-context.js +16 -1
  144. package/dist/api/compiler/printer/factory-base.d.ts +2 -2
  145. package/dist/api/compiler/printer/factory-base.js +7 -3
  146. package/dist/api/compiler/printer/factory.js +3 -1
  147. package/dist/api/compiler/printer/helpers.js +10 -1
  148. package/dist/api/compiler/printer/name-generator.d.ts +1 -1
  149. package/dist/api/compiler/printer/name-generator.js +35 -16
  150. package/dist/api/compiler/printer/printer.d.ts +1 -0
  151. package/dist/api/compiler/printer/printer.js +303 -281
  152. package/dist/api/compiler/printer/utilities.js +149 -147
  153. package/dist/api/compiler/program-checker.d.ts +8 -2
  154. package/dist/api/compiler/program-checker.js +84 -34
  155. package/dist/api/compiler/program-utilities.d.ts +3 -1
  156. package/dist/api/compiler/program-utilities.js +28 -15
  157. package/dist/api/compiler/program.d.ts +2 -0
  158. package/dist/api/compiler/program.js +69 -57
  159. package/dist/api/compiler/pseudo-bigint.d.ts +2 -0
  160. package/dist/api/compiler/pseudo-bigint.js +18 -0
  161. package/dist/api/compiler/regexp-checker.d.ts +1 -1
  162. package/dist/api/compiler/regexp-checker.js +93 -76
  163. package/dist/api/compiler/relations.d.ts +27 -4
  164. package/dist/api/compiler/relations.js +337 -180
  165. package/dist/api/compiler/reparser.js +60 -56
  166. package/dist/api/compiler/scanner.d.ts +19 -2
  167. package/dist/api/compiler/scanner.js +123 -108
  168. package/dist/api/compiler/shared-results.d.ts +463 -0
  169. package/dist/api/compiler/shared-results.js +2128 -0
  170. package/dist/api/compiler/sourcemap.js +2 -2
  171. package/dist/api/compiler/symbol-accessibility.js +87 -74
  172. package/dist/api/compiler/symbol.d.ts +22 -13
  173. package/dist/api/compiler/symbol.js +15 -1
  174. package/dist/api/compiler/syntax-kind.d.ts +198 -197
  175. package/dist/api/compiler/transformers/alias-references.js +247 -139
  176. package/dist/api/compiler/transformers/async-utilities.js +25 -25
  177. package/dist/api/compiler/transformers/async.d.ts +0 -1
  178. package/dist/api/compiler/transformers/async.js +64 -77
  179. package/dist/api/compiler/transformers/class-fields.d.ts +1 -0
  180. package/dist/api/compiler/transformers/class-fields.js +81 -78
  181. package/dist/api/compiler/transformers/commonjs-module.js +18 -15
  182. package/dist/api/compiler/transformers/const-enum-inliner.js +1 -1
  183. package/dist/api/compiler/transformers/declarations-diagnostics.js +247 -244
  184. package/dist/api/compiler/transformers/declarations-pseudo.js +100 -100
  185. package/dist/api/compiler/transformers/declarations-resolver.d.ts +0 -3
  186. package/dist/api/compiler/transformers/declarations-syntactic.d.ts +1 -2
  187. package/dist/api/compiler/transformers/declarations-syntactic.js +134 -156
  188. package/dist/api/compiler/transformers/declarations-tracker.js +18 -18
  189. package/dist/api/compiler/transformers/declarations.d.ts +4 -1
  190. package/dist/api/compiler/transformers/declarations.js +305 -238
  191. package/dist/api/compiler/transformers/decorator-metadata.d.ts +1 -1
  192. package/dist/api/compiler/transformers/decorator-metadata.js +53 -45
  193. package/dist/api/compiler/transformers/decorator-utilities.js +24 -24
  194. package/dist/api/compiler/transformers/destructuring.js +19 -18
  195. package/dist/api/compiler/transformers/emit-resolver.js +1 -1
  196. package/dist/api/compiler/transformers/es-decorators.js +55 -55
  197. package/dist/api/compiler/transformers/external-module-info.js +3 -3
  198. package/dist/api/compiler/transformers/for-await.js +25 -25
  199. package/dist/api/compiler/transformers/import-elision.js +14 -14
  200. package/dist/api/compiler/transformers/jsx.js +12 -12
  201. package/dist/api/compiler/transformers/legacy-decorators.js +17 -17
  202. package/dist/api/compiler/transformers/module.js +8 -8
  203. package/dist/api/compiler/transformers/named-evaluation.js +4 -4
  204. package/dist/api/compiler/transformers/object-rest-spread.js +20 -20
  205. package/dist/api/compiler/transformers/optional-chain.js +10 -10
  206. package/dist/api/compiler/transformers/reference-resolver.d.ts +12 -1
  207. package/dist/api/compiler/transformers/reference-resolver.js +131 -69
  208. package/dist/api/compiler/transformers/runtime-syntax.js +35 -31
  209. package/dist/api/compiler/transformers/subtree-facts.js +47 -47
  210. package/dist/api/compiler/transformers/syntax-facts.js +56 -58
  211. package/dist/api/compiler/transformers/type-eraser.js +73 -66
  212. package/dist/api/compiler/transformers/type-serialization.js +24 -24
  213. package/dist/api/compiler/transformers/using.js +12 -12
  214. package/dist/api/compiler/transformers/utilities.js +77 -77
  215. package/dist/api/compiler/transformers/visitor-base.js +172 -172
  216. package/dist/api/compiler/transformers/visitor-hooks.js +6 -2
  217. package/dist/api/compiler/tsconfig.d.ts +10 -2
  218. package/dist/api/compiler/tsconfig.js +136 -48
  219. package/dist/api/compiler/type-printer.js +40 -3
  220. package/dist/api/compiler/types.d.ts +2 -1
  221. package/dist/api/library/ast.generated.d.ts +42 -39
  222. package/dist/api/library/ast.generated.js +1 -1
  223. package/dist/api/library/compiler-options.generated.d.ts +111 -100
  224. package/dist/api/library/compiler-options.generated.js +1 -1
  225. package/dist/api/library/disk.js +12 -1
  226. package/dist/api/library/enums.generated.d.ts +206 -206
  227. package/dist/api/library/enums.generated.js +206 -206
  228. package/dist/api/library/nodes.js +26 -26
  229. package/package.json +9 -9
  230. package/src/compiler/ast-utilities.ts +99 -7
  231. package/src/compiler/ast.ts +55 -26
  232. package/src/compiler/binder.ts +39 -4
  233. package/src/compiler/character-codes.ts +2 -2
  234. package/src/compiler/checker-calls.ts +76 -8
  235. package/src/compiler/checker-classes.ts +78 -24
  236. package/src/compiler/checker-contextual.ts +6 -1
  237. package/src/compiler/checker-declarations.ts +31 -4
  238. package/src/compiler/checker-declared-types.ts +8 -5
  239. package/src/compiler/checker-decorators.ts +1 -1
  240. package/src/compiler/checker-deprecation.ts +29 -8
  241. package/src/compiler/checker-destructuring.ts +10 -3
  242. package/src/compiler/checker-emit-helpers.ts +1 -0
  243. package/src/compiler/checker-emit-resolver.ts +16 -6
  244. package/src/compiler/checker-expressions.ts +79 -46
  245. package/src/compiler/checker-functions.ts +21 -6
  246. package/src/compiler/checker-generated-code.ts +2 -22
  247. package/src/compiler/checker-grammar.ts +133 -60
  248. package/src/compiler/checker-heritage.ts +22 -21
  249. package/src/compiler/checker-inference.ts +514 -87
  250. package/src/compiler/checker-iteration.ts +18 -31
  251. package/src/compiler/checker-javascript.ts +1 -1
  252. package/src/compiler/checker-jsdoc.ts +50 -27
  253. package/src/compiler/checker-jsx.ts +26 -4
  254. package/src/compiler/checker-members.ts +197 -55
  255. package/src/compiler/checker-modules.ts +332 -65
  256. package/src/compiler/checker-narrowing.ts +98 -19
  257. package/src/compiler/checker-object-literals.ts +3 -0
  258. package/src/compiler/checker-operators.ts +11 -4
  259. package/src/compiler/checker-property-access.ts +7 -2
  260. package/src/compiler/checker-services.ts +39 -12
  261. package/src/compiler/checker-signatures.ts +15 -1
  262. package/src/compiler/checker-source-file.ts +39 -13
  263. package/src/compiler/checker-statements.ts +3 -2
  264. package/src/compiler/checker-symbol-types.ts +29 -6
  265. package/src/compiler/checker-symbols.ts +158 -15
  266. package/src/compiler/checker-type-factory.ts +120 -21
  267. package/src/compiler/checker-type-nodes.ts +46 -3
  268. package/src/compiler/checker-type-operators.ts +83 -26
  269. package/src/compiler/checker-types.ts +147 -4
  270. package/src/compiler/checker-unused.ts +9 -14
  271. package/src/compiler/checker.ts +168 -41
  272. package/src/compiler/command-line.ts +28 -28
  273. package/src/compiler/compile-program.ts +51 -25
  274. package/src/compiler/decoder.ts +13 -4
  275. package/src/compiler/diagnostic-messages.ts +1973 -1892
  276. package/src/compiler/emitter.ts +57 -8
  277. package/src/compiler/encoder.ts +23 -8
  278. package/src/compiler/file-include.ts +9 -3
  279. package/src/compiler/file-loader.ts +139 -32
  280. package/src/compiler/help.ts +10 -14
  281. package/src/compiler/incremental.ts +86 -18
  282. package/src/compiler/init.ts +2 -7
  283. package/src/compiler/instantiation.ts +77 -22
  284. package/src/compiler/jsdoc.ts +3 -1
  285. package/src/compiler/link-tables.ts +82 -37
  286. package/src/compiler/locales/cs-CZ.ts +1 -1
  287. package/src/compiler/locales/de-DE.ts +1 -1
  288. package/src/compiler/locales/es-ES.ts +1 -1
  289. package/src/compiler/locales/fr-FR.ts +1 -1
  290. package/src/compiler/locales/it-IT.ts +1 -1
  291. package/src/compiler/locales/ja-JP.ts +1 -1
  292. package/src/compiler/locales/ko-KR.ts +1 -1
  293. package/src/compiler/locales/pl-PL.ts +1 -1
  294. package/src/compiler/locales/pt-BR.ts +1 -1
  295. package/src/compiler/locales/ru-RU.ts +1 -1
  296. package/src/compiler/locales/tr-TR.ts +1 -1
  297. package/src/compiler/locales/zh-CN.ts +1 -1
  298. package/src/compiler/locales/zh-TW.ts +1 -1
  299. package/src/compiler/module-resolution.ts +44 -8
  300. package/src/compiler/module-specifiers.ts +62 -20
  301. package/src/compiler/name-resolver.ts +9 -1
  302. package/src/compiler/node-builder-names.ts +236 -54
  303. package/src/compiler/node-builder-pseudo.ts +4 -7
  304. package/src/compiler/node-builder-reuse.ts +5 -4
  305. package/src/compiler/node-builder.ts +130 -31
  306. package/src/compiler/option-declarations.ts +33 -103
  307. package/src/compiler/options.ts +23 -62
  308. package/src/compiler/output-paths.ts +5 -18
  309. package/src/compiler/package-entrypoints.ts +345 -0
  310. package/src/compiler/package-json.ts +4 -4
  311. package/src/compiler/parallel-check.ts +197 -8
  312. package/src/compiler/parallel-emit.ts +1 -1
  313. package/src/compiler/parser.ts +156 -39
  314. package/src/compiler/path.ts +22 -2
  315. package/src/compiler/printer/emit-context.ts +16 -0
  316. package/src/compiler/printer/factory-base.ts +10 -3
  317. package/src/compiler/printer/factory.ts +4 -1
  318. package/src/compiler/printer/helpers.ts +10 -1
  319. package/src/compiler/printer/name-generator.ts +24 -2
  320. package/src/compiler/printer/printer.ts +35 -14
  321. package/src/compiler/printer/utilities.ts +8 -2
  322. package/src/compiler/program-checker.ts +53 -5
  323. package/src/compiler/program-utilities.ts +23 -10
  324. package/src/compiler/program.ts +13 -1
  325. package/src/compiler/pseudo-bigint.ts +17 -0
  326. package/src/compiler/regexp-checker.ts +63 -30
  327. package/src/compiler/relations.ts +233 -77
  328. package/src/compiler/reparser.ts +7 -2
  329. package/src/compiler/scanner.ts +109 -79
  330. package/src/compiler/shared-results.ts +2414 -0
  331. package/src/compiler/show-config.ts +18 -1
  332. package/src/compiler/sourcemap.ts +2 -2
  333. package/src/compiler/symbol-accessibility.ts +26 -3
  334. package/src/compiler/symbol.ts +31 -14
  335. package/src/compiler/syntax-kind.ts +188 -187
  336. package/src/compiler/thread-entry.ts +19 -2
  337. package/src/compiler/transformers/alias-references.ts +123 -4
  338. package/src/compiler/transformers/async.ts +2 -17
  339. package/src/compiler/transformers/class-fields.ts +13 -12
  340. package/src/compiler/transformers/commonjs-module.ts +11 -7
  341. package/src/compiler/transformers/declarations-diagnostics.ts +5 -3
  342. package/src/compiler/transformers/declarations-pseudo.ts +2 -4
  343. package/src/compiler/transformers/declarations-resolver.ts +0 -3
  344. package/src/compiler/transformers/declarations-syntactic.ts +1 -21
  345. package/src/compiler/transformers/declarations.ts +134 -48
  346. package/src/compiler/transformers/decorator-metadata.ts +9 -1
  347. package/src/compiler/transformers/destructuring.ts +4 -3
  348. package/src/compiler/transformers/external-module-info.ts +1 -1
  349. package/src/compiler/transformers/jsx.ts +2 -1
  350. package/src/compiler/transformers/reference-resolver.ts +83 -19
  351. package/src/compiler/transformers/runtime-syntax.ts +6 -1
  352. package/src/compiler/transformers/syntax-facts.ts +2 -7
  353. package/src/compiler/transformers/type-eraser.ts +10 -1
  354. package/src/compiler/transformers/type-serialization.ts +3 -2
  355. package/src/compiler/transformers/visitor-base.ts +2 -1
  356. package/src/compiler/transformers/visitor-hooks.ts +9 -4
  357. package/src/compiler/tsc-build.ts +3 -0
  358. package/src/compiler/tsc-cli.ts +2 -0
  359. package/src/compiler/tsc-compile.ts +7 -2
  360. package/src/compiler/tsc-watch.ts +74 -45
  361. package/src/compiler/tsconfig.ts +176 -19
  362. package/src/compiler/type-printer.ts +36 -2
  363. package/src/compiler/types.ts +2 -1
  364. package/src/library/ast.generated.ts +57 -41
  365. package/src/library/compiler-options.generated.ts +117 -103
  366. package/src/library/disk.ts +10 -1
  367. package/src/library/enums.generated.ts +196 -196
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * The order is significant: `--help` lists options in it and name lookups let later entries win.
5
5
  */
6
- import { JsxEmit, ModuleDetectionKind, ModuleKind, ModuleResolutionKind, NewLineKind, PollingKind, ScriptTarget, WatchDirectoryKind, WatchFileKind, } from './options.js';
6
+ import { JsxEmit, ModuleDetectionKind, ModuleKind, ModuleResolutionKind, NewLineKind, ScriptTarget, } from './options.js';
7
7
  /** Whether two enum values are equal; values of one option all have the same type. */
8
8
  export function sameEnumValue(a, b) {
9
9
  if (typeof a === 'number')
@@ -37,6 +37,7 @@ export const targetValues = new Map([
37
37
  ['es2023', ScriptTarget.ES2023],
38
38
  ['es2024', ScriptTarget.ES2024],
39
39
  ['es2025', ScriptTarget.ES2025],
40
+ ['es2026', ScriptTarget.ES2026],
40
41
  ['esnext', ScriptTarget.ESNext],
41
42
  ]);
42
43
  export const moduleValues = new Map([
@@ -71,6 +72,7 @@ export const libMap = new Map([
71
72
  ['es2023', 'lib.es2023.d.ts'],
72
73
  ['es2024', 'lib.es2024.d.ts'],
73
74
  ['es2025', 'lib.es2025.d.ts'],
75
+ ['es2026', 'lib.es2026.d.ts'],
74
76
  ['esnext', 'lib.esnext.d.ts'],
75
77
  ['dom', 'lib.dom.d.ts'],
76
78
  ['dom.iterable', 'lib.dom.iterable.d.ts'],
@@ -142,6 +144,13 @@ export const libMap = new Map([
142
144
  ['es2025.iterator', 'lib.es2025.iterator.d.ts'],
143
145
  ['es2025.promise', 'lib.es2025.promise.d.ts'],
144
146
  ['es2025.regexp', 'lib.es2025.regexp.d.ts'],
147
+ ['es2026.array', 'lib.es2026.array.d.ts'],
148
+ ['es2026.collection', 'lib.es2026.collection.d.ts'],
149
+ ['es2026.error', 'lib.es2026.error.d.ts'],
150
+ ['es2026.iterator', 'lib.es2026.iterator.d.ts'],
151
+ ['es2026.json', 'lib.es2026.json.d.ts'],
152
+ ['es2026.math', 'lib.es2026.math.d.ts'],
153
+ ['es2026.typedarrays', 'lib.es2026.typedarrays.d.ts'],
145
154
  ['esnext.asynciterable', 'lib.es2018.asynciterable.d.ts'],
146
155
  ['esnext.symbol', 'lib.es2019.symbol.d.ts'],
147
156
  ['esnext.bigint', 'lib.es2020.bigint.d.ts'],
@@ -150,18 +159,19 @@ export const libMap = new Map([
150
159
  ['esnext.regexp', 'lib.es2024.regexp.d.ts'],
151
160
  ['esnext.string', 'lib.es2024.string.d.ts'],
152
161
  ['esnext.float16', 'lib.es2025.float16.d.ts'],
153
- ['esnext.iterator', 'lib.es2025.iterator.d.ts'],
154
- ['esnext.promise', 'lib.es2025.promise.d.ts'],
155
- ['esnext.array', 'lib.esnext.array.d.ts'],
156
- ['esnext.collection', 'lib.esnext.collection.d.ts'],
162
+ ['esnext.array', 'lib.es2026.array.d.ts'],
163
+ ['esnext.collection', 'lib.es2026.collection.d.ts'],
164
+ ['esnext.error', 'lib.es2026.error.d.ts'],
165
+ ['esnext.typedarrays', 'lib.es2026.typedarrays.d.ts'],
166
+ ['esnext.iterator', 'lib.esnext.iterator.d.ts'],
167
+ ['esnext.promise', 'lib.esnext.promise.d.ts'],
157
168
  ['esnext.date', 'lib.esnext.date.d.ts'],
158
169
  ['esnext.decorators', 'lib.esnext.decorators.d.ts'],
159
170
  ['esnext.disposable', 'lib.esnext.disposable.d.ts'],
160
- ['esnext.error', 'lib.esnext.error.d.ts'],
161
171
  ['esnext.intl', 'lib.esnext.intl.d.ts'],
172
+ ['esnext.modulesource', 'lib.esnext.modulesource.d.ts'],
162
173
  ['esnext.sharedmemory', 'lib.esnext.sharedmemory.d.ts'],
163
174
  ['esnext.temporal', 'lib.esnext.temporal.d.ts'],
164
- ['esnext.typedarrays', 'lib.esnext.typedarrays.d.ts'],
165
175
  ['decorators', 'lib.decorators.d.ts'],
166
176
  ['decorators.legacy', 'lib.decorators.legacy.d.ts'],
167
177
  ]);
@@ -189,34 +199,14 @@ export const moduleDetectionValues = new Map([
189
199
  ['legacy', ModuleDetectionKind.Legacy],
190
200
  ['force', ModuleDetectionKind.Force],
191
201
  ]);
192
- export const watchFileValues = new Map([
193
- ['fixedpollinginterval', WatchFileKind.FixedPollingInterval],
194
- ['prioritypollinginterval', WatchFileKind.PriorityPollingInterval],
195
- ['dynamicprioritypolling', WatchFileKind.DynamicPriorityPolling],
196
- ['fixedchunksizepolling', WatchFileKind.FixedChunkSizePolling],
197
- ['usefsevents', WatchFileKind.UseFsEvents],
198
- ['usefseventsonparentdirectory', WatchFileKind.UseFsEventsOnParentDirectory],
199
- ]);
200
- export const watchDirectoryValues = new Map([
201
- ['usefsevents', WatchDirectoryKind.UseFsEvents],
202
- ['fixedpollinginterval', WatchDirectoryKind.FixedPollingInterval],
203
- ['dynamicprioritypolling', WatchDirectoryKind.DynamicPriorityPolling],
204
- ['fixedchunksizepolling', WatchDirectoryKind.FixedChunkSizePolling],
205
- ]);
206
- export const fallbackPollingValues = new Map([
207
- ['fixedinterval', PollingKind.FixedInterval],
208
- ['priorityinterval', PollingKind.PriorityInterval],
209
- ['dynamicpriority', PollingKind.DynamicPriority],
210
- ['fixedchunksize', PollingKind.FixedChunkSize],
211
- ]);
212
202
  /** `--build`, `-b`. Only valid as the first argument. */
213
203
  export const buildOption = {
214
204
  name: 'build',
215
205
  shortName: 'b',
216
206
  kind: 'boolean',
217
207
  showInSimplifiedHelpView: true,
218
- category: 1334 /* Diagnostics.Command_line_Options */,
219
- description: 1461 /* Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date */,
208
+ category: 1345 /* Diagnostics.Command_line_Options */,
209
+ description: 1472 /* Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date */,
220
210
  defaultValueDescription: false,
221
211
  };
222
212
  /** Options shared by `tsc` and `tsc --build`. */
@@ -227,8 +217,8 @@ export const commonOptionsWithBuild = [
227
217
  kind: 'boolean',
228
218
  isCommandLineOnly: true,
229
219
  showInSimplifiedHelpView: true,
230
- category: 1334 /* Diagnostics.Command_line_Options */,
231
- description: 1201 /* Diagnostics.Print_this_message */,
220
+ category: 1345 /* Diagnostics.Command_line_Options */,
221
+ description: 1212 /* Diagnostics.Print_this_message */,
232
222
  defaultValueDescription: false,
233
223
  },
234
224
  {
@@ -236,7 +226,7 @@ export const commonOptionsWithBuild = [
236
226
  shortName: '?',
237
227
  kind: 'boolean',
238
228
  isCommandLineOnly: true,
239
- category: 1334 /* Diagnostics.Command_line_Options */,
229
+ category: 1345 /* Diagnostics.Command_line_Options */,
240
230
  defaultValueDescription: false,
241
231
  },
242
232
  {
@@ -245,106 +235,106 @@ export const commonOptionsWithBuild = [
245
235
  kind: 'boolean',
246
236
  isCommandLineOnly: true,
247
237
  showInSimplifiedHelpView: true,
248
- category: 1334 /* Diagnostics.Command_line_Options */,
249
- description: 1189 /* Diagnostics.Watch_input_files */,
238
+ category: 1345 /* Diagnostics.Command_line_Options */,
239
+ description: 1200 /* Diagnostics.Watch_input_files */,
250
240
  defaultValueDescription: false,
251
241
  },
252
242
  {
253
243
  name: 'preserveWatchOutput',
254
244
  kind: 'boolean',
255
- category: 1408 /* Diagnostics.Output_Formatting */,
256
- description: 1605 /* Diagnostics.Disable_wiping_the_console_in_watch_mode */,
245
+ category: 1419 /* Diagnostics.Output_Formatting */,
246
+ description: 1616 /* Diagnostics.Disable_wiping_the_console_in_watch_mode */,
257
247
  defaultValueDescription: false,
258
248
  },
259
249
  {
260
250
  name: 'listFiles',
261
251
  kind: 'boolean',
262
- category: 1403 /* Diagnostics.Compiler_Diagnostics */,
263
- description: 1574 /* Diagnostics.Print_all_of_the_files_read_during_the_compilation */,
252
+ category: 1414 /* Diagnostics.Compiler_Diagnostics */,
253
+ description: 1585 /* Diagnostics.Print_all_of_the_files_read_during_the_compilation */,
264
254
  defaultValueDescription: false,
265
255
  },
266
256
  {
267
257
  name: 'explainFiles',
268
258
  kind: 'boolean',
269
- category: 1403 /* Diagnostics.Compiler_Diagnostics */,
270
- description: 1552 /* Diagnostics.Print_files_read_during_the_compilation_including_why_it_was_included */,
259
+ category: 1414 /* Diagnostics.Compiler_Diagnostics */,
260
+ description: 1563 /* Diagnostics.Print_files_read_during_the_compilation_including_why_it_was_included */,
271
261
  defaultValueDescription: false,
272
262
  },
273
263
  {
274
264
  name: 'listEmittedFiles',
275
265
  kind: 'boolean',
276
- category: 1403 /* Diagnostics.Compiler_Diagnostics */,
277
- description: 1573 /* Diagnostics.Print_the_names_of_emitted_files_after_a_compilation */,
266
+ category: 1414 /* Diagnostics.Compiler_Diagnostics */,
267
+ description: 1584 /* Diagnostics.Print_the_names_of_emitted_files_after_a_compilation */,
278
268
  defaultValueDescription: false,
279
269
  },
280
270
  {
281
271
  name: 'pretty',
282
272
  kind: 'boolean',
283
273
  showInSimplifiedHelpView: true,
284
- category: 1408 /* Diagnostics.Output_Formatting */,
285
- description: 1606 /* Diagnostics.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read */,
274
+ category: 1419 /* Diagnostics.Output_Formatting */,
275
+ description: 1617 /* Diagnostics.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read */,
286
276
  defaultValueDescription: true,
287
277
  },
288
278
  {
289
279
  name: 'traceResolution',
290
280
  kind: 'boolean',
291
- category: 1403 /* Diagnostics.Compiler_Diagnostics */,
292
- description: 1626 /* Diagnostics.Log_paths_used_during_the_moduleResolution_process */,
281
+ category: 1414 /* Diagnostics.Compiler_Diagnostics */,
282
+ description: 1637 /* Diagnostics.Log_paths_used_during_the_moduleResolution_process */,
293
283
  defaultValueDescription: false,
294
284
  },
295
285
  {
296
286
  name: 'diagnostics',
297
287
  kind: 'boolean',
298
- category: 1403 /* Diagnostics.Compiler_Diagnostics */,
299
- description: 1536 /* Diagnostics.Output_compiler_performance_information_after_building */,
288
+ category: 1414 /* Diagnostics.Compiler_Diagnostics */,
289
+ description: 1547 /* Diagnostics.Output_compiler_performance_information_after_building */,
300
290
  defaultValueDescription: false,
301
291
  },
302
292
  {
303
293
  name: 'extendedDiagnostics',
304
294
  kind: 'boolean',
305
- category: 1403 /* Diagnostics.Compiler_Diagnostics */,
306
- description: 1553 /* Diagnostics.Output_more_detailed_compiler_performance_information_after_building */,
295
+ category: 1414 /* Diagnostics.Compiler_Diagnostics */,
296
+ description: 1564 /* Diagnostics.Output_more_detailed_compiler_performance_information_after_building */,
307
297
  defaultValueDescription: false,
308
298
  },
309
299
  {
310
300
  name: 'generateCpuProfile',
311
301
  kind: 'string',
312
302
  isFilePath: true,
313
- category: 1403 /* Diagnostics.Compiler_Diagnostics */,
314
- description: 1559 /* Diagnostics.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging */,
303
+ category: 1414 /* Diagnostics.Compiler_Diagnostics */,
304
+ description: 1570 /* Diagnostics.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging */,
315
305
  defaultValueDescription: 'profile.cpuprofile',
316
306
  },
317
307
  {
318
308
  name: 'generateTrace',
319
309
  kind: 'string',
320
310
  isFilePath: true,
321
- category: 1403 /* Diagnostics.Compiler_Diagnostics */,
322
- description: 1389 /* Diagnostics.Generates_an_event_trace_and_a_list_of_types */,
311
+ category: 1414 /* Diagnostics.Compiler_Diagnostics */,
312
+ description: 1400 /* Diagnostics.Generates_an_event_trace_and_a_list_of_types */,
323
313
  },
324
314
  {
325
315
  name: 'incremental',
326
316
  shortName: 'i',
327
317
  kind: 'boolean',
328
- category: 1407 /* Diagnostics.Projects */,
329
- description: 1563 /* Diagnostics.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects */,
330
- defaultValueMessage: 1652 /* Diagnostics.X_false_unless_composite_is_set */,
318
+ category: 1418 /* Diagnostics.Projects */,
319
+ description: 1574 /* Diagnostics.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects */,
320
+ defaultValueMessage: 1663 /* Diagnostics.X_false_unless_composite_is_set */,
331
321
  },
332
322
  {
333
323
  name: 'declaration',
334
324
  shortName: 'd',
335
325
  kind: 'boolean',
336
326
  showInSimplifiedHelpView: true,
337
- category: 1398 /* Diagnostics.Emit */,
338
- description: 1533 /* Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project */,
339
- defaultValueMessage: 1652 /* Diagnostics.X_false_unless_composite_is_set */,
327
+ category: 1409 /* Diagnostics.Emit */,
328
+ description: 1544 /* Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project */,
329
+ defaultValueMessage: 1663 /* Diagnostics.X_false_unless_composite_is_set */,
340
330
  affects: Affects.BuildInfo,
341
331
  },
342
332
  {
343
333
  name: 'declarationMap',
344
334
  kind: 'boolean',
345
335
  showInSimplifiedHelpView: true,
346
- category: 1398 /* Diagnostics.Emit */,
347
- description: 1535 /* Diagnostics.Create_sourcemaps_for_d_ts_files */,
336
+ category: 1409 /* Diagnostics.Emit */,
337
+ description: 1546 /* Diagnostics.Create_sourcemaps_for_d_ts_files */,
348
338
  defaultValueDescription: false,
349
339
  affects: Affects.BuildInfo,
350
340
  },
@@ -352,8 +342,8 @@ export const commonOptionsWithBuild = [
352
342
  name: 'emitDeclarationOnly',
353
343
  kind: 'boolean',
354
344
  showInSimplifiedHelpView: true,
355
- category: 1398 /* Diagnostics.Emit */,
356
- description: 1544 /* Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files */,
345
+ category: 1409 /* Diagnostics.Emit */,
346
+ description: 1555 /* Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files */,
357
347
  defaultValueDescription: false,
358
348
  affects: Affects.BuildInfo,
359
349
  },
@@ -361,32 +351,32 @@ export const commonOptionsWithBuild = [
361
351
  name: 'sourceMap',
362
352
  kind: 'boolean',
363
353
  showInSimplifiedHelpView: true,
364
- category: 1398 /* Diagnostics.Emit */,
365
- description: 1615 /* Diagnostics.Create_source_map_files_for_emitted_JavaScript_files */,
354
+ category: 1409 /* Diagnostics.Emit */,
355
+ description: 1626 /* Diagnostics.Create_source_map_files_for_emitted_JavaScript_files */,
366
356
  defaultValueDescription: false,
367
357
  affects: Affects.BuildInfo,
368
358
  },
369
359
  {
370
360
  name: 'inlineSourceMap',
371
361
  kind: 'boolean',
372
- category: 1398 /* Diagnostics.Emit */,
373
- description: 1564 /* Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript */,
362
+ category: 1409 /* Diagnostics.Emit */,
363
+ description: 1575 /* Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript */,
374
364
  defaultValueDescription: false,
375
365
  affects: Affects.BuildInfo,
376
366
  },
377
367
  {
378
368
  name: 'noCheck',
379
369
  kind: 'boolean',
380
- category: 1403 /* Diagnostics.Compiler_Diagnostics */,
381
- description: 1642 /* Diagnostics.Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported */,
370
+ category: 1414 /* Diagnostics.Compiler_Diagnostics */,
371
+ description: 1653 /* Diagnostics.Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported */,
382
372
  defaultValueDescription: false,
383
373
  transpileOptionValue: true,
384
374
  },
385
375
  {
386
376
  name: 'deduplicatePackages',
387
377
  kind: 'boolean',
388
- category: 1400 /* Diagnostics.Type_Checking */,
389
- description: 2145 /* Diagnostics.Deduplicate_packages_with_the_same_name_and_version */,
378
+ category: 1411 /* Diagnostics.Type_Checking */,
379
+ description: 1695 /* Diagnostics.Deduplicate_packages_with_the_same_name_and_version */,
390
380
  defaultValueDescription: true,
391
381
  affects: Affects.ProgramStructure,
392
382
  },
@@ -394,15 +384,15 @@ export const commonOptionsWithBuild = [
394
384
  name: 'noEmit',
395
385
  kind: 'boolean',
396
386
  showInSimplifiedHelpView: true,
397
- category: 1398 /* Diagnostics.Emit */,
398
- description: 1581 /* Diagnostics.Disable_emitting_files_from_a_compilation */,
387
+ category: 1409 /* Diagnostics.Emit */,
388
+ description: 1592 /* Diagnostics.Disable_emitting_files_from_a_compilation */,
399
389
  defaultValueDescription: false,
400
390
  },
401
391
  {
402
392
  name: 'assumeChangesOnlyAffectDirectDependencies',
403
393
  kind: 'boolean',
404
- category: 1402 /* Diagnostics.Watch_and_Build_Modes */,
405
- description: 1528 /* Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it */,
394
+ category: 1413 /* Diagnostics.Watch_and_Build_Modes */,
395
+ description: 1539 /* Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it */,
406
396
  defaultValueDescription: false,
407
397
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo | Affects.Emit,
408
398
  },
@@ -410,39 +400,48 @@ export const commonOptionsWithBuild = [
410
400
  name: 'locale',
411
401
  kind: 'string',
412
402
  isCommandLineOnly: true,
413
- category: 1334 /* Diagnostics.Command_line_Options */,
414
- description: 1575 /* Diagnostics.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit */,
415
- defaultValueMessage: 1657 /* Diagnostics.Platform_specific */,
403
+ category: 1345 /* Diagnostics.Command_line_Options */,
404
+ description: 1586 /* Diagnostics.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit */,
405
+ defaultValueMessage: 1668 /* Diagnostics.Platform_specific */,
416
406
  extraValidation: 'locale',
417
407
  },
418
408
  {
419
409
  name: 'quiet',
420
410
  shortName: 'q',
421
411
  kind: 'boolean',
422
- category: 1334 /* Diagnostics.Command_line_Options */,
423
- description: 2135 /* Diagnostics.Do_not_print_diagnostics */,
412
+ category: 1345 /* Diagnostics.Command_line_Options */,
413
+ description: 1689 /* Diagnostics.Do_not_print_diagnostics */,
424
414
  },
425
415
  {
426
416
  name: 'singleThreaded',
427
417
  kind: 'boolean',
428
- category: 1334 /* Diagnostics.Command_line_Options */,
429
- description: 2136 /* Diagnostics.Run_in_single_threaded_mode */,
418
+ category: 1345 /* Diagnostics.Command_line_Options */,
419
+ description: 1690 /* Diagnostics.Run_in_single_threaded_mode */,
430
420
  },
431
421
  {
432
422
  name: 'pprofDir',
433
423
  kind: 'string',
434
424
  isFilePath: true,
435
- category: 1334 /* Diagnostics.Command_line_Options */,
436
- description: 2137 /* Diagnostics.Generate_pprof_CPU_Slashmemory_profiles_to_the_given_directory */,
425
+ category: 1345 /* Diagnostics.Command_line_Options */,
426
+ description: 1691 /* Diagnostics.Generate_pprof_CPU_Slashmemory_profiles_to_the_given_directory */,
437
427
  },
438
428
  {
439
429
  name: 'checkers',
440
430
  kind: 'number',
441
- category: 1334 /* Diagnostics.Command_line_Options */,
442
- description: 2138 /* Diagnostics.Set_the_number_of_checkers_per_project */,
443
- defaultValueMessage: 2139 /* Diagnostics.X_4_unless_singleThreaded_is_passed */,
431
+ category: 1345 /* Diagnostics.Command_line_Options */,
432
+ description: 1692 /* Diagnostics.Set_the_number_of_checkers_per_project */,
433
+ defaultValueMessage: 1693 /* Diagnostics.X_4_unless_singleThreaded_is_passed */,
444
434
  minValue: 1,
445
435
  },
436
+ {
437
+ // Content mappers aren't supported; the option is accepted and has no effect.
438
+ name: 'runExternalCode',
439
+ kind: 'boolean',
440
+ isCommandLineOnly: true,
441
+ category: 1345 /* Diagnostics.Command_line_Options */,
442
+ description: 1696 /* Diagnostics.Allow_loading_external_content_mapper_plugins_that_execute_code_during_compilation */,
443
+ defaultValueDescription: false,
444
+ },
446
445
  ];
447
446
  /** Options of `tsc` that `tsc --build` rejects. */
448
447
  export const optionsForCompiler = [
@@ -450,8 +449,8 @@ export const optionsForCompiler = [
450
449
  name: 'all',
451
450
  kind: 'boolean',
452
451
  showInSimplifiedHelpView: true,
453
- category: 1334 /* Diagnostics.Command_line_Options */,
454
- description: 1332 /* Diagnostics.Show_all_compiler_options */,
452
+ category: 1345 /* Diagnostics.Command_line_Options */,
453
+ description: 1343 /* Diagnostics.Show_all_compiler_options */,
455
454
  defaultValueDescription: false,
456
455
  },
457
456
  {
@@ -459,16 +458,16 @@ export const optionsForCompiler = [
459
458
  shortName: 'v',
460
459
  kind: 'boolean',
461
460
  showInSimplifiedHelpView: true,
462
- category: 1334 /* Diagnostics.Command_line_Options */,
463
- description: 1202 /* Diagnostics.Print_the_compiler_s_version */,
461
+ category: 1345 /* Diagnostics.Command_line_Options */,
462
+ description: 1213 /* Diagnostics.Print_the_compiler_s_version */,
464
463
  defaultValueDescription: false,
465
464
  },
466
465
  {
467
466
  name: 'init',
468
467
  kind: 'boolean',
469
468
  showInSimplifiedHelpView: true,
470
- category: 1334 /* Diagnostics.Command_line_Options */,
471
- description: 1240 /* Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file */,
469
+ category: 1345 /* Diagnostics.Command_line_Options */,
470
+ description: 1251 /* Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file */,
472
471
  defaultValueDescription: false,
473
472
  },
474
473
  {
@@ -477,15 +476,15 @@ export const optionsForCompiler = [
477
476
  kind: 'string',
478
477
  isFilePath: true,
479
478
  showInSimplifiedHelpView: true,
480
- category: 1334 /* Diagnostics.Command_line_Options */,
481
- description: 1203 /* Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json */,
479
+ category: 1345 /* Diagnostics.Command_line_Options */,
480
+ description: 1214 /* Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json */,
482
481
  },
483
482
  {
484
483
  name: 'showConfig',
485
484
  kind: 'boolean',
486
485
  isCommandLineOnly: true,
487
486
  showInSimplifiedHelpView: true,
488
- category: 1334 /* Diagnostics.Command_line_Options */,
487
+ category: 1345 /* Diagnostics.Command_line_Options */,
489
488
  description: 284 /* Diagnostics.Print_the_final_configuration_instead_of_building */,
490
489
  defaultValueDescription: false,
491
490
  },
@@ -493,8 +492,8 @@ export const optionsForCompiler = [
493
492
  name: 'listFilesOnly',
494
493
  kind: 'boolean',
495
494
  isCommandLineOnly: true,
496
- category: 1334 /* Diagnostics.Command_line_Options */,
497
- description: 1518 /* Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing */,
495
+ category: 1345 /* Diagnostics.Command_line_Options */,
496
+ description: 1529 /* Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing */,
498
497
  defaultValueDescription: false,
499
498
  },
500
499
  {
@@ -502,8 +501,8 @@ export const optionsForCompiler = [
502
501
  kind: 'boolean',
503
502
  isCommandLineOnly: true,
504
503
  showInSimplifiedHelpView: true,
505
- category: 1334 /* Diagnostics.Command_line_Options */,
506
- description: 464 /* Diagnostics.Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files */,
504
+ category: 1345 /* Diagnostics.Command_line_Options */,
505
+ description: 462 /* Diagnostics.Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files */,
507
506
  defaultValueDescription: false,
508
507
  },
509
508
  {
@@ -513,9 +512,9 @@ export const optionsForCompiler = [
513
512
  values: targetValues,
514
513
  deprecatedValues: new Set(['es5']),
515
514
  showInSimplifiedHelpView: true,
516
- category: 1406 /* Diagnostics.Language_and_Environment */,
517
- description: 1625 /* Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations */,
518
- defaultValueDescription: ScriptTarget.ES2025,
515
+ category: 1417 /* Diagnostics.Language_and_Environment */,
516
+ description: 1636 /* Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations */,
517
+ defaultValueDescription: ScriptTarget.ES2026,
519
518
  affects: Affects.BuildInfo | Affects.SourceFile | Affects.ModuleResolution | Affects.Emit,
520
519
  },
521
520
  {
@@ -525,8 +524,8 @@ export const optionsForCompiler = [
525
524
  values: moduleValues,
526
525
  deprecatedValues: new Set(['amd', 'system', 'umd', 'none']),
527
526
  showInSimplifiedHelpView: true,
528
- category: 1396 /* Diagnostics.Modules */,
529
- description: 1578 /* Diagnostics.Specify_what_module_code_is_generated */,
527
+ category: 1407 /* Diagnostics.Modules */,
528
+ description: 1589 /* Diagnostics.Specify_what_module_code_is_generated */,
530
529
  defaultValueDescription: 'undefined',
531
530
  affects: Affects.BuildInfo | Affects.ModuleResolution | Affects.Emit,
532
531
  },
@@ -539,17 +538,17 @@ export const optionsForCompiler = [
539
538
  values: libMap,
540
539
  },
541
540
  showInSimplifiedHelpView: true,
542
- category: 1406 /* Diagnostics.Language_and_Environment */,
543
- description: 1572 /* Diagnostics.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment */,
541
+ category: 1417 /* Diagnostics.Language_and_Environment */,
542
+ description: 1583 /* Diagnostics.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment */,
544
543
  affects: Affects.ProgramStructure,
545
544
  },
546
545
  {
547
546
  name: 'allowJs',
548
547
  kind: 'boolean',
549
548
  showInSimplifiedHelpView: true,
550
- category: 1399 /* Diagnostics.JavaScript_Support */,
551
- description: 1522 /* Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these_files */,
552
- defaultValueMessage: 1677 /* Diagnostics.X_false_unless_checkJs_is_set */,
549
+ category: 1410 /* Diagnostics.JavaScript_Support */,
550
+ description: 1533 /* Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these_files */,
551
+ defaultValueMessage: 1688 /* Diagnostics.X_false_unless_checkJs_is_set */,
553
552
  affects: Affects.BuildInfo,
554
553
  allowJsFlag: true,
555
554
  },
@@ -557,8 +556,8 @@ export const optionsForCompiler = [
557
556
  name: 'checkJs',
558
557
  kind: 'boolean',
559
558
  showInSimplifiedHelpView: true,
560
- category: 1399 /* Diagnostics.JavaScript_Support */,
561
- description: 1531 /* Diagnostics.Enable_error_reporting_in_type_checked_JavaScript_files */,
559
+ category: 1410 /* Diagnostics.JavaScript_Support */,
560
+ description: 1542 /* Diagnostics.Enable_error_reporting_in_type_checked_JavaScript_files */,
562
561
  defaultValueDescription: false,
563
562
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo | Affects.ModuleResolution,
564
563
  },
@@ -567,8 +566,8 @@ export const optionsForCompiler = [
567
566
  kind: 'enum',
568
567
  values: jsxValues,
569
568
  showInSimplifiedHelpView: true,
570
- category: 1406 /* Diagnostics.Language_and_Environment */,
571
- description: 1567 /* Diagnostics.Specify_what_JSX_code_is_generated */,
569
+ category: 1417 /* Diagnostics.Language_and_Environment */,
570
+ description: 1578 /* Diagnostics.Specify_what_JSX_code_is_generated */,
572
571
  defaultValueDescription: 'undefined',
573
572
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo | Affects.SourceFile | Affects.ModuleResolution | Affects.Emit,
574
573
  },
@@ -577,8 +576,8 @@ export const optionsForCompiler = [
577
576
  kind: 'string',
578
577
  isFilePath: true,
579
578
  showInSimplifiedHelpView: true,
580
- category: 1398 /* Diagnostics.Emit */,
581
- description: 1600 /* Diagnostics.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output */,
579
+ category: 1409 /* Diagnostics.Emit */,
580
+ description: 1611 /* Diagnostics.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output */,
582
581
  affects: Affects.DeclarationPath | Affects.BuildInfo | Affects.Emit,
583
582
  },
584
583
  {
@@ -586,25 +585,25 @@ export const optionsForCompiler = [
586
585
  kind: 'string',
587
586
  isFilePath: true,
588
587
  showInSimplifiedHelpView: true,
589
- category: 1398 /* Diagnostics.Emit */,
590
- description: 1599 /* Diagnostics.Specify_an_output_folder_for_all_emitted_files */,
588
+ category: 1409 /* Diagnostics.Emit */,
589
+ description: 1610 /* Diagnostics.Specify_an_output_folder_for_all_emitted_files */,
591
590
  affects: Affects.DeclarationPath | Affects.BuildInfo | Affects.Emit,
592
591
  },
593
592
  {
594
593
  name: 'rootDir',
595
594
  kind: 'string',
596
595
  isFilePath: true,
597
- category: 1396 /* Diagnostics.Modules */,
598
- description: 1611 /* Diagnostics.Specify_the_root_folder_within_your_source_files */,
599
- defaultValueMessage: 1656 /* Diagnostics.Computed_from_the_list_of_input_files */,
596
+ category: 1407 /* Diagnostics.Modules */,
597
+ description: 1622 /* Diagnostics.Specify_the_root_folder_within_your_source_files */,
598
+ defaultValueMessage: 1667 /* Diagnostics.Computed_from_the_list_of_input_files */,
600
599
  affects: Affects.DeclarationPath | Affects.BuildInfo | Affects.Emit,
601
600
  },
602
601
  {
603
602
  name: 'composite',
604
603
  kind: 'boolean',
605
604
  isTSConfigOnly: true,
606
- category: 1407 /* Diagnostics.Projects */,
607
- description: 1532 /* Diagnostics.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references */,
605
+ category: 1418 /* Diagnostics.Projects */,
606
+ description: 1543 /* Diagnostics.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references */,
608
607
  defaultValueDescription: false,
609
608
  affects: Affects.BuildInfo,
610
609
  },
@@ -612,8 +611,8 @@ export const optionsForCompiler = [
612
611
  name: 'tsBuildInfoFile',
613
612
  kind: 'string',
614
613
  isFilePath: true,
615
- category: 1407 /* Diagnostics.Projects */,
616
- description: 1627 /* Diagnostics.Specify_the_path_to_tsbuildinfo_incremental_compilation_file */,
614
+ category: 1418 /* Diagnostics.Projects */,
615
+ description: 1638 /* Diagnostics.Specify_the_path_to_tsbuildinfo_incremental_compilation_file */,
617
616
  defaultValueDescription: '.tsbuildinfo',
618
617
  affects: Affects.BuildInfo | Affects.Emit,
619
618
  },
@@ -621,64 +620,64 @@ export const optionsForCompiler = [
621
620
  name: 'removeComments',
622
621
  kind: 'boolean',
623
622
  showInSimplifiedHelpView: true,
624
- category: 1398 /* Diagnostics.Emit */,
625
- description: 1609 /* Diagnostics.Disable_emitting_comments */,
623
+ category: 1409 /* Diagnostics.Emit */,
624
+ description: 1620 /* Diagnostics.Disable_emitting_comments */,
626
625
  defaultValueDescription: false,
627
626
  affects: Affects.BuildInfo | Affects.Emit,
628
627
  },
629
628
  {
630
629
  name: 'importHelpers',
631
630
  kind: 'boolean',
632
- category: 1398 /* Diagnostics.Emit */,
633
- description: 1560 /* Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file */,
631
+ category: 1409 /* Diagnostics.Emit */,
632
+ description: 1571 /* Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file */,
634
633
  defaultValueDescription: false,
635
634
  affects: Affects.BuildInfo | Affects.SourceFile | Affects.Emit,
636
635
  },
637
636
  {
638
637
  name: 'downlevelIteration',
639
638
  kind: 'boolean',
640
- category: 1398 /* Diagnostics.Emit */,
641
- description: 1542 /* Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration */,
639
+ category: 1409 /* Diagnostics.Emit */,
640
+ description: 1553 /* Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration */,
642
641
  defaultValueDescription: false,
643
642
  affects: Affects.BuildInfo | Affects.Emit,
644
643
  },
645
644
  {
646
645
  name: 'isolatedModules',
647
646
  kind: 'boolean',
648
- category: 1404 /* Diagnostics.Interop_Constraints */,
649
- description: 1566 /* Diagnostics.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports */,
647
+ category: 1415 /* Diagnostics.Interop_Constraints */,
648
+ description: 1577 /* Diagnostics.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports */,
650
649
  defaultValueDescription: false,
651
650
  transpileOptionValue: true,
652
651
  },
653
652
  {
654
653
  name: 'verbatimModuleSyntax',
655
654
  kind: 'boolean',
656
- category: 1404 /* Diagnostics.Interop_Constraints */,
657
- description: 1641 /* Diagnostics.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting */,
655
+ category: 1415 /* Diagnostics.Interop_Constraints */,
656
+ description: 1652 /* Diagnostics.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting */,
658
657
  defaultValueDescription: false,
659
658
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo | Affects.Emit,
660
659
  },
661
660
  {
662
661
  name: 'isolatedDeclarations',
663
662
  kind: 'boolean',
664
- category: 1404 /* Diagnostics.Interop_Constraints */,
665
- description: 1637 /* Diagnostics.Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files */,
663
+ category: 1415 /* Diagnostics.Interop_Constraints */,
664
+ description: 1648 /* Diagnostics.Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files */,
666
665
  defaultValueDescription: false,
667
666
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
668
667
  },
669
668
  {
670
669
  name: 'erasableSyntaxOnly',
671
670
  kind: 'boolean',
672
- category: 1404 /* Diagnostics.Interop_Constraints */,
673
- description: 1639 /* Diagnostics.Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript */,
671
+ category: 1415 /* Diagnostics.Interop_Constraints */,
672
+ description: 1650 /* Diagnostics.Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript */,
674
673
  defaultValueDescription: false,
675
674
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
676
675
  },
677
676
  {
678
677
  name: 'libReplacement',
679
678
  kind: 'boolean',
680
- category: 1406 /* Diagnostics.Language_and_Environment */,
681
- description: 1645 /* Diagnostics.Enable_lib_replacement */,
679
+ category: 1417 /* Diagnostics.Language_and_Environment */,
680
+ description: 1656 /* Diagnostics.Enable_lib_replacement */,
682
681
  defaultValueDescription: false,
683
682
  affects: Affects.ProgramStructure,
684
683
  },
@@ -686,160 +685,160 @@ export const optionsForCompiler = [
686
685
  name: 'strict',
687
686
  kind: 'boolean',
688
687
  showInSimplifiedHelpView: true,
689
- category: 1400 /* Diagnostics.Type_Checking */,
690
- description: 1336 /* Diagnostics.Enable_all_strict_type_checking_options */,
688
+ category: 1411 /* Diagnostics.Type_Checking */,
689
+ description: 1347 /* Diagnostics.Enable_all_strict_type_checking_options */,
691
690
  defaultValueDescription: true,
692
691
  affects: Affects.BuildInfo,
693
692
  },
694
693
  {
695
694
  name: 'noImplicitAny',
696
695
  kind: 'boolean',
697
- category: 1400 /* Diagnostics.Type_Checking */,
698
- description: 1586 /* Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type */,
699
- defaultValueMessage: 1651 /* Diagnostics.X_true_unless_strict_is_false */,
696
+ category: 1411 /* Diagnostics.Type_Checking */,
697
+ description: 1597 /* Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type */,
698
+ defaultValueMessage: 1662 /* Diagnostics.X_true_unless_strict_is_false */,
700
699
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
701
700
  strictFlag: true,
702
701
  },
703
702
  {
704
703
  name: 'strictNullChecks',
705
704
  kind: 'boolean',
706
- category: 1400 /* Diagnostics.Type_Checking */,
707
- description: 1619 /* Diagnostics.When_type_checking_take_into_account_null_and_undefined */,
708
- defaultValueMessage: 1651 /* Diagnostics.X_true_unless_strict_is_false */,
705
+ category: 1411 /* Diagnostics.Type_Checking */,
706
+ description: 1630 /* Diagnostics.When_type_checking_take_into_account_null_and_undefined */,
707
+ defaultValueMessage: 1662 /* Diagnostics.X_true_unless_strict_is_false */,
709
708
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
710
709
  strictFlag: true,
711
710
  },
712
711
  {
713
712
  name: 'strictFunctionTypes',
714
713
  kind: 'boolean',
715
- category: 1400 /* Diagnostics.Type_Checking */,
716
- description: 1618 /* Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible */,
717
- defaultValueMessage: 1651 /* Diagnostics.X_true_unless_strict_is_false */,
714
+ category: 1411 /* Diagnostics.Type_Checking */,
715
+ description: 1629 /* Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible */,
716
+ defaultValueMessage: 1662 /* Diagnostics.X_true_unless_strict_is_false */,
718
717
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
719
718
  strictFlag: true,
720
719
  },
721
720
  {
722
721
  name: 'strictBindCallApply',
723
722
  kind: 'boolean',
724
- category: 1400 /* Diagnostics.Type_Checking */,
725
- description: 1617 /* Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function */,
726
- defaultValueMessage: 1651 /* Diagnostics.X_true_unless_strict_is_false */,
723
+ category: 1411 /* Diagnostics.Type_Checking */,
724
+ description: 1628 /* Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function */,
725
+ defaultValueMessage: 1662 /* Diagnostics.X_true_unless_strict_is_false */,
727
726
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
728
727
  strictFlag: true,
729
728
  },
730
729
  {
731
730
  name: 'strictPropertyInitialization',
732
731
  kind: 'boolean',
733
- category: 1400 /* Diagnostics.Type_Checking */,
734
- description: 1620 /* Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor */,
735
- defaultValueMessage: 1651 /* Diagnostics.X_true_unless_strict_is_false */,
732
+ category: 1411 /* Diagnostics.Type_Checking */,
733
+ description: 1631 /* Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor */,
734
+ defaultValueMessage: 1662 /* Diagnostics.X_true_unless_strict_is_false */,
736
735
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
737
736
  strictFlag: true,
738
737
  },
739
738
  {
740
739
  name: 'strictBuiltinIteratorReturn',
741
740
  kind: 'boolean',
742
- category: 1400 /* Diagnostics.Type_Checking */,
743
- description: 1638 /* Diagnostics.Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any */,
744
- defaultValueMessage: 1651 /* Diagnostics.X_true_unless_strict_is_false */,
741
+ category: 1411 /* Diagnostics.Type_Checking */,
742
+ description: 1649 /* Diagnostics.Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any */,
743
+ defaultValueMessage: 1662 /* Diagnostics.X_true_unless_strict_is_false */,
745
744
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
746
745
  strictFlag: true,
747
746
  },
748
747
  {
749
748
  name: 'noImplicitThis',
750
749
  kind: 'boolean',
751
- category: 1400 /* Diagnostics.Type_Checking */,
752
- description: 1589 /* Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any */,
753
- defaultValueMessage: 1651 /* Diagnostics.X_true_unless_strict_is_false */,
750
+ category: 1411 /* Diagnostics.Type_Checking */,
751
+ description: 1600 /* Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any */,
752
+ defaultValueMessage: 1662 /* Diagnostics.X_true_unless_strict_is_false */,
754
753
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
755
754
  strictFlag: true,
756
755
  },
757
756
  {
758
757
  name: 'useUnknownInCatchVariables',
759
758
  kind: 'boolean',
760
- category: 1400 /* Diagnostics.Type_Checking */,
761
- description: 1640 /* Diagnostics.Default_catch_clause_variables_as_unknown_instead_of_any */,
762
- defaultValueMessage: 1651 /* Diagnostics.X_true_unless_strict_is_false */,
759
+ category: 1411 /* Diagnostics.Type_Checking */,
760
+ description: 1651 /* Diagnostics.Default_catch_clause_variables_as_unknown_instead_of_any */,
761
+ defaultValueMessage: 1662 /* Diagnostics.X_true_unless_strict_is_false */,
763
762
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
764
763
  strictFlag: true,
765
764
  },
766
765
  {
767
766
  name: 'alwaysStrict',
768
767
  kind: 'boolean',
769
- category: 1400 /* Diagnostics.Type_Checking */,
770
- description: 1527 /* Diagnostics.Ensure_use_strict_is_always_emitted */,
768
+ category: 1411 /* Diagnostics.Type_Checking */,
769
+ description: 1538 /* Diagnostics.Ensure_use_strict_is_always_emitted */,
771
770
  defaultValueDescription: true,
772
771
  affects: Affects.BuildInfo | Affects.SourceFile | Affects.Emit,
773
772
  },
774
773
  {
775
774
  name: 'stableTypeOrdering',
776
775
  kind: 'boolean',
777
- category: 1400 /* Diagnostics.Type_Checking */,
778
- description: 1646 /* Diagnostics.Ensure_types_are_ordered_stably_and_deterministically_across_compilations */,
776
+ category: 1411 /* Diagnostics.Type_Checking */,
777
+ description: 1657 /* Diagnostics.Ensure_types_are_ordered_stably_and_deterministically_across_compilations */,
779
778
  defaultValueDescription: true,
780
779
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
781
780
  },
782
781
  {
783
782
  name: 'noUnusedLocals',
784
783
  kind: 'boolean',
785
- category: 1400 /* Diagnostics.Type_Checking */,
786
- description: 1596 /* Diagnostics.Enable_error_reporting_when_local_variables_aren_t_read */,
784
+ category: 1411 /* Diagnostics.Type_Checking */,
785
+ description: 1607 /* Diagnostics.Enable_error_reporting_when_local_variables_aren_t_read */,
787
786
  defaultValueDescription: false,
788
787
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
789
788
  },
790
789
  {
791
790
  name: 'noUnusedParameters',
792
791
  kind: 'boolean',
793
- category: 1400 /* Diagnostics.Type_Checking */,
794
- description: 1597 /* Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read */,
792
+ category: 1411 /* Diagnostics.Type_Checking */,
793
+ description: 1608 /* Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read */,
795
794
  defaultValueDescription: false,
796
795
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
797
796
  },
798
797
  {
799
798
  name: 'exactOptionalPropertyTypes',
800
799
  kind: 'boolean',
801
- category: 1400 /* Diagnostics.Type_Checking */,
802
- description: 1395 /* Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined */,
800
+ category: 1411 /* Diagnostics.Type_Checking */,
801
+ description: 1406 /* Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined */,
803
802
  defaultValueDescription: false,
804
803
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
805
804
  },
806
805
  {
807
806
  name: 'noImplicitReturns',
808
807
  kind: 'boolean',
809
- category: 1400 /* Diagnostics.Type_Checking */,
810
- description: 1588 /* Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function */,
808
+ category: 1411 /* Diagnostics.Type_Checking */,
809
+ description: 1599 /* Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function */,
811
810
  defaultValueDescription: false,
812
811
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
813
812
  },
814
813
  {
815
814
  name: 'noFallthroughCasesInSwitch',
816
815
  kind: 'boolean',
817
- category: 1400 /* Diagnostics.Type_Checking */,
818
- description: 1585 /* Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements */,
816
+ category: 1411 /* Diagnostics.Type_Checking */,
817
+ description: 1596 /* Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements */,
819
818
  defaultValueDescription: false,
820
819
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo | Affects.BindDiagnostics,
821
820
  },
822
821
  {
823
822
  name: 'noUncheckedIndexedAccess',
824
823
  kind: 'boolean',
825
- category: 1400 /* Diagnostics.Type_Checking */,
826
- description: 1595 /* Diagnostics.Add_undefined_to_a_type_when_accessed_using_an_index */,
824
+ category: 1411 /* Diagnostics.Type_Checking */,
825
+ description: 1606 /* Diagnostics.Add_undefined_to_a_type_when_accessed_using_an_index */,
827
826
  defaultValueDescription: false,
828
827
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
829
828
  },
830
829
  {
831
830
  name: 'noImplicitOverride',
832
831
  kind: 'boolean',
833
- category: 1400 /* Diagnostics.Type_Checking */,
834
- description: 1587 /* Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier */,
832
+ category: 1411 /* Diagnostics.Type_Checking */,
833
+ description: 1598 /* Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier */,
835
834
  defaultValueDescription: false,
836
835
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
837
836
  },
838
837
  {
839
838
  name: 'noPropertyAccessFromIndexSignature',
840
839
  kind: 'boolean',
841
- category: 1400 /* Diagnostics.Type_Checking */,
842
- description: 1592 /* Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type */,
840
+ category: 1411 /* Diagnostics.Type_Checking */,
841
+ description: 1603 /* Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type */,
843
842
  defaultValueDescription: false,
844
843
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
845
844
  },
@@ -848,25 +847,25 @@ export const optionsForCompiler = [
848
847
  kind: 'enum',
849
848
  values: moduleResolutionValues,
850
849
  deprecatedValues: new Set(['node', 'classic', 'node10']),
851
- category: 1396 /* Diagnostics.Modules */,
852
- description: 1579 /* Diagnostics.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier */,
853
- defaultValueMessage: 1877 /* Diagnostics.X_nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler */,
850
+ category: 1407 /* Diagnostics.Modules */,
851
+ description: 1590 /* Diagnostics.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier */,
852
+ defaultValueMessage: 1959 /* Diagnostics.X_nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler */,
854
853
  affects: Affects.ModuleResolution,
855
854
  },
856
855
  {
857
856
  name: 'baseUrl',
858
857
  kind: 'string',
859
858
  isFilePath: true,
860
- category: 1396 /* Diagnostics.Modules */,
861
- description: 1529 /* Diagnostics.Specify_the_base_directory_to_resolve_non_relative_module_names */,
859
+ category: 1407 /* Diagnostics.Modules */,
860
+ description: 1540 /* Diagnostics.Specify_the_base_directory_to_resolve_non_relative_module_names */,
862
861
  affects: Affects.ModuleResolution,
863
862
  },
864
863
  {
865
864
  name: 'paths',
866
865
  kind: 'object',
867
866
  isTSConfigOnly: true,
868
- category: 1396 /* Diagnostics.Modules */,
869
- description: 1601 /* Diagnostics.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations */,
867
+ category: 1407 /* Diagnostics.Modules */,
868
+ description: 1612 /* Diagnostics.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations */,
870
869
  affects: Affects.ModuleResolution,
871
870
  allowConfigDirTemplateSubstitution: true,
872
871
  },
@@ -879,9 +878,9 @@ export const optionsForCompiler = [
879
878
  isFilePath: true,
880
879
  },
881
880
  isTSConfigOnly: true,
882
- category: 1396 /* Diagnostics.Modules */,
883
- description: 1612 /* Diagnostics.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules */,
884
- defaultValueMessage: 1656 /* Diagnostics.Computed_from_the_list_of_input_files */,
881
+ category: 1407 /* Diagnostics.Modules */,
882
+ description: 1623 /* Diagnostics.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules */,
883
+ defaultValueMessage: 1667 /* Diagnostics.Computed_from_the_list_of_input_files */,
885
884
  affects: Affects.ModuleResolution,
886
885
  allowConfigDirTemplateSubstitution: true,
887
886
  },
@@ -893,8 +892,8 @@ export const optionsForCompiler = [
893
892
  kind: 'string',
894
893
  isFilePath: true,
895
894
  },
896
- category: 1396 /* Diagnostics.Modules */,
897
- description: 1629 /* Diagnostics.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types */,
895
+ category: 1407 /* Diagnostics.Modules */,
896
+ description: 1640 /* Diagnostics.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types */,
898
897
  affects: Affects.ModuleResolution,
899
898
  allowConfigDirTemplateSubstitution: true,
900
899
  },
@@ -906,15 +905,15 @@ export const optionsForCompiler = [
906
905
  kind: 'string',
907
906
  },
908
907
  showInSimplifiedHelpView: true,
909
- category: 1396 /* Diagnostics.Modules */,
910
- description: 1630 /* Diagnostics.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file */,
908
+ category: 1407 /* Diagnostics.Modules */,
909
+ description: 1641 /* Diagnostics.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file */,
911
910
  affects: Affects.ProgramStructure,
912
911
  },
913
912
  {
914
913
  name: 'allowSyntheticDefaultImports',
915
914
  kind: 'boolean',
916
- category: 1404 /* Diagnostics.Interop_Constraints */,
917
- description: 1523 /* Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export */,
915
+ category: 1415 /* Diagnostics.Interop_Constraints */,
916
+ description: 1534 /* Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export */,
918
917
  defaultValueDescription: true,
919
918
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
920
919
  },
@@ -922,23 +921,23 @@ export const optionsForCompiler = [
922
921
  name: 'esModuleInterop',
923
922
  kind: 'boolean',
924
923
  showInSimplifiedHelpView: true,
925
- category: 1404 /* Diagnostics.Interop_Constraints */,
926
- description: 1547 /* Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility */,
924
+ category: 1415 /* Diagnostics.Interop_Constraints */,
925
+ description: 1558 /* Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility */,
927
926
  defaultValueDescription: true,
928
927
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo | Affects.Emit,
929
928
  },
930
929
  {
931
930
  name: 'preserveSymlinks',
932
931
  kind: 'boolean',
933
- category: 1404 /* Diagnostics.Interop_Constraints */,
934
- description: 1604 /* Diagnostics.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node */,
932
+ category: 1415 /* Diagnostics.Interop_Constraints */,
933
+ description: 1615 /* Diagnostics.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node */,
935
934
  defaultValueDescription: false,
936
935
  },
937
936
  {
938
937
  name: 'allowUmdGlobalAccess',
939
938
  kind: 'boolean',
940
- category: 1396 /* Diagnostics.Modules */,
941
- description: 1524 /* Diagnostics.Allow_accessing_UMD_globals_from_modules */,
939
+ category: 1407 /* Diagnostics.Modules */,
940
+ description: 1535 /* Diagnostics.Allow_accessing_UMD_globals_from_modules */,
942
941
  defaultValueDescription: false,
943
942
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
944
943
  },
@@ -949,41 +948,41 @@ export const optionsForCompiler = [
949
948
  name: 'moduleSuffixes',
950
949
  kind: 'string',
951
950
  },
952
- category: 1396 /* Diagnostics.Modules */,
953
- description: 1676 /* Diagnostics.List_of_file_name_suffixes_to_search_when_resolving_a_module */,
951
+ category: 1407 /* Diagnostics.Modules */,
952
+ description: 1687 /* Diagnostics.List_of_file_name_suffixes_to_search_when_resolving_a_module */,
954
953
  affects: Affects.ModuleResolution,
955
954
  listPreserveFalsyValues: true,
956
955
  },
957
956
  {
958
957
  name: 'allowImportingTsExtensions',
959
958
  kind: 'boolean',
960
- category: 1396 /* Diagnostics.Modules */,
961
- description: 1497 /* Diagnostics.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set */,
959
+ category: 1407 /* Diagnostics.Modules */,
960
+ description: 1508 /* Diagnostics.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set */,
962
961
  defaultValueDescription: false,
963
962
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
964
963
  },
965
964
  {
966
965
  name: 'rewriteRelativeImportExtensions',
967
966
  kind: 'boolean',
968
- category: 1396 /* Diagnostics.Modules */,
969
- description: 1511 /* Diagnostics.Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_in_output_files */,
967
+ category: 1407 /* Diagnostics.Modules */,
968
+ description: 1522 /* Diagnostics.Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_in_output_files */,
970
969
  defaultValueDescription: false,
971
970
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
972
971
  },
973
972
  {
974
973
  name: 'resolvePackageJsonExports',
975
974
  kind: 'boolean',
976
- category: 1396 /* Diagnostics.Modules */,
977
- description: 1498 /* Diagnostics.Use_the_package_json_exports_field_when_resolving_package_imports */,
978
- defaultValueMessage: 1501 /* Diagnostics.X_true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false */,
975
+ category: 1407 /* Diagnostics.Modules */,
976
+ description: 1509 /* Diagnostics.Use_the_package_json_exports_field_when_resolving_package_imports */,
977
+ defaultValueMessage: 1512 /* Diagnostics.X_true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false */,
979
978
  affects: Affects.ModuleResolution,
980
979
  },
981
980
  {
982
981
  name: 'resolvePackageJsonImports',
983
982
  kind: 'boolean',
984
- category: 1396 /* Diagnostics.Modules */,
985
- description: 1499 /* Diagnostics.Use_the_package_json_imports_field_when_resolving_imports */,
986
- defaultValueMessage: 1501 /* Diagnostics.X_true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false */,
983
+ category: 1407 /* Diagnostics.Modules */,
984
+ description: 1510 /* Diagnostics.Use_the_package_json_imports_field_when_resolving_imports */,
985
+ defaultValueMessage: 1512 /* Diagnostics.X_true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false */,
987
986
  affects: Affects.ModuleResolution,
988
987
  },
989
988
  {
@@ -993,115 +992,115 @@ export const optionsForCompiler = [
993
992
  name: 'condition',
994
993
  kind: 'string',
995
994
  },
996
- category: 1396 /* Diagnostics.Modules */,
997
- description: 1500 /* Diagnostics.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports */,
995
+ category: 1407 /* Diagnostics.Modules */,
996
+ description: 1511 /* Diagnostics.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports */,
998
997
  affects: Affects.ModuleResolution,
999
998
  },
1000
999
  {
1001
1000
  name: 'noUncheckedSideEffectImports',
1002
1001
  kind: 'boolean',
1003
- category: 1396 /* Diagnostics.Modules */,
1004
- description: 1643 /* Diagnostics.Check_side_effect_imports */,
1002
+ category: 1407 /* Diagnostics.Modules */,
1003
+ description: 1654 /* Diagnostics.Check_side_effect_imports */,
1005
1004
  defaultValueDescription: true,
1006
1005
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
1007
1006
  },
1008
1007
  {
1009
1008
  name: 'sourceRoot',
1010
1009
  kind: 'string',
1011
- category: 1398 /* Diagnostics.Emit */,
1012
- description: 1616 /* Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code */,
1010
+ category: 1409 /* Diagnostics.Emit */,
1011
+ description: 1627 /* Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code */,
1013
1012
  affects: Affects.BuildInfo | Affects.Emit,
1014
1013
  },
1015
1014
  {
1016
1015
  name: 'mapRoot',
1017
1016
  kind: 'string',
1018
- category: 1398 /* Diagnostics.Emit */,
1019
- description: 1576 /* Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations */,
1017
+ category: 1409 /* Diagnostics.Emit */,
1018
+ description: 1587 /* Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations */,
1020
1019
  affects: Affects.BuildInfo | Affects.Emit,
1021
1020
  },
1022
1021
  {
1023
1022
  name: 'inlineSources',
1024
1023
  kind: 'boolean',
1025
- category: 1398 /* Diagnostics.Emit */,
1026
- description: 1565 /* Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript */,
1024
+ category: 1409 /* Diagnostics.Emit */,
1025
+ description: 1576 /* Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript */,
1027
1026
  defaultValueDescription: false,
1028
1027
  affects: Affects.BuildInfo | Affects.Emit,
1029
1028
  },
1030
1029
  {
1031
1030
  name: 'experimentalDecorators',
1032
1031
  kind: 'boolean',
1033
- category: 1406 /* Diagnostics.Language_and_Environment */,
1034
- description: 1551 /* Diagnostics.Enable_experimental_support_for_legacy_experimental_decorators */,
1032
+ category: 1417 /* Diagnostics.Language_and_Environment */,
1033
+ description: 1562 /* Diagnostics.Enable_experimental_support_for_legacy_experimental_decorators */,
1035
1034
  defaultValueDescription: false,
1036
1035
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo | Affects.Emit,
1037
1036
  },
1038
1037
  {
1039
1038
  name: 'emitDecoratorMetadata',
1040
1039
  kind: 'boolean',
1041
- category: 1406 /* Diagnostics.Language_and_Environment */,
1042
- description: 1545 /* Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files */,
1040
+ category: 1417 /* Diagnostics.Language_and_Environment */,
1041
+ description: 1556 /* Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files */,
1043
1042
  defaultValueDescription: false,
1044
1043
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo | Affects.Emit,
1045
1044
  },
1046
1045
  {
1047
1046
  name: 'jsxFactory',
1048
1047
  kind: 'string',
1049
- category: 1406 /* Diagnostics.Language_and_Environment */,
1050
- description: 1568 /* Diagnostics.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h */,
1048
+ category: 1417 /* Diagnostics.Language_and_Environment */,
1049
+ description: 1579 /* Diagnostics.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h */,
1051
1050
  defaultValueDescription: '`React.createElement`',
1052
1051
  },
1053
1052
  {
1054
1053
  name: 'jsxFragmentFactory',
1055
1054
  kind: 'string',
1056
- category: 1406 /* Diagnostics.Language_and_Environment */,
1057
- description: 1569 /* Diagnostics.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment */,
1055
+ category: 1417 /* Diagnostics.Language_and_Environment */,
1056
+ description: 1580 /* Diagnostics.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment */,
1058
1057
  defaultValueDescription: 'React.Fragment',
1059
1058
  },
1060
1059
  {
1061
1060
  name: 'jsxImportSource',
1062
1061
  kind: 'string',
1063
- category: 1406 /* Diagnostics.Language_and_Environment */,
1064
- description: 1570 /* Diagnostics.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk */,
1062
+ category: 1417 /* Diagnostics.Language_and_Environment */,
1063
+ description: 1581 /* Diagnostics.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk */,
1065
1064
  defaultValueDescription: 'react',
1066
1065
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo | Affects.SourceFile | Affects.ModuleResolution | Affects.Emit,
1067
1066
  },
1068
1067
  {
1069
1068
  name: 'resolveJsonModule',
1070
1069
  kind: 'boolean',
1071
- category: 1396 /* Diagnostics.Modules */,
1072
- description: 1610 /* Diagnostics.Enable_importing_json_files */,
1070
+ category: 1407 /* Diagnostics.Modules */,
1071
+ description: 1621 /* Diagnostics.Enable_importing_json_files */,
1073
1072
  defaultValueDescription: false,
1074
1073
  affects: Affects.ModuleResolution,
1075
1074
  },
1076
1075
  {
1077
1076
  name: 'allowArbitraryExtensions',
1078
1077
  kind: 'boolean',
1079
- category: 1396 /* Diagnostics.Modules */,
1080
- description: 1416 /* Diagnostics.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present */,
1078
+ category: 1407 /* Diagnostics.Modules */,
1079
+ description: 1427 /* Diagnostics.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present */,
1081
1080
  defaultValueDescription: false,
1082
1081
  affects: Affects.ProgramStructure,
1083
1082
  },
1084
1083
  {
1085
1084
  name: 'reactNamespace',
1086
1085
  kind: 'string',
1087
- category: 1406 /* Diagnostics.Language_and_Environment */,
1088
- description: 1607 /* Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit */,
1086
+ category: 1417 /* Diagnostics.Language_and_Environment */,
1087
+ description: 1618 /* Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit */,
1089
1088
  defaultValueDescription: '`React`',
1090
1089
  affects: Affects.BuildInfo | Affects.Emit,
1091
1090
  },
1092
1091
  {
1093
1092
  name: 'skipDefaultLibCheck',
1094
1093
  kind: 'boolean',
1095
- category: 1409 /* Diagnostics.Completeness */,
1096
- description: 1613 /* Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript */,
1094
+ category: 1420 /* Diagnostics.Completeness */,
1095
+ description: 1624 /* Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript */,
1097
1096
  defaultValueDescription: false,
1098
1097
  affects: Affects.BuildInfo,
1099
1098
  },
1100
1099
  {
1101
1100
  name: 'emitBOM',
1102
1101
  kind: 'boolean',
1103
- category: 1398 /* Diagnostics.Emit */,
1104
- description: 1543 /* Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files */,
1102
+ category: 1409 /* Diagnostics.Emit */,
1103
+ description: 1554 /* Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files */,
1105
1104
  defaultValueDescription: false,
1106
1105
  affects: Affects.BuildInfo | Affects.Emit,
1107
1106
  },
@@ -1109,24 +1108,24 @@ export const optionsForCompiler = [
1109
1108
  name: 'newLine',
1110
1109
  kind: 'enum',
1111
1110
  values: newLineValues,
1112
- category: 1398 /* Diagnostics.Emit */,
1113
- description: 1580 /* Diagnostics.Set_the_newline_character_for_emitting_files */,
1111
+ category: 1409 /* Diagnostics.Emit */,
1112
+ description: 1591 /* Diagnostics.Set_the_newline_character_for_emitting_files */,
1114
1113
  defaultValueDescription: '',
1115
1114
  affects: Affects.BuildInfo | Affects.Emit,
1116
1115
  },
1117
1116
  {
1118
1117
  name: 'noErrorTruncation',
1119
1118
  kind: 'boolean',
1120
- category: 1408 /* Diagnostics.Output_Formatting */,
1121
- description: 1584 /* Diagnostics.Disable_truncating_types_in_error_messages */,
1119
+ category: 1419 /* Diagnostics.Output_Formatting */,
1120
+ description: 1595 /* Diagnostics.Disable_truncating_types_in_error_messages */,
1122
1121
  defaultValueDescription: false,
1123
1122
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo,
1124
1123
  },
1125
1124
  {
1126
1125
  name: 'noLib',
1127
1126
  kind: 'boolean',
1128
- category: 1406 /* Diagnostics.Language_and_Environment */,
1129
- description: 1591 /* Diagnostics.Disable_including_any_library_files_including_the_default_lib_d_ts */,
1127
+ category: 1417 /* Diagnostics.Language_and_Environment */,
1128
+ description: 1602 /* Diagnostics.Disable_including_any_library_files_including_the_default_lib_d_ts */,
1130
1129
  defaultValueDescription: false,
1131
1130
  affects: Affects.ProgramStructure,
1132
1131
  transpileOptionValue: true,
@@ -1134,8 +1133,8 @@ export const optionsForCompiler = [
1134
1133
  {
1135
1134
  name: 'noResolve',
1136
1135
  kind: 'boolean',
1137
- category: 1396 /* Diagnostics.Modules */,
1138
- description: 1593 /* Diagnostics.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project */,
1136
+ category: 1407 /* Diagnostics.Modules */,
1137
+ description: 1604 /* Diagnostics.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project */,
1139
1138
  defaultValueDescription: false,
1140
1139
  affects: Affects.ModuleResolution,
1141
1140
  transpileOptionValue: true,
@@ -1143,16 +1142,16 @@ export const optionsForCompiler = [
1143
1142
  {
1144
1143
  name: 'stripInternal',
1145
1144
  kind: 'boolean',
1146
- category: 1398 /* Diagnostics.Emit */,
1147
- description: 1621 /* Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments */,
1145
+ category: 1409 /* Diagnostics.Emit */,
1146
+ description: 1632 /* Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments */,
1148
1147
  defaultValueDescription: false,
1149
1148
  affects: Affects.BuildInfo | Affects.Emit,
1150
1149
  },
1151
1150
  {
1152
1151
  name: 'disableSizeLimit',
1153
1152
  kind: 'boolean',
1154
- category: 1401 /* Diagnostics.Editor_Support */,
1155
- description: 1539 /* Diagnostics.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server */,
1153
+ category: 1412 /* Diagnostics.Editor_Support */,
1154
+ description: 1550 /* Diagnostics.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server */,
1156
1155
  defaultValueDescription: false,
1157
1156
  affects: Affects.ProgramStructure,
1158
1157
  },
@@ -1160,47 +1159,47 @@ export const optionsForCompiler = [
1160
1159
  name: 'disableSourceOfProjectReferenceRedirect',
1161
1160
  kind: 'boolean',
1162
1161
  isTSConfigOnly: true,
1163
- category: 1407 /* Diagnostics.Projects */,
1164
- description: 1541 /* Diagnostics.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects */,
1162
+ category: 1418 /* Diagnostics.Projects */,
1163
+ description: 1552 /* Diagnostics.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects */,
1165
1164
  defaultValueDescription: false,
1166
1165
  },
1167
1166
  {
1168
1167
  name: 'disableSolutionSearching',
1169
1168
  kind: 'boolean',
1170
1169
  isTSConfigOnly: true,
1171
- category: 1407 /* Diagnostics.Projects */,
1172
- description: 1540 /* Diagnostics.Opt_a_project_out_of_multi_project_reference_checking_when_editing */,
1170
+ category: 1418 /* Diagnostics.Projects */,
1171
+ description: 1551 /* Diagnostics.Opt_a_project_out_of_multi_project_reference_checking_when_editing */,
1173
1172
  defaultValueDescription: false,
1174
1173
  },
1175
1174
  {
1176
1175
  name: 'disableReferencedProjectLoad',
1177
1176
  kind: 'boolean',
1178
1177
  isTSConfigOnly: true,
1179
- category: 1407 /* Diagnostics.Projects */,
1180
- description: 1538 /* Diagnostics.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript */,
1178
+ category: 1418 /* Diagnostics.Projects */,
1179
+ description: 1549 /* Diagnostics.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript */,
1181
1180
  defaultValueDescription: false,
1182
1181
  },
1183
1182
  {
1184
1183
  name: 'noEmitHelpers',
1185
1184
  kind: 'boolean',
1186
- category: 1398 /* Diagnostics.Emit */,
1187
- description: 1582 /* Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output */,
1185
+ category: 1409 /* Diagnostics.Emit */,
1186
+ description: 1593 /* Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output */,
1188
1187
  defaultValueDescription: false,
1189
1188
  affects: Affects.BuildInfo | Affects.Emit,
1190
1189
  },
1191
1190
  {
1192
1191
  name: 'noEmitOnError',
1193
1192
  kind: 'boolean',
1194
- category: 1398 /* Diagnostics.Emit */,
1195
- description: 1583 /* Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported */,
1193
+ category: 1409 /* Diagnostics.Emit */,
1194
+ description: 1594 /* Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported */,
1196
1195
  defaultValueDescription: false,
1197
1196
  affects: Affects.BuildInfo | Affects.Emit,
1198
1197
  },
1199
1198
  {
1200
1199
  name: 'preserveConstEnums',
1201
1200
  kind: 'boolean',
1202
- category: 1398 /* Diagnostics.Emit */,
1203
- description: 1603 /* Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code */,
1201
+ category: 1409 /* Diagnostics.Emit */,
1202
+ description: 1614 /* Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code */,
1204
1203
  defaultValueDescription: false,
1205
1204
  affects: Affects.BuildInfo | Affects.Emit,
1206
1205
  },
@@ -1208,56 +1207,56 @@ export const optionsForCompiler = [
1208
1207
  name: 'declarationDir',
1209
1208
  kind: 'string',
1210
1209
  isFilePath: true,
1211
- category: 1398 /* Diagnostics.Emit */,
1212
- description: 1534 /* Diagnostics.Specify_the_output_directory_for_generated_declaration_files */,
1210
+ category: 1409 /* Diagnostics.Emit */,
1211
+ description: 1545 /* Diagnostics.Specify_the_output_directory_for_generated_declaration_files */,
1213
1212
  affects: Affects.DeclarationPath | Affects.BuildInfo | Affects.Emit,
1214
1213
  },
1215
1214
  {
1216
1215
  name: 'skipLibCheck',
1217
1216
  kind: 'boolean',
1218
- category: 1409 /* Diagnostics.Completeness */,
1219
- description: 1614 /* Diagnostics.Skip_type_checking_all_d_ts_files */,
1217
+ category: 1420 /* Diagnostics.Completeness */,
1218
+ description: 1625 /* Diagnostics.Skip_type_checking_all_d_ts_files */,
1220
1219
  defaultValueDescription: false,
1221
1220
  affects: Affects.BuildInfo,
1222
1221
  },
1223
1222
  {
1224
1223
  name: 'allowUnusedLabels',
1225
1224
  kind: 'boolean',
1226
- category: 1400 /* Diagnostics.Type_Checking */,
1227
- description: 1526 /* Diagnostics.Disable_error_reporting_for_unused_labels */,
1225
+ category: 1411 /* Diagnostics.Type_Checking */,
1226
+ description: 1537 /* Diagnostics.Disable_error_reporting_for_unused_labels */,
1228
1227
  defaultValueDescription: 'undefined',
1229
1228
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo | Affects.BindDiagnostics,
1230
1229
  },
1231
1230
  {
1232
1231
  name: 'allowUnreachableCode',
1233
1232
  kind: 'boolean',
1234
- category: 1400 /* Diagnostics.Type_Checking */,
1235
- description: 1525 /* Diagnostics.Disable_error_reporting_for_unreachable_code */,
1233
+ category: 1411 /* Diagnostics.Type_Checking */,
1234
+ description: 1536 /* Diagnostics.Disable_error_reporting_for_unreachable_code */,
1236
1235
  defaultValueDescription: 'undefined',
1237
1236
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo | Affects.BindDiagnostics,
1238
1237
  },
1239
1238
  {
1240
1239
  name: 'forceConsistentCasingInFileNames',
1241
1240
  kind: 'boolean',
1242
- category: 1404 /* Diagnostics.Interop_Constraints */,
1243
- description: 1558 /* Diagnostics.Ensure_that_casing_is_correct_in_imports */,
1241
+ category: 1415 /* Diagnostics.Interop_Constraints */,
1242
+ description: 1569 /* Diagnostics.Ensure_that_casing_is_correct_in_imports */,
1244
1243
  defaultValueDescription: true,
1245
1244
  affects: Affects.ModuleResolution,
1246
1245
  },
1247
1246
  {
1248
1247
  name: 'maxNodeModuleJsDepth',
1249
1248
  kind: 'number',
1250
- category: 1399 /* Diagnostics.JavaScript_Support */,
1251
- description: 1577 /* Diagnostics.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs */,
1249
+ category: 1410 /* Diagnostics.JavaScript_Support */,
1250
+ description: 1588 /* Diagnostics.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs */,
1252
1251
  defaultValueDescription: 0,
1253
1252
  affects: Affects.ModuleResolution,
1254
1253
  },
1255
1254
  {
1256
1255
  name: 'useDefineForClassFields',
1257
1256
  kind: 'boolean',
1258
- category: 1406 /* Diagnostics.Language_and_Environment */,
1259
- description: 1631 /* Diagnostics.Emit_ECMAScript_standard_compliant_class_fields */,
1260
- defaultValueMessage: 1675 /* Diagnostics.X_true_for_ES2022_and_above_including_ESNext */,
1257
+ category: 1417 /* Diagnostics.Language_and_Environment */,
1258
+ description: 1642 /* Diagnostics.Emit_ECMAScript_standard_compliant_class_fields */,
1259
+ defaultValueMessage: 1686 /* Diagnostics.X_true_for_ES2022_and_above_including_ESNext */,
1261
1260
  affects: Affects.SemanticDiagnostics | Affects.BuildInfo | Affects.Emit,
1262
1261
  },
1263
1262
  {
@@ -1268,16 +1267,16 @@ export const optionsForCompiler = [
1268
1267
  kind: 'object',
1269
1268
  },
1270
1269
  isTSConfigOnly: true,
1271
- category: 1401 /* Diagnostics.Editor_Support */,
1272
- description: 1602 /* Diagnostics.Specify_a_list_of_language_service_plugins_to_include */,
1270
+ category: 1412 /* Diagnostics.Editor_Support */,
1271
+ description: 1613 /* Diagnostics.Specify_a_list_of_language_service_plugins_to_include */,
1273
1272
  },
1274
1273
  {
1275
1274
  name: 'moduleDetection',
1276
1275
  kind: 'enum',
1277
1276
  values: moduleDetectionValues,
1278
- category: 1406 /* Diagnostics.Language_and_Environment */,
1279
- description: 390 /* Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files */,
1280
- defaultValueMessage: 391 /* Diagnostics.X_auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules */,
1277
+ category: 1417 /* Diagnostics.Language_and_Environment */,
1278
+ description: 388 /* Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files */,
1279
+ defaultValueMessage: 389 /* Diagnostics.X_auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules */,
1281
1280
  affects: Affects.SourceFile | Affects.ModuleResolution,
1282
1281
  },
1283
1282
  {
@@ -1293,113 +1292,48 @@ export const optionsForBuild = [
1293
1292
  name: 'verbose',
1294
1293
  shortName: 'v',
1295
1294
  kind: 'boolean',
1296
- category: 1334 /* Diagnostics.Command_line_Options */,
1297
- description: 1632 /* Diagnostics.Enable_verbose_logging */,
1295
+ category: 1345 /* Diagnostics.Command_line_Options */,
1296
+ description: 1643 /* Diagnostics.Enable_verbose_logging */,
1298
1297
  defaultValueDescription: false,
1299
1298
  },
1300
1299
  {
1301
1300
  name: 'dry',
1302
1301
  shortName: 'd',
1303
1302
  kind: 'boolean',
1304
- category: 1334 /* Diagnostics.Command_line_Options */,
1305
- description: 1463 /* Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean */,
1303
+ category: 1345 /* Diagnostics.Command_line_Options */,
1304
+ description: 1474 /* Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean */,
1306
1305
  defaultValueDescription: false,
1307
1306
  },
1308
1307
  {
1309
1308
  name: 'force',
1310
1309
  shortName: 'f',
1311
1310
  kind: 'boolean',
1312
- category: 1334 /* Diagnostics.Command_line_Options */,
1313
- description: 1557 /* Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date */,
1311
+ category: 1345 /* Diagnostics.Command_line_Options */,
1312
+ description: 1568 /* Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date */,
1314
1313
  defaultValueDescription: false,
1315
1314
  },
1316
1315
  {
1317
1316
  name: 'clean',
1318
1317
  kind: 'boolean',
1319
- category: 1334 /* Diagnostics.Command_line_Options */,
1320
- description: 1462 /* Diagnostics.Delete_the_outputs_of_all_projects */,
1318
+ category: 1345 /* Diagnostics.Command_line_Options */,
1319
+ description: 1473 /* Diagnostics.Delete_the_outputs_of_all_projects */,
1321
1320
  defaultValueDescription: false,
1322
1321
  },
1323
1322
  {
1324
1323
  name: 'builders',
1325
1324
  kind: 'number',
1326
- category: 1334 /* Diagnostics.Command_line_Options */,
1327
- description: 2144 /* Diagnostics.Set_the_number_of_projects_to_build_concurrently */,
1328
- defaultValueMessage: 2139 /* Diagnostics.X_4_unless_singleThreaded_is_passed */,
1325
+ category: 1345 /* Diagnostics.Command_line_Options */,
1326
+ description: 1694 /* Diagnostics.Set_the_number_of_projects_to_build_concurrently */,
1327
+ defaultValueMessage: 1693 /* Diagnostics.X_4_unless_singleThreaded_is_passed */,
1329
1328
  minValue: 1,
1330
1329
  },
1331
1330
  {
1332
1331
  name: 'stopBuildOnErrors',
1333
1332
  kind: 'boolean',
1334
- category: 1334 /* Diagnostics.Command_line_Options */,
1335
- description: 1561 /* Diagnostics.Skip_building_downstream_projects_on_error_in_upstream_project */,
1336
- defaultValueDescription: false,
1337
- },
1338
- ];
1339
- /** Watch options, accepted on the command line and in `watchOptions`. */
1340
- export const optionsForWatch = [
1341
- {
1342
- name: 'watchInterval',
1343
- kind: 'number',
1344
- category: 1402 /* Diagnostics.Watch_and_Build_Modes */,
1345
- },
1346
- {
1347
- name: 'watchFile',
1348
- kind: 'enum',
1349
- values: watchFileValues,
1350
- category: 1402 /* Diagnostics.Watch_and_Build_Modes */,
1351
- description: 1634 /* Diagnostics.Specify_how_the_TypeScript_watch_mode_works */,
1352
- defaultValueDescription: WatchFileKind.UseFsEvents,
1353
- },
1354
- {
1355
- name: 'watchDirectory',
1356
- kind: 'enum',
1357
- values: watchDirectoryValues,
1358
- category: 1402 /* Diagnostics.Watch_and_Build_Modes */,
1359
- description: 1633 /* Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality */,
1360
- defaultValueDescription: WatchDirectoryKind.UseFsEvents,
1361
- },
1362
- {
1363
- name: 'fallbackPolling',
1364
- kind: 'enum',
1365
- values: fallbackPollingValues,
1366
- category: 1402 /* Diagnostics.Watch_and_Build_Modes */,
1367
- description: 1555 /* Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers */,
1368
- defaultValueDescription: PollingKind.PriorityInterval,
1369
- },
1370
- {
1371
- name: 'synchronousWatchDirectory',
1372
- kind: 'boolean',
1373
- category: 1402 /* Diagnostics.Watch_and_Build_Modes */,
1374
- description: 1624 /* Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively */,
1333
+ category: 1345 /* Diagnostics.Command_line_Options */,
1334
+ description: 1572 /* Diagnostics.Skip_building_downstream_projects_on_error_in_upstream_project */,
1375
1335
  defaultValueDescription: false,
1376
1336
  },
1377
- {
1378
- name: 'excludeDirectories',
1379
- kind: 'list',
1380
- element: {
1381
- name: 'excludeDirectory',
1382
- kind: 'string',
1383
- isFilePath: true,
1384
- extraValidation: 'spec',
1385
- },
1386
- category: 1402 /* Diagnostics.Watch_and_Build_Modes */,
1387
- description: 1549 /* Diagnostics.Remove_a_list_of_directories_from_the_watch_process */,
1388
- allowConfigDirTemplateSubstitution: true,
1389
- },
1390
- {
1391
- name: 'excludeFiles',
1392
- kind: 'list',
1393
- element: {
1394
- name: 'excludeFile',
1395
- kind: 'string',
1396
- isFilePath: true,
1397
- extraValidation: 'spec',
1398
- },
1399
- category: 1402 /* Diagnostics.Watch_and_Build_Modes */,
1400
- description: 1550 /* Diagnostics.Remove_a_list_of_files_from_the_watch_mode_s_processing */,
1401
- allowConfigDirTemplateSubstitution: true,
1402
- },
1403
1337
  ];
1404
1338
  /** Keys of `typeAcquisition` in tsconfig.json. */
1405
1339
  export const typeAcquisitionDeclarations = [
@@ -1448,6 +1382,13 @@ export class OptionNameMap {
1448
1382
  get(name) {
1449
1383
  return this.byName.get(name.toLowerCase());
1450
1384
  }
1385
+ /** The declared names, for spelling suggestions. */
1386
+ names() {
1387
+ const names = [];
1388
+ for (const declaration of this.byName.values())
1389
+ names.push(declaration.name);
1390
+ return names;
1391
+ }
1451
1392
  /** Looks up `name`, or with `allowShort` the option it abbreviates. */
1452
1393
  find(name, allowShort) {
1453
1394
  const lower = name.toLowerCase();
@@ -1457,4 +1398,3 @@ export class OptionNameMap {
1457
1398
  }
1458
1399
  export const compilerOptionsByName = new OptionNameMap(optionDeclarations);
1459
1400
  export const buildOptionsByName = new OptionNameMap(buildOptionDeclarations);
1460
- export const watchOptionsByName = new OptionNameMap(optionsForWatch);