@esportsplus/typescript 0.8.3 → 0.8.4

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 (504) hide show
  1. package/node_modules/.package-lock.json +481 -0
  2. package/node_modules/@nodelib/fs.scandir/LICENSE +21 -0
  3. package/node_modules/@nodelib/fs.scandir/README.md +171 -0
  4. package/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  5. package/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +19 -0
  6. package/node_modules/@nodelib/fs.scandir/out/constants.d.ts +4 -0
  7. package/node_modules/@nodelib/fs.scandir/out/constants.js +17 -0
  8. package/node_modules/@nodelib/fs.scandir/out/index.d.ts +12 -0
  9. package/node_modules/@nodelib/fs.scandir/out/index.js +26 -0
  10. package/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  11. package/node_modules/@nodelib/fs.scandir/out/providers/async.js +104 -0
  12. package/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +1 -0
  13. package/node_modules/@nodelib/fs.scandir/out/providers/common.js +13 -0
  14. package/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +5 -0
  15. package/node_modules/@nodelib/fs.scandir/out/providers/sync.js +54 -0
  16. package/node_modules/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  17. package/node_modules/@nodelib/fs.scandir/out/settings.js +24 -0
  18. package/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  19. package/node_modules/@nodelib/fs.scandir/out/types/index.js +2 -0
  20. package/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +2 -0
  21. package/node_modules/@nodelib/fs.scandir/out/utils/fs.js +19 -0
  22. package/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +2 -0
  23. package/node_modules/@nodelib/fs.scandir/out/utils/index.js +5 -0
  24. package/node_modules/@nodelib/fs.scandir/package.json +44 -0
  25. package/node_modules/@nodelib/fs.stat/LICENSE +21 -0
  26. package/node_modules/@nodelib/fs.stat/README.md +126 -0
  27. package/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  28. package/node_modules/@nodelib/fs.stat/out/adapters/fs.js +17 -0
  29. package/node_modules/@nodelib/fs.stat/out/index.d.ts +12 -0
  30. package/node_modules/@nodelib/fs.stat/out/index.js +26 -0
  31. package/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  32. package/node_modules/@nodelib/fs.stat/out/providers/async.js +36 -0
  33. package/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +3 -0
  34. package/node_modules/@nodelib/fs.stat/out/providers/sync.js +23 -0
  35. package/node_modules/@nodelib/fs.stat/out/settings.d.ts +16 -0
  36. package/node_modules/@nodelib/fs.stat/out/settings.js +16 -0
  37. package/node_modules/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  38. package/node_modules/@nodelib/fs.stat/out/types/index.js +2 -0
  39. package/node_modules/@nodelib/fs.stat/package.json +37 -0
  40. package/node_modules/@nodelib/fs.walk/LICENSE +21 -0
  41. package/node_modules/@nodelib/fs.walk/README.md +215 -0
  42. package/node_modules/@nodelib/fs.walk/out/index.d.ts +14 -0
  43. package/node_modules/@nodelib/fs.walk/out/index.js +34 -0
  44. package/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  45. package/node_modules/@nodelib/fs.walk/out/providers/async.js +30 -0
  46. package/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +4 -0
  47. package/node_modules/@nodelib/fs.walk/out/providers/index.js +9 -0
  48. package/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +12 -0
  49. package/node_modules/@nodelib/fs.walk/out/providers/stream.js +34 -0
  50. package/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +10 -0
  51. package/node_modules/@nodelib/fs.walk/out/providers/sync.js +14 -0
  52. package/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  53. package/node_modules/@nodelib/fs.walk/out/readers/async.js +97 -0
  54. package/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +7 -0
  55. package/node_modules/@nodelib/fs.walk/out/readers/common.js +31 -0
  56. package/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  57. package/node_modules/@nodelib/fs.walk/out/readers/reader.js +11 -0
  58. package/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +15 -0
  59. package/node_modules/@nodelib/fs.walk/out/readers/sync.js +59 -0
  60. package/node_modules/@nodelib/fs.walk/out/settings.d.ts +30 -0
  61. package/node_modules/@nodelib/fs.walk/out/settings.js +26 -0
  62. package/node_modules/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  63. package/node_modules/@nodelib/fs.walk/out/types/index.js +2 -0
  64. package/node_modules/@nodelib/fs.walk/package.json +44 -0
  65. package/node_modules/anymatch/LICENSE +15 -0
  66. package/node_modules/anymatch/README.md +87 -0
  67. package/node_modules/anymatch/index.d.ts +20 -0
  68. package/node_modules/anymatch/index.js +104 -0
  69. package/node_modules/anymatch/package.json +48 -0
  70. package/node_modules/array-union/index.d.ts +25 -0
  71. package/node_modules/array-union/index.js +5 -0
  72. package/node_modules/array-union/license +9 -0
  73. package/node_modules/array-union/package.json +38 -0
  74. package/node_modules/array-union/readme.md +34 -0
  75. package/node_modules/binary-extensions/binary-extensions.json +263 -0
  76. package/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
  77. package/node_modules/binary-extensions/index.d.ts +14 -0
  78. package/node_modules/binary-extensions/index.js +1 -0
  79. package/node_modules/binary-extensions/license +10 -0
  80. package/node_modules/binary-extensions/package.json +40 -0
  81. package/node_modules/binary-extensions/readme.md +25 -0
  82. package/node_modules/braces/LICENSE +21 -0
  83. package/node_modules/braces/README.md +586 -0
  84. package/node_modules/braces/index.js +170 -0
  85. package/node_modules/braces/lib/compile.js +60 -0
  86. package/node_modules/braces/lib/constants.js +57 -0
  87. package/node_modules/braces/lib/expand.js +113 -0
  88. package/node_modules/braces/lib/parse.js +331 -0
  89. package/node_modules/braces/lib/stringify.js +32 -0
  90. package/node_modules/braces/lib/utils.js +122 -0
  91. package/node_modules/braces/package.json +77 -0
  92. package/node_modules/chokidar/LICENSE +21 -0
  93. package/node_modules/chokidar/README.md +308 -0
  94. package/node_modules/chokidar/index.js +973 -0
  95. package/node_modules/chokidar/lib/constants.js +66 -0
  96. package/node_modules/chokidar/lib/fsevents-handler.js +526 -0
  97. package/node_modules/chokidar/lib/nodefs-handler.js +654 -0
  98. package/node_modules/chokidar/package.json +70 -0
  99. package/node_modules/chokidar/types/index.d.ts +192 -0
  100. package/node_modules/commander/LICENSE +22 -0
  101. package/node_modules/commander/Readme.md +1129 -0
  102. package/node_modules/commander/esm.mjs +16 -0
  103. package/node_modules/commander/index.js +27 -0
  104. package/node_modules/commander/lib/argument.js +147 -0
  105. package/node_modules/commander/lib/command.js +2179 -0
  106. package/node_modules/commander/lib/error.js +45 -0
  107. package/node_modules/commander/lib/help.js +461 -0
  108. package/node_modules/commander/lib/option.js +326 -0
  109. package/node_modules/commander/lib/suggestSimilar.js +100 -0
  110. package/node_modules/commander/package-support.json +16 -0
  111. package/node_modules/commander/package.json +80 -0
  112. package/node_modules/commander/typings/index.d.ts +891 -0
  113. package/node_modules/dir-glob/index.js +75 -0
  114. package/node_modules/dir-glob/license +9 -0
  115. package/node_modules/dir-glob/package.json +38 -0
  116. package/node_modules/dir-glob/readme.md +76 -0
  117. package/node_modules/fast-glob/LICENSE +21 -0
  118. package/node_modules/fast-glob/README.md +830 -0
  119. package/node_modules/fast-glob/out/index.d.ts +40 -0
  120. package/node_modules/fast-glob/out/index.js +102 -0
  121. package/node_modules/fast-glob/out/managers/tasks.d.ts +22 -0
  122. package/node_modules/fast-glob/out/managers/tasks.js +110 -0
  123. package/node_modules/fast-glob/out/providers/async.d.ts +9 -0
  124. package/node_modules/fast-glob/out/providers/async.js +23 -0
  125. package/node_modules/fast-glob/out/providers/filters/deep.d.ts +16 -0
  126. package/node_modules/fast-glob/out/providers/filters/deep.js +62 -0
  127. package/node_modules/fast-glob/out/providers/filters/entry.d.ts +17 -0
  128. package/node_modules/fast-glob/out/providers/filters/entry.js +85 -0
  129. package/node_modules/fast-glob/out/providers/filters/error.d.ts +8 -0
  130. package/node_modules/fast-glob/out/providers/filters/error.js +15 -0
  131. package/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +33 -0
  132. package/node_modules/fast-glob/out/providers/matchers/matcher.js +45 -0
  133. package/node_modules/fast-glob/out/providers/matchers/partial.d.ts +4 -0
  134. package/node_modules/fast-glob/out/providers/matchers/partial.js +38 -0
  135. package/node_modules/fast-glob/out/providers/provider.d.ts +19 -0
  136. package/node_modules/fast-glob/out/providers/provider.js +48 -0
  137. package/node_modules/fast-glob/out/providers/stream.d.ts +11 -0
  138. package/node_modules/fast-glob/out/providers/stream.js +31 -0
  139. package/node_modules/fast-glob/out/providers/sync.d.ts +9 -0
  140. package/node_modules/fast-glob/out/providers/sync.js +23 -0
  141. package/node_modules/fast-glob/out/providers/transformers/entry.d.ts +8 -0
  142. package/node_modules/fast-glob/out/providers/transformers/entry.js +26 -0
  143. package/node_modules/fast-glob/out/readers/async.d.ts +10 -0
  144. package/node_modules/fast-glob/out/readers/async.js +35 -0
  145. package/node_modules/fast-glob/out/readers/reader.d.ts +15 -0
  146. package/node_modules/fast-glob/out/readers/reader.js +33 -0
  147. package/node_modules/fast-glob/out/readers/stream.d.ts +14 -0
  148. package/node_modules/fast-glob/out/readers/stream.js +55 -0
  149. package/node_modules/fast-glob/out/readers/sync.d.ts +12 -0
  150. package/node_modules/fast-glob/out/readers/sync.js +43 -0
  151. package/node_modules/fast-glob/out/settings.d.ts +164 -0
  152. package/node_modules/fast-glob/out/settings.js +59 -0
  153. package/node_modules/fast-glob/out/types/index.d.ts +31 -0
  154. package/node_modules/fast-glob/out/types/index.js +2 -0
  155. package/node_modules/fast-glob/out/utils/array.d.ts +2 -0
  156. package/node_modules/fast-glob/out/utils/array.js +22 -0
  157. package/node_modules/fast-glob/out/utils/errno.d.ts +2 -0
  158. package/node_modules/fast-glob/out/utils/errno.js +7 -0
  159. package/node_modules/fast-glob/out/utils/fs.d.ts +4 -0
  160. package/node_modules/fast-glob/out/utils/fs.js +19 -0
  161. package/node_modules/fast-glob/out/utils/index.d.ts +8 -0
  162. package/node_modules/fast-glob/out/utils/index.js +17 -0
  163. package/node_modules/fast-glob/out/utils/path.d.ts +13 -0
  164. package/node_modules/fast-glob/out/utils/path.js +68 -0
  165. package/node_modules/fast-glob/out/utils/pattern.d.ts +49 -0
  166. package/node_modules/fast-glob/out/utils/pattern.js +206 -0
  167. package/node_modules/fast-glob/out/utils/stream.d.ts +4 -0
  168. package/node_modules/fast-glob/out/utils/stream.js +17 -0
  169. package/node_modules/fast-glob/out/utils/string.d.ts +2 -0
  170. package/node_modules/fast-glob/out/utils/string.js +11 -0
  171. package/node_modules/fast-glob/package.json +81 -0
  172. package/node_modules/fastq/.github/dependabot.yml +11 -0
  173. package/node_modules/fastq/.github/workflows/ci.yml +75 -0
  174. package/node_modules/fastq/LICENSE +13 -0
  175. package/node_modules/fastq/README.md +312 -0
  176. package/node_modules/fastq/SECURITY.md +15 -0
  177. package/node_modules/fastq/bench.js +66 -0
  178. package/node_modules/fastq/example.js +14 -0
  179. package/node_modules/fastq/example.mjs +11 -0
  180. package/node_modules/fastq/index.d.ts +57 -0
  181. package/node_modules/fastq/package.json +53 -0
  182. package/node_modules/fastq/queue.js +311 -0
  183. package/node_modules/fastq/test/example.ts +83 -0
  184. package/node_modules/fastq/test/promise.js +291 -0
  185. package/node_modules/fastq/test/test.js +653 -0
  186. package/node_modules/fastq/test/tsconfig.json +11 -0
  187. package/node_modules/fill-range/LICENSE +21 -0
  188. package/node_modules/fill-range/README.md +237 -0
  189. package/node_modules/fill-range/index.js +248 -0
  190. package/node_modules/fill-range/package.json +74 -0
  191. package/node_modules/get-tsconfig/LICENSE +21 -0
  192. package/node_modules/get-tsconfig/README.md +235 -0
  193. package/node_modules/get-tsconfig/dist/index.cjs +7 -0
  194. package/node_modules/get-tsconfig/dist/index.d.cts +1439 -0
  195. package/node_modules/get-tsconfig/dist/index.d.mts +1439 -0
  196. package/node_modules/get-tsconfig/dist/index.mjs +7 -0
  197. package/node_modules/get-tsconfig/package.json +46 -0
  198. package/node_modules/glob-parent/CHANGELOG.md +110 -0
  199. package/node_modules/glob-parent/LICENSE +15 -0
  200. package/node_modules/glob-parent/README.md +137 -0
  201. package/node_modules/glob-parent/index.js +42 -0
  202. package/node_modules/glob-parent/package.json +48 -0
  203. package/node_modules/globby/gitignore.js +120 -0
  204. package/node_modules/globby/index.d.ts +186 -0
  205. package/node_modules/globby/index.js +181 -0
  206. package/node_modules/globby/license +9 -0
  207. package/node_modules/globby/package.json +82 -0
  208. package/node_modules/globby/readme.md +170 -0
  209. package/node_modules/globby/stream-utils.js +46 -0
  210. package/node_modules/ignore/LICENSE-MIT +21 -0
  211. package/node_modules/ignore/README.md +412 -0
  212. package/node_modules/ignore/index.d.ts +61 -0
  213. package/node_modules/ignore/index.js +636 -0
  214. package/node_modules/ignore/legacy.js +559 -0
  215. package/node_modules/ignore/package.json +74 -0
  216. package/node_modules/is-binary-path/index.d.ts +17 -0
  217. package/node_modules/is-binary-path/index.js +7 -0
  218. package/node_modules/is-binary-path/license +9 -0
  219. package/node_modules/is-binary-path/package.json +40 -0
  220. package/node_modules/is-binary-path/readme.md +34 -0
  221. package/node_modules/is-extglob/LICENSE +21 -0
  222. package/node_modules/is-extglob/README.md +107 -0
  223. package/node_modules/is-extglob/index.js +20 -0
  224. package/node_modules/is-extglob/package.json +69 -0
  225. package/node_modules/is-glob/LICENSE +21 -0
  226. package/node_modules/is-glob/README.md +206 -0
  227. package/node_modules/is-glob/index.js +150 -0
  228. package/node_modules/is-glob/package.json +81 -0
  229. package/node_modules/is-number/LICENSE +21 -0
  230. package/node_modules/is-number/README.md +187 -0
  231. package/node_modules/is-number/index.js +18 -0
  232. package/node_modules/is-number/package.json +82 -0
  233. package/node_modules/merge2/LICENSE +21 -0
  234. package/node_modules/merge2/README.md +144 -0
  235. package/node_modules/merge2/index.js +144 -0
  236. package/node_modules/merge2/package.json +43 -0
  237. package/node_modules/micromatch/LICENSE +21 -0
  238. package/node_modules/micromatch/README.md +1024 -0
  239. package/node_modules/micromatch/index.js +474 -0
  240. package/node_modules/micromatch/package.json +119 -0
  241. package/node_modules/mylas/LICENSE +21 -0
  242. package/node_modules/mylas/README.md +39 -0
  243. package/node_modules/mylas/build/chunk-3EDNT3AM.js +1 -0
  244. package/node_modules/mylas/build/chunk-M3H36CX2.js +3 -0
  245. package/node_modules/mylas/build/index.d.ts +22 -0
  246. package/node_modules/mylas/build/index.js +1 -0
  247. package/node_modules/mylas/build/interfaces.d.ts +201 -0
  248. package/node_modules/mylas/build/register.d.ts +9 -0
  249. package/node_modules/mylas/build/register.js +1 -0
  250. package/node_modules/mylas/build/worker.js +1 -0
  251. package/node_modules/mylas/package.json +65 -0
  252. package/node_modules/normalize-path/LICENSE +21 -0
  253. package/node_modules/normalize-path/README.md +127 -0
  254. package/node_modules/normalize-path/index.js +35 -0
  255. package/node_modules/normalize-path/package.json +77 -0
  256. package/node_modules/path-type/index.d.ts +51 -0
  257. package/node_modules/path-type/index.js +43 -0
  258. package/node_modules/path-type/license +9 -0
  259. package/node_modules/path-type/package.json +45 -0
  260. package/node_modules/path-type/readme.md +72 -0
  261. package/node_modules/picomatch/CHANGELOG.md +136 -0
  262. package/node_modules/picomatch/LICENSE +21 -0
  263. package/node_modules/picomatch/README.md +708 -0
  264. package/node_modules/picomatch/index.js +3 -0
  265. package/node_modules/picomatch/lib/constants.js +179 -0
  266. package/node_modules/picomatch/lib/parse.js +1091 -0
  267. package/node_modules/picomatch/lib/picomatch.js +342 -0
  268. package/node_modules/picomatch/lib/scan.js +391 -0
  269. package/node_modules/picomatch/lib/utils.js +64 -0
  270. package/node_modules/picomatch/package.json +81 -0
  271. package/node_modules/plimit-lit/LICENSE +21 -0
  272. package/node_modules/plimit-lit/README.md +99 -0
  273. package/node_modules/plimit-lit/dist/index.d.ts +6 -0
  274. package/node_modules/plimit-lit/dist/plimit-lit.cjs +91 -0
  275. package/node_modules/plimit-lit/dist/plimit-lit.modern.js +91 -0
  276. package/node_modules/plimit-lit/dist/plimit-lit.module.js +91 -0
  277. package/node_modules/plimit-lit/package.json +55 -0
  278. package/node_modules/queue-lit/LICENSE +21 -0
  279. package/node_modules/queue-lit/README.md +93 -0
  280. package/node_modules/queue-lit/dist/index.d.ts +34 -0
  281. package/node_modules/queue-lit/dist/queue-lit.cjs +110 -0
  282. package/node_modules/queue-lit/dist/queue-lit.modern.js +110 -0
  283. package/node_modules/queue-lit/dist/queue-lit.module.js +110 -0
  284. package/node_modules/queue-lit/package.json +53 -0
  285. package/node_modules/queue-microtask/LICENSE +20 -0
  286. package/node_modules/queue-microtask/README.md +90 -0
  287. package/node_modules/queue-microtask/index.d.ts +2 -0
  288. package/node_modules/queue-microtask/index.js +9 -0
  289. package/node_modules/queue-microtask/package.json +55 -0
  290. package/node_modules/readdirp/LICENSE +21 -0
  291. package/node_modules/readdirp/README.md +122 -0
  292. package/node_modules/readdirp/index.d.ts +43 -0
  293. package/node_modules/readdirp/index.js +287 -0
  294. package/node_modules/readdirp/package.json +122 -0
  295. package/node_modules/resolve-pkg-maps/LICENSE +21 -0
  296. package/node_modules/resolve-pkg-maps/README.md +216 -0
  297. package/node_modules/resolve-pkg-maps/dist/index.cjs +1 -0
  298. package/node_modules/resolve-pkg-maps/dist/index.d.cts +11 -0
  299. package/node_modules/resolve-pkg-maps/dist/index.d.mts +11 -0
  300. package/node_modules/resolve-pkg-maps/dist/index.mjs +1 -0
  301. package/node_modules/resolve-pkg-maps/package.json +42 -0
  302. package/node_modules/reusify/.github/dependabot.yml +7 -0
  303. package/node_modules/reusify/.github/workflows/ci.yml +96 -0
  304. package/node_modules/reusify/LICENSE +22 -0
  305. package/node_modules/reusify/README.md +139 -0
  306. package/node_modules/reusify/SECURITY.md +15 -0
  307. package/node_modules/reusify/benchmarks/createNoCodeFunction.js +30 -0
  308. package/node_modules/reusify/benchmarks/fib.js +13 -0
  309. package/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +38 -0
  310. package/node_modules/reusify/eslint.config.js +14 -0
  311. package/node_modules/reusify/package.json +50 -0
  312. package/node_modules/reusify/reusify.d.ts +14 -0
  313. package/node_modules/reusify/reusify.js +33 -0
  314. package/node_modules/reusify/test.js +66 -0
  315. package/node_modules/reusify/tsconfig.json +11 -0
  316. package/node_modules/run-parallel/LICENSE +20 -0
  317. package/node_modules/run-parallel/README.md +85 -0
  318. package/node_modules/run-parallel/index.js +51 -0
  319. package/node_modules/run-parallel/package.json +58 -0
  320. package/node_modules/slash/index.d.ts +25 -0
  321. package/node_modules/slash/index.js +11 -0
  322. package/node_modules/slash/license +9 -0
  323. package/node_modules/slash/package.json +35 -0
  324. package/node_modules/slash/readme.md +44 -0
  325. package/node_modules/to-regex-range/LICENSE +21 -0
  326. package/node_modules/to-regex-range/README.md +305 -0
  327. package/node_modules/to-regex-range/index.js +288 -0
  328. package/node_modules/to-regex-range/package.json +88 -0
  329. package/node_modules/tsc-alias/LICENSE +21 -0
  330. package/node_modules/tsc-alias/README.md +184 -0
  331. package/node_modules/tsc-alias/dist/bin/index.d.ts +2 -0
  332. package/node_modules/tsc-alias/dist/bin/index.js +39 -0
  333. package/node_modules/tsc-alias/dist/bin/index.js.map +1 -0
  334. package/node_modules/tsc-alias/dist/helpers/config.d.ts +5 -0
  335. package/node_modules/tsc-alias/dist/helpers/config.js +181 -0
  336. package/node_modules/tsc-alias/dist/helpers/config.js.map +1 -0
  337. package/node_modules/tsc-alias/dist/helpers/index.d.ts +3 -0
  338. package/node_modules/tsc-alias/dist/helpers/index.js +20 -0
  339. package/node_modules/tsc-alias/dist/helpers/index.js.map +1 -0
  340. package/node_modules/tsc-alias/dist/helpers/path.d.ts +3 -0
  341. package/node_modules/tsc-alias/dist/helpers/path.js +73 -0
  342. package/node_modules/tsc-alias/dist/helpers/path.js.map +1 -0
  343. package/node_modules/tsc-alias/dist/helpers/replacers.d.ts +4 -0
  344. package/node_modules/tsc-alias/dist/helpers/replacers.js +150 -0
  345. package/node_modules/tsc-alias/dist/helpers/replacers.js.map +1 -0
  346. package/node_modules/tsc-alias/dist/index.d.ts +8 -0
  347. package/node_modules/tsc-alias/dist/index.js +74 -0
  348. package/node_modules/tsc-alias/dist/index.js.map +1 -0
  349. package/node_modules/tsc-alias/dist/interfaces.d.ts +87 -0
  350. package/node_modules/tsc-alias/dist/interfaces.js +3 -0
  351. package/node_modules/tsc-alias/dist/interfaces.js.map +1 -0
  352. package/node_modules/tsc-alias/dist/replacers/base-url.replacer.d.ts +2 -0
  353. package/node_modules/tsc-alias/dist/replacers/base-url.replacer.js +33 -0
  354. package/node_modules/tsc-alias/dist/replacers/base-url.replacer.js.map +1 -0
  355. package/node_modules/tsc-alias/dist/replacers/default.replacer.d.ts +2 -0
  356. package/node_modules/tsc-alias/dist/replacers/default.replacer.js +67 -0
  357. package/node_modules/tsc-alias/dist/replacers/default.replacer.js.map +1 -0
  358. package/node_modules/tsc-alias/dist/utils/import-path-resolver.d.ts +19 -0
  359. package/node_modules/tsc-alias/dist/utils/import-path-resolver.js +87 -0
  360. package/node_modules/tsc-alias/dist/utils/import-path-resolver.js.map +1 -0
  361. package/node_modules/tsc-alias/dist/utils/index.d.ts +4 -0
  362. package/node_modules/tsc-alias/dist/utils/index.js +21 -0
  363. package/node_modules/tsc-alias/dist/utils/index.js.map +1 -0
  364. package/node_modules/tsc-alias/dist/utils/output.d.ts +11 -0
  365. package/node_modules/tsc-alias/dist/utils/output.js +44 -0
  366. package/node_modules/tsc-alias/dist/utils/output.js.map +1 -0
  367. package/node_modules/tsc-alias/dist/utils/path-cache.d.ts +12 -0
  368. package/node_modules/tsc-alias/dist/utils/path-cache.js +74 -0
  369. package/node_modules/tsc-alias/dist/utils/path-cache.js.map +1 -0
  370. package/node_modules/tsc-alias/dist/utils/trie.d.ts +9 -0
  371. package/node_modules/tsc-alias/dist/utils/trie.js +81 -0
  372. package/node_modules/tsc-alias/dist/utils/trie.js.map +1 -0
  373. package/node_modules/tsc-alias/package.json +66 -0
  374. package/node_modules/typescript/LICENSE.txt +55 -0
  375. package/node_modules/typescript/README.md +50 -0
  376. package/node_modules/typescript/SECURITY.md +41 -0
  377. package/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  378. package/node_modules/typescript/bin/tsc +2 -0
  379. package/node_modules/typescript/bin/tsserver +2 -0
  380. package/node_modules/typescript/lib/_tsc.js +132810 -0
  381. package/node_modules/typescript/lib/_tsserver.js +659 -0
  382. package/node_modules/typescript/lib/_typingsInstaller.js +222 -0
  383. package/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2105 -0
  384. package/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2105 -0
  385. package/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2105 -0
  386. package/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2105 -0
  387. package/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2105 -0
  388. package/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2105 -0
  389. package/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2105 -0
  390. package/node_modules/typescript/lib/lib.d.ts +22 -0
  391. package/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
  392. package/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  393. package/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
  394. package/node_modules/typescript/lib/lib.dom.d.ts +29610 -0
  395. package/node_modules/typescript/lib/lib.dom.iterable.d.ts +493 -0
  396. package/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  397. package/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  398. package/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  399. package/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  400. package/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
  401. package/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  402. package/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  403. package/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  404. package/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  405. package/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  406. package/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  407. package/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  408. package/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  409. package/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  410. package/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
  411. package/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
  412. package/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  413. package/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  414. package/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  415. package/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  416. package/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  417. package/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  418. package/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  419. package/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  420. package/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
  421. package/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  422. package/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  423. package/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  424. package/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  425. package/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  426. package/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  427. package/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  428. package/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  429. package/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  430. package/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  431. package/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  432. package/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  433. package/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
  434. package/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  435. package/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  436. package/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  437. package/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  438. package/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  439. package/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  440. package/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
  441. package/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
  442. package/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  443. package/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  444. package/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  445. package/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  446. package/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  447. package/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  448. package/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
  449. package/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  450. package/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
  451. package/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
  452. package/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  453. package/node_modules/typescript/lib/lib.es2022.intl.d.ts +121 -0
  454. package/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  455. package/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  456. package/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  457. package/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  458. package/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  459. package/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  460. package/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  461. package/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  462. package/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
  463. package/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
  464. package/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
  465. package/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
  466. package/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
  467. package/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
  468. package/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
  469. package/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
  470. package/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
  471. package/node_modules/typescript/lib/lib.es5.d.ts +4594 -0
  472. package/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  473. package/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  474. package/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
  475. package/node_modules/typescript/lib/lib.esnext.d.ts +27 -0
  476. package/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  477. package/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
  478. package/node_modules/typescript/lib/lib.esnext.float16.d.ts +443 -0
  479. package/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  480. package/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  481. package/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
  482. package/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
  483. package/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  484. package/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
  485. package/node_modules/typescript/lib/lib.webworker.d.ts +9894 -0
  486. package/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  487. package/node_modules/typescript/lib/lib.webworker.iterable.d.ts +287 -0
  488. package/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2105 -0
  489. package/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2105 -0
  490. package/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2105 -0
  491. package/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2105 -0
  492. package/node_modules/typescript/lib/tsc.js +8 -0
  493. package/node_modules/typescript/lib/tsserver.js +8 -0
  494. package/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  495. package/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  496. package/node_modules/typescript/lib/typesMap.json +497 -0
  497. package/node_modules/typescript/lib/typescript.d.ts +11399 -0
  498. package/node_modules/typescript/lib/typescript.js +199120 -0
  499. package/node_modules/typescript/lib/typingsInstaller.js +8 -0
  500. package/node_modules/typescript/lib/watchGuard.js +53 -0
  501. package/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2105 -0
  502. package/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2105 -0
  503. package/node_modules/typescript/package.json +120 -0
  504. package/package.json +4 -2
@@ -0,0 +1,1439 @@
1
+ declare global {
2
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
3
+ interface SymbolConstructor {
4
+ readonly observable: symbol;
5
+ }
6
+ }
7
+
8
+ /**
9
+ Returns a boolean for whether the two given types are equal.
10
+
11
+ @link https://github.com/microsoft/TypeScript/issues/27024#issuecomment-421529650
12
+ @link https://stackoverflow.com/questions/68961864/how-does-the-equals-work-in-typescript/68963796#68963796
13
+
14
+ Use-cases:
15
+ - If you want to make a conditional branch based on the result of a comparison of two types.
16
+
17
+ @example
18
+ ```
19
+ import type {IsEqual} from 'type-fest';
20
+
21
+ // This type returns a boolean for whether the given array includes the given item.
22
+ // `IsEqual` is used to compare the given array at position 0 and the given item and then return true if they are equal.
23
+ type Includes<Value extends readonly any[], Item> =
24
+ Value extends readonly [Value[0], ...infer rest]
25
+ ? IsEqual<Value[0], Item> extends true
26
+ ? true
27
+ : Includes<rest, Item>
28
+ : false;
29
+ ```
30
+
31
+ @category Type Guard
32
+ @category Utilities
33
+ */
34
+ type IsEqual<A, B> =
35
+ (<G>() => G extends A & G | G ? 1 : 2) extends
36
+ (<G>() => G extends B & G | G ? 1 : 2)
37
+ ? true
38
+ : false;
39
+
40
+ /**
41
+ Filter out keys from an object.
42
+
43
+ Returns `never` if `Exclude` is strictly equal to `Key`.
44
+ Returns `never` if `Key` extends `Exclude`.
45
+ Returns `Key` otherwise.
46
+
47
+ @example
48
+ ```
49
+ type Filtered = Filter<'foo', 'foo'>;
50
+ //=> never
51
+ ```
52
+
53
+ @example
54
+ ```
55
+ type Filtered = Filter<'bar', string>;
56
+ //=> never
57
+ ```
58
+
59
+ @example
60
+ ```
61
+ type Filtered = Filter<'bar', 'foo'>;
62
+ //=> 'bar'
63
+ ```
64
+
65
+ @see {Except}
66
+ */
67
+ type Filter<KeyType, ExcludeType> = IsEqual<KeyType, ExcludeType> extends true ? never : (KeyType extends ExcludeType ? never : KeyType);
68
+
69
+ type ExceptOptions = {
70
+ /**
71
+ Disallow assigning non-specified properties.
72
+
73
+ Note that any omitted properties in the resulting type will be present in autocomplete as `undefined`.
74
+
75
+ @default false
76
+ */
77
+ requireExactProps?: boolean;
78
+ };
79
+
80
+ /**
81
+ Create a type from an object type without certain keys.
82
+
83
+ We recommend setting the `requireExactProps` option to `true`.
84
+
85
+ This type is a stricter version of [`Omit`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type). The `Omit` type does not restrict the omitted keys to be keys present on the given type, while `Except` does. The benefits of a stricter type are avoiding typos and allowing the compiler to pick up on rename refactors automatically.
86
+
87
+ This type was proposed to the TypeScript team, which declined it, saying they prefer that libraries implement stricter versions of the built-in types ([microsoft/TypeScript#30825](https://github.com/microsoft/TypeScript/issues/30825#issuecomment-523668235)).
88
+
89
+ @example
90
+ ```
91
+ import type {Except} from 'type-fest';
92
+
93
+ type Foo = {
94
+ a: number;
95
+ b: string;
96
+ };
97
+
98
+ type FooWithoutA = Except<Foo, 'a'>;
99
+ //=> {b: string}
100
+
101
+ const fooWithoutA: FooWithoutA = {a: 1, b: '2'};
102
+ //=> errors: 'a' does not exist in type '{ b: string; }'
103
+
104
+ type FooWithoutB = Except<Foo, 'b', {requireExactProps: true}>;
105
+ //=> {a: number} & Partial<Record<"b", never>>
106
+
107
+ const fooWithoutB: FooWithoutB = {a: 1, b: '2'};
108
+ //=> errors at 'b': Type 'string' is not assignable to type 'undefined'.
109
+ ```
110
+
111
+ @category Object
112
+ */
113
+ type Except<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions = {requireExactProps: false}> = {
114
+ [KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType];
115
+ } & (Options['requireExactProps'] extends true
116
+ ? Partial<Record<KeysType, never>>
117
+ : {});
118
+
119
+ declare namespace TsConfigJson {
120
+ namespace CompilerOptions {
121
+ export type JSX =
122
+ | 'preserve'
123
+ | 'react'
124
+ | 'react-jsx'
125
+ | 'react-jsxdev'
126
+ | 'react-native';
127
+
128
+ export type Module =
129
+ | 'CommonJS'
130
+ | 'AMD'
131
+ | 'System'
132
+ | 'UMD'
133
+ | 'ES6'
134
+ | 'ES2015'
135
+ | 'ES2020'
136
+ | 'ES2022'
137
+ | 'ESNext'
138
+ | 'Node16'
139
+ | 'NodeNext'
140
+ | 'Preserve'
141
+ | 'None'
142
+ // Lowercase alternatives
143
+ | 'commonjs'
144
+ | 'amd'
145
+ | 'system'
146
+ | 'umd'
147
+ | 'es6'
148
+ | 'es2015'
149
+ | 'es2020'
150
+ | 'es2022'
151
+ | 'esnext'
152
+ | 'node16'
153
+ | 'nodenext'
154
+ | 'preserve'
155
+ | 'none';
156
+
157
+ export type NewLine =
158
+ | 'CRLF'
159
+ | 'LF'
160
+ // Lowercase alternatives
161
+ | 'crlf'
162
+ | 'lf';
163
+
164
+ export type Target =
165
+ | 'ES3'
166
+ | 'ES5'
167
+ | 'ES6'
168
+ | 'ES2015'
169
+ | 'ES2016'
170
+ | 'ES2017'
171
+ | 'ES2018'
172
+ | 'ES2019'
173
+ | 'ES2020'
174
+ | 'ES2021'
175
+ | 'ES2022'
176
+ | 'ES2023'
177
+ | 'ES2024'
178
+ | 'ESNext'
179
+ // Lowercase alternatives
180
+ | 'es3'
181
+ | 'es5'
182
+ | 'es6'
183
+ | 'es2015'
184
+ | 'es2016'
185
+ | 'es2017'
186
+ | 'es2018'
187
+ | 'es2019'
188
+ | 'es2020'
189
+ | 'es2021'
190
+ | 'es2022'
191
+ | 'es2023'
192
+ | 'es2024'
193
+ | 'esnext';
194
+
195
+ // eslint-disable-next-line unicorn/prevent-abbreviations
196
+ export type Lib =
197
+ | 'ES5'
198
+ | 'ES6'
199
+ | 'ES7'
200
+ | 'ES2015'
201
+ | 'ES2015.Collection'
202
+ | 'ES2015.Core'
203
+ | 'ES2015.Generator'
204
+ | 'ES2015.Iterable'
205
+ | 'ES2015.Promise'
206
+ | 'ES2015.Proxy'
207
+ | 'ES2015.Reflect'
208
+ | 'ES2015.Symbol.WellKnown'
209
+ | 'ES2015.Symbol'
210
+ | 'ES2016'
211
+ | 'ES2016.Array.Include'
212
+ | 'ES2017'
213
+ | 'ES2017.ArrayBuffer'
214
+ | 'ES2017.Date'
215
+ | 'ES2017.Intl'
216
+ | 'ES2017.Object'
217
+ | 'ES2017.SharedMemory'
218
+ | 'ES2017.String'
219
+ | 'ES2017.TypedArrays'
220
+ | 'ES2018'
221
+ | 'ES2018.AsyncGenerator'
222
+ | 'ES2018.AsyncIterable'
223
+ | 'ES2018.Intl'
224
+ | 'ES2018.Promise'
225
+ | 'ES2018.Regexp'
226
+ | 'ES2019'
227
+ | 'ES2019.Array'
228
+ | 'ES2019.Object'
229
+ | 'ES2019.String'
230
+ | 'ES2019.Symbol'
231
+ | 'ES2020'
232
+ | 'ES2020.BigInt'
233
+ | 'ES2020.Promise'
234
+ | 'ES2020.String'
235
+ | 'ES2020.Symbol.WellKnown'
236
+ | 'ES2020.SharedMemory'
237
+ | 'ES2020.Intl'
238
+ | 'ES2021'
239
+ | 'ES2021.Intl'
240
+ | 'ES2021.Promise'
241
+ | 'ES2021.String'
242
+ | 'ES2021.WeakRef'
243
+ | 'ES2022'
244
+ | 'ES2022.Array'
245
+ | 'ES2022.Error'
246
+ | 'ES2022.Intl'
247
+ | 'ES2022.Object'
248
+ | 'ES2022.RegExp'
249
+ | 'ES2022.String'
250
+ | 'ES2023'
251
+ | 'ES2023.Array'
252
+ | 'ES2023.Collection'
253
+ | 'ES2023.Intl'
254
+ | 'ES2024'
255
+ | 'ES2024.ArrayBuffer'
256
+ | 'ES2024.Collection'
257
+ | 'ES2024.Object'
258
+ | 'ES2024.Promise'
259
+ | 'ES2024.Regexp'
260
+ | 'ES2024.SharedMemory'
261
+ | 'ES2024.String'
262
+ | 'ESNext'
263
+ | 'ESNext.Array'
264
+ | 'ESNext.AsyncIterable'
265
+ | 'ESNext.BigInt'
266
+ | 'ESNext.Collection'
267
+ | 'ESNext.Decorators'
268
+ | 'ESNext.Disposable'
269
+ | 'ESNext.Intl'
270
+ | 'ESNext.Iterator'
271
+ | 'ESNext.Promise'
272
+ | 'ESNext.String'
273
+ | 'ESNext.Symbol'
274
+ | 'ESNext.WeakRef'
275
+ | 'DOM'
276
+ | 'DOM.Iterable'
277
+ | 'ScriptHost'
278
+ | 'WebWorker'
279
+ | 'WebWorker.AsyncIterable'
280
+ | 'WebWorker.ImportScripts'
281
+ | 'WebWorker.Iterable'
282
+ // Lowercase alternatives
283
+ | 'es5'
284
+ | 'es6'
285
+ | 'es7'
286
+ | 'es2015'
287
+ | 'es2015.collection'
288
+ | 'es2015.core'
289
+ | 'es2015.generator'
290
+ | 'es2015.iterable'
291
+ | 'es2015.promise'
292
+ | 'es2015.proxy'
293
+ | 'es2015.reflect'
294
+ | 'es2015.symbol.wellknown'
295
+ | 'es2015.symbol'
296
+ | 'es2016'
297
+ | 'es2016.array.include'
298
+ | 'es2017'
299
+ | 'es2017.arraybuffer'
300
+ | 'es2017.date'
301
+ | 'es2017.intl'
302
+ | 'es2017.object'
303
+ | 'es2017.sharedmemory'
304
+ | 'es2017.string'
305
+ | 'es2017.typedarrays'
306
+ | 'es2018'
307
+ | 'es2018.asyncgenerator'
308
+ | 'es2018.asynciterable'
309
+ | 'es2018.intl'
310
+ | 'es2018.promise'
311
+ | 'es2018.regexp'
312
+ | 'es2019'
313
+ | 'es2019.array'
314
+ | 'es2019.object'
315
+ | 'es2019.string'
316
+ | 'es2019.symbol'
317
+ | 'es2020'
318
+ | 'es2020.bigint'
319
+ | 'es2020.promise'
320
+ | 'es2020.string'
321
+ | 'es2020.symbol.wellknown'
322
+ | 'es2020.sharedmemory'
323
+ | 'es2020.intl'
324
+ | 'es2021'
325
+ | 'es2021.intl'
326
+ | 'es2021.promise'
327
+ | 'es2021.string'
328
+ | 'es2021.weakref'
329
+ | 'es2022'
330
+ | 'es2022.array'
331
+ | 'es2022.error'
332
+ | 'es2022.intl'
333
+ | 'es2022.object'
334
+ | 'es2022.regexp'
335
+ | 'es2022.string'
336
+ | 'es2023'
337
+ | 'es2023.array'
338
+ | 'es2023.collection'
339
+ | 'es2023.intl'
340
+ | 'es2024'
341
+ | 'es2024.arraybuffer'
342
+ | 'es2024.collection'
343
+ | 'es2024.object'
344
+ | 'es2024.promise'
345
+ | 'es2024.regexp'
346
+ | 'es2024.sharedmemory'
347
+ | 'es2024.string'
348
+ | 'esnext'
349
+ | 'esnext.array'
350
+ | 'esnext.asynciterable'
351
+ | 'esnext.bigint'
352
+ | 'esnext.collection'
353
+ | 'esnext.decorators'
354
+ | 'esnext.disposable'
355
+ | 'esnext.intl'
356
+ | 'esnext.iterator'
357
+ | 'esnext.promise'
358
+ | 'esnext.string'
359
+ | 'esnext.symbol'
360
+ | 'esnext.weakref'
361
+ | 'dom'
362
+ | 'dom.iterable'
363
+ | 'scripthost'
364
+ | 'webworker'
365
+ | 'webworker.asynciterable'
366
+ | 'webworker.importscripts'
367
+ | 'webworker.iterable';
368
+
369
+ export type Plugin = {
370
+ /**
371
+ Plugin name.
372
+ */
373
+ name: string;
374
+ };
375
+
376
+ export type ImportsNotUsedAsValues =
377
+ | 'remove'
378
+ | 'preserve'
379
+ | 'error';
380
+
381
+ export type FallbackPolling =
382
+ | 'fixedPollingInterval'
383
+ | 'priorityPollingInterval'
384
+ | 'dynamicPriorityPolling'
385
+ | 'fixedInterval'
386
+ | 'priorityInterval'
387
+ | 'dynamicPriority'
388
+ | 'fixedChunkSize';
389
+
390
+ export type WatchDirectory =
391
+ | 'useFsEvents'
392
+ | 'fixedPollingInterval'
393
+ | 'dynamicPriorityPolling'
394
+ | 'fixedChunkSizePolling';
395
+
396
+ export type WatchFile =
397
+ | 'fixedPollingInterval'
398
+ | 'priorityPollingInterval'
399
+ | 'dynamicPriorityPolling'
400
+ | 'useFsEvents'
401
+ | 'useFsEventsOnParentDirectory'
402
+ | 'fixedChunkSizePolling';
403
+
404
+ export type ModuleResolution =
405
+ | 'classic'
406
+ | 'node'
407
+ | 'node10'
408
+ | 'node16'
409
+ | 'nodenext'
410
+ | 'bundler'
411
+ // Pascal-cased alternatives
412
+ | 'Classic'
413
+ | 'Node'
414
+ | 'Node10'
415
+ | 'Node16'
416
+ | 'NodeNext'
417
+ | 'Bundler';
418
+
419
+ export type ModuleDetection =
420
+ | 'auto'
421
+ | 'legacy'
422
+ | 'force';
423
+
424
+ export type IgnoreDeprecations = '5.0';
425
+ }
426
+
427
+ export type CompilerOptions = {
428
+ /**
429
+ The character set of the input files.
430
+
431
+ @default 'utf8'
432
+ @deprecated This option will be removed in TypeScript 5.5.
433
+ */
434
+ charset?: string;
435
+
436
+ /**
437
+ Enables building for project references.
438
+
439
+ @default true
440
+ */
441
+ composite?: boolean;
442
+
443
+ /**
444
+ Generates corresponding d.ts files.
445
+
446
+ @default false
447
+ */
448
+ declaration?: boolean;
449
+
450
+ /**
451
+ Specify output directory for generated declaration files.
452
+ */
453
+ declarationDir?: string;
454
+
455
+ /**
456
+ Show diagnostic information.
457
+
458
+ @default false
459
+ */
460
+ diagnostics?: boolean;
461
+
462
+ /**
463
+ Reduce the number of projects loaded automatically by TypeScript.
464
+
465
+ @default false
466
+ */
467
+ disableReferencedProjectLoad?: boolean;
468
+
469
+ /**
470
+ Enforces using indexed accessors for keys declared using an indexed type.
471
+
472
+ @default false
473
+ */
474
+ noPropertyAccessFromIndexSignature?: boolean;
475
+
476
+ /**
477
+ Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.
478
+
479
+ @default false
480
+ */
481
+ emitBOM?: boolean;
482
+
483
+ /**
484
+ Only emit `.d.ts` declaration files.
485
+
486
+ @default false
487
+ */
488
+ emitDeclarationOnly?: boolean;
489
+
490
+ /**
491
+ Differentiate between undefined and not present when type checking.
492
+
493
+ @default false
494
+ */
495
+ exactOptionalPropertyTypes?: boolean;
496
+
497
+ /**
498
+ Enable incremental compilation.
499
+
500
+ @default `composite`
501
+ */
502
+ incremental?: boolean;
503
+
504
+ /**
505
+ Specify file to store incremental compilation information.
506
+
507
+ @default '.tsbuildinfo'
508
+ */
509
+ tsBuildInfoFile?: string;
510
+
511
+ /**
512
+ Emit a single file with source maps instead of having a separate file.
513
+
514
+ @default false
515
+ */
516
+ inlineSourceMap?: boolean;
517
+
518
+ /**
519
+ Emit the source alongside the sourcemaps within a single file.
520
+
521
+ Requires `--inlineSourceMap` to be set.
522
+
523
+ @default false
524
+ */
525
+ inlineSources?: boolean;
526
+
527
+ /**
528
+ Specify what JSX code is generated.
529
+
530
+ @default 'preserve'
531
+ */
532
+ jsx?: CompilerOptions.JSX;
533
+
534
+ /**
535
+ Specifies the object invoked for `createElement` and `__spread` when targeting `'react'` JSX emit.
536
+
537
+ @default 'React'
538
+ */
539
+ reactNamespace?: string;
540
+
541
+ /**
542
+ Specify the JSX factory function to use when targeting React JSX emit, e.g. `React.createElement` or `h`.
543
+
544
+ @default 'React.createElement'
545
+ */
546
+ jsxFactory?: string;
547
+
548
+ /**
549
+ Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'.
550
+
551
+ @default 'React.Fragment'
552
+ */
553
+ jsxFragmentFactory?: string;
554
+
555
+ /**
556
+ Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.
557
+
558
+ @default 'react'
559
+ */
560
+ jsxImportSource?: string;
561
+
562
+ /**
563
+ Print names of files part of the compilation.
564
+
565
+ @default false
566
+ */
567
+ listFiles?: boolean;
568
+
569
+ /**
570
+ Specifies the location where debugger should locate map files instead of generated locations.
571
+ */
572
+ mapRoot?: string;
573
+
574
+ /**
575
+ Specify module code generation: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES6', 'ES2015' or 'ESNext'. Only 'AMD' and 'System' can be used in conjunction with `--outFile`. 'ES6' and 'ES2015' values may be used when targeting 'ES5' or lower.
576
+
577
+ @default ['ES3', 'ES5'].includes(target) ? 'CommonJS' : 'ES6'
578
+ */
579
+ module?: CompilerOptions.Module;
580
+
581
+ /**
582
+ Specifies module resolution strategy: 'node' (Node) or 'classic' (TypeScript pre 1.6).
583
+
584
+ @default ['AMD', 'System', 'ES6'].includes(module) ? 'classic' : 'node'
585
+ */
586
+ moduleResolution?: CompilerOptions.ModuleResolution;
587
+
588
+ /**
589
+ Specifies the end of line sequence to be used when emitting files: 'crlf' (Windows) or 'lf' (Unix).
590
+
591
+ @default 'LF'
592
+ */
593
+ newLine?: CompilerOptions.NewLine;
594
+
595
+ /**
596
+ Disable full type checking (only critical parse and emit errors will be reported).
597
+
598
+ @default false
599
+ */
600
+ noCheck?: boolean;
601
+
602
+ /**
603
+ Do not emit output.
604
+
605
+ @default false
606
+ */
607
+ noEmit?: boolean;
608
+
609
+ /**
610
+ Do not generate custom helper functions like `__extends` in compiled output.
611
+
612
+ @default false
613
+ */
614
+ noEmitHelpers?: boolean;
615
+
616
+ /**
617
+ Do not emit outputs if any type checking errors were reported.
618
+
619
+ @default false
620
+ */
621
+ noEmitOnError?: boolean;
622
+
623
+ /**
624
+ Warn on expressions and declarations with an implied 'any' type.
625
+
626
+ @default false
627
+ */
628
+ noImplicitAny?: boolean;
629
+
630
+ /**
631
+ Raise error on 'this' expressions with an implied any type.
632
+
633
+ @default false
634
+ */
635
+ noImplicitThis?: boolean;
636
+
637
+ /**
638
+ Report errors on unused locals.
639
+
640
+ @default false
641
+ */
642
+ noUnusedLocals?: boolean;
643
+
644
+ /**
645
+ Report errors on unused parameters.
646
+
647
+ @default false
648
+ */
649
+ noUnusedParameters?: boolean;
650
+
651
+ /**
652
+ Do not include the default library file (lib.d.ts).
653
+
654
+ @default false
655
+ */
656
+ noLib?: boolean;
657
+
658
+ /**
659
+ Do not add triple-slash references or module import targets to the list of compiled files.
660
+
661
+ @default false
662
+ */
663
+ noResolve?: boolean;
664
+
665
+ /**
666
+ Disable strict checking of generic signatures in function types.
667
+
668
+ @default false
669
+ @deprecated This option will be removed in TypeScript 5.5.
670
+ */
671
+ noStrictGenericChecks?: boolean;
672
+
673
+ /**
674
+ @deprecated use `skipLibCheck` instead.
675
+ */
676
+ skipDefaultLibCheck?: boolean;
677
+
678
+ /**
679
+ Skip type checking of declaration files.
680
+
681
+ @default false
682
+ */
683
+ skipLibCheck?: boolean;
684
+
685
+ /**
686
+ Concatenate and emit output to single file.
687
+ */
688
+ outFile?: string;
689
+
690
+ /**
691
+ Redirect output structure to the directory.
692
+ */
693
+ outDir?: string;
694
+
695
+ /**
696
+ Do not erase const enum declarations in generated code.
697
+
698
+ @default false
699
+ */
700
+ preserveConstEnums?: boolean;
701
+
702
+ /**
703
+ Do not resolve symlinks to their real path; treat a symlinked file like a real one.
704
+
705
+ @default false
706
+ */
707
+ preserveSymlinks?: boolean;
708
+
709
+ /**
710
+ Keep outdated console output in watch mode instead of clearing the screen.
711
+
712
+ @default false
713
+ */
714
+ preserveWatchOutput?: boolean;
715
+
716
+ /**
717
+ Stylize errors and messages using color and context (experimental).
718
+
719
+ @default true // Unless piping to another program or redirecting output to a file.
720
+ */
721
+ pretty?: boolean;
722
+
723
+ /**
724
+ Do not emit comments to output.
725
+
726
+ @default false
727
+ */
728
+ removeComments?: boolean;
729
+
730
+ /**
731
+ Specifies the root directory of input files.
732
+
733
+ Use to control the output directory structure with `--outDir`.
734
+ */
735
+ rootDir?: string;
736
+
737
+ /**
738
+ Unconditionally emit imports for unresolved files.
739
+
740
+ @default false
741
+ */
742
+ isolatedModules?: boolean;
743
+
744
+ /**
745
+ Require sufficient annotation on exports so other tools can trivially generate declaration files.
746
+
747
+ @default false
748
+ */
749
+ isolatedDeclarations?: boolean;
750
+
751
+ /**
752
+ Generates corresponding '.map' file.
753
+
754
+ @default false
755
+ */
756
+ sourceMap?: boolean;
757
+
758
+ /**
759
+ Specifies the location where debugger should locate TypeScript files instead of source locations.
760
+ */
761
+ sourceRoot?: string;
762
+
763
+ /**
764
+ Suppress excess property checks for object literals.
765
+
766
+ @default false
767
+ @deprecated This option will be removed in TypeScript 5.5.
768
+ */
769
+ suppressExcessPropertyErrors?: boolean;
770
+
771
+ /**
772
+ Suppress noImplicitAny errors for indexing objects lacking index signatures.
773
+
774
+ @default false
775
+ @deprecated This option will be removed in TypeScript 5.5.
776
+ */
777
+ suppressImplicitAnyIndexErrors?: boolean;
778
+
779
+ /**
780
+ Do not emit declarations for code that has an `@internal` annotation.
781
+ */
782
+ stripInternal?: boolean;
783
+
784
+ /**
785
+ Specify ECMAScript target version.
786
+
787
+ @default 'es3'
788
+ */
789
+ target?: CompilerOptions.Target;
790
+
791
+ /**
792
+ Default catch clause variables as `unknown` instead of `any`.
793
+
794
+ @default false
795
+ */
796
+ useUnknownInCatchVariables?: boolean;
797
+
798
+ /**
799
+ Watch input files.
800
+
801
+ @default false
802
+ @deprecated Use watchOptions instead.
803
+ */
804
+ watch?: boolean;
805
+
806
+ /**
807
+ Specify the polling strategy to use when the system runs out of or doesn't support native file watchers.
808
+
809
+ @deprecated Use watchOptions.fallbackPolling instead.
810
+ */
811
+ fallbackPolling?: CompilerOptions.FallbackPolling;
812
+
813
+ /**
814
+ Specify the strategy for watching directories under systems that lack recursive file-watching functionality.
815
+
816
+ @default 'useFsEvents'
817
+ @deprecated Use watchOptions.watchDirectory instead.
818
+ */
819
+ watchDirectory?: CompilerOptions.WatchDirectory;
820
+
821
+ /**
822
+ Specify the strategy for watching individual files.
823
+
824
+ @default 'useFsEvents'
825
+ @deprecated Use watchOptions.watchFile instead.
826
+ */
827
+ watchFile?: CompilerOptions.WatchFile;
828
+
829
+ /**
830
+ Enables experimental support for ES7 decorators.
831
+
832
+ @default false
833
+ */
834
+ experimentalDecorators?: boolean;
835
+
836
+ /**
837
+ Emit design-type metadata for decorated declarations in source.
838
+
839
+ @default false
840
+ */
841
+ emitDecoratorMetadata?: boolean;
842
+
843
+ /**
844
+ Do not report errors on unused labels.
845
+
846
+ @default false
847
+ */
848
+ allowUnusedLabels?: boolean;
849
+
850
+ /**
851
+ Report error when not all code paths in function return a value.
852
+
853
+ @default false
854
+ */
855
+ noImplicitReturns?: boolean;
856
+
857
+ /**
858
+ Add `undefined` to a type when accessed using an index.
859
+
860
+ @default false
861
+ */
862
+ noUncheckedIndexedAccess?: boolean;
863
+
864
+ /**
865
+ Report error if failed to find a source file for a side effect import.
866
+
867
+ @default false
868
+ */
869
+ noUncheckedSideEffectImports?: boolean;
870
+
871
+ /**
872
+ Report errors for fallthrough cases in switch statement.
873
+
874
+ @default false
875
+ */
876
+ noFallthroughCasesInSwitch?: boolean;
877
+
878
+ /**
879
+ Ensure overriding members in derived classes are marked with an override modifier.
880
+
881
+ @default false
882
+ */
883
+ noImplicitOverride?: boolean;
884
+
885
+ /**
886
+ Do not report errors on unreachable code.
887
+
888
+ @default false
889
+ */
890
+ allowUnreachableCode?: boolean;
891
+
892
+ /**
893
+ Disallow inconsistently-cased references to the same file.
894
+
895
+ @default true
896
+ */
897
+ forceConsistentCasingInFileNames?: boolean;
898
+
899
+ /**
900
+ Emit a v8 CPU profile of the compiler run for debugging.
901
+
902
+ @default 'profile.cpuprofile'
903
+ */
904
+ generateCpuProfile?: string;
905
+
906
+ /**
907
+ Generates an event trace and a list of types.
908
+ */
909
+ generateTrace?: boolean;
910
+
911
+ /**
912
+ Base directory to resolve non-relative module names.
913
+ */
914
+ baseUrl?: string;
915
+
916
+ /**
917
+ Specify path mapping to be computed relative to baseUrl option.
918
+ */
919
+ paths?: Record<string, string[]>;
920
+
921
+ /**
922
+ List of TypeScript language server plugins to load.
923
+ */
924
+ plugins?: CompilerOptions.Plugin[];
925
+
926
+ /**
927
+ Specify list of root directories to be used when resolving modules.
928
+ */
929
+ rootDirs?: string[];
930
+
931
+ /**
932
+ Specify list of directories for type definition files to be included.
933
+ */
934
+ typeRoots?: string[];
935
+
936
+ /**
937
+ Type declaration files to be included in compilation.
938
+ */
939
+ types?: string[];
940
+
941
+ /**
942
+ Enable tracing of the name resolution process.
943
+
944
+ @default false
945
+ */
946
+ traceResolution?: boolean;
947
+
948
+ /**
949
+ Allow javascript files to be compiled.
950
+
951
+ @default false
952
+ */
953
+ allowJs?: boolean;
954
+
955
+ /**
956
+ Do not truncate error messages.
957
+
958
+ @default false
959
+ */
960
+ noErrorTruncation?: boolean;
961
+
962
+ /**
963
+ Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
964
+
965
+ @default module === 'system' || esModuleInterop
966
+ */
967
+ allowSyntheticDefaultImports?: boolean;
968
+
969
+ /**
970
+ Do not emit `'use strict'` directives in module output.
971
+
972
+ @default false
973
+ @deprecated This option will be removed in TypeScript 5.5.
974
+ */
975
+ noImplicitUseStrict?: boolean;
976
+
977
+ /**
978
+ Enable to list all emitted files.
979
+
980
+ @default false
981
+ */
982
+ listEmittedFiles?: boolean;
983
+
984
+ /**
985
+ Disable size limit for JavaScript project.
986
+
987
+ @default false
988
+ */
989
+ disableSizeLimit?: boolean;
990
+
991
+ /**
992
+ List of library files to be included in the compilation.
993
+ */
994
+ lib?: CompilerOptions.Lib[];
995
+
996
+ /**
997
+ Enable strict null checks.
998
+
999
+ @default false
1000
+ */
1001
+ strictNullChecks?: boolean;
1002
+
1003
+ /**
1004
+ The maximum dependency depth to search under `node_modules` and load JavaScript files. Only applicable with `--allowJs`.
1005
+
1006
+ @default 0
1007
+ */
1008
+ maxNodeModuleJsDepth?: number;
1009
+
1010
+ /**
1011
+ Import emit helpers (e.g. `__extends`, `__rest`, etc..) from tslib.
1012
+
1013
+ @default false
1014
+ */
1015
+ importHelpers?: boolean;
1016
+
1017
+ /**
1018
+ Specify emit/checking behavior for imports that are only used for types.
1019
+
1020
+ @default 'remove'
1021
+ @deprecated Use `verbatimModuleSyntax` instead.
1022
+ */
1023
+ importsNotUsedAsValues?: CompilerOptions.ImportsNotUsedAsValues;
1024
+
1025
+ /**
1026
+ Parse in strict mode and emit `'use strict'` for each source file.
1027
+
1028
+ @default false
1029
+ */
1030
+ alwaysStrict?: boolean;
1031
+
1032
+ /**
1033
+ Enable all strict type checking options.
1034
+
1035
+ @default false
1036
+ */
1037
+ strict?: boolean;
1038
+
1039
+ /**
1040
+ Enable stricter checking of of the `bind`, `call`, and `apply` methods on functions.
1041
+
1042
+ @default false
1043
+ */
1044
+ strictBindCallApply?: boolean;
1045
+
1046
+ /**
1047
+ Provide full support for iterables in `for-of`, spread, and destructuring when targeting `ES5` or `ES3`.
1048
+
1049
+ @default false
1050
+ */
1051
+ downlevelIteration?: boolean;
1052
+
1053
+ /**
1054
+ Report errors in `.js` files.
1055
+
1056
+ @default false
1057
+ */
1058
+ checkJs?: boolean;
1059
+
1060
+ /**
1061
+ Built-in iterators are instantiated with a `TReturn` type of undefined instead of `any`.
1062
+
1063
+ @default false
1064
+ */
1065
+ strictBuiltinIteratorReturn?: boolean;
1066
+
1067
+ /**
1068
+ Disable bivariant parameter checking for function types.
1069
+
1070
+ @default false
1071
+ */
1072
+ strictFunctionTypes?: boolean;
1073
+
1074
+ /**
1075
+ Ensure non-undefined class properties are initialized in the constructor.
1076
+
1077
+ @default false
1078
+ */
1079
+ strictPropertyInitialization?: boolean;
1080
+
1081
+ /**
1082
+ Emit `__importStar` and `__importDefault` helpers for runtime Babel ecosystem compatibility and enable `--allowSyntheticDefaultImports` for typesystem compatibility.
1083
+
1084
+ @default false
1085
+ */
1086
+ esModuleInterop?: boolean;
1087
+
1088
+ /**
1089
+ Allow accessing UMD globals from modules.
1090
+
1091
+ @default false
1092
+ */
1093
+ allowUmdGlobalAccess?: boolean;
1094
+
1095
+ /**
1096
+ Resolve `keyof` to string valued property names only (no numbers or symbols).
1097
+
1098
+ @default false
1099
+ @deprecated This option will be removed in TypeScript 5.5.
1100
+ */
1101
+ keyofStringsOnly?: boolean;
1102
+
1103
+ /**
1104
+ Emit ECMAScript standard class fields.
1105
+
1106
+ @default false
1107
+ */
1108
+ useDefineForClassFields?: boolean;
1109
+
1110
+ /**
1111
+ Generates a sourcemap for each corresponding `.d.ts` file.
1112
+
1113
+ @default false
1114
+ */
1115
+ declarationMap?: boolean;
1116
+
1117
+ /**
1118
+ Include modules imported with `.json` extension.
1119
+
1120
+ @default false
1121
+ */
1122
+ resolveJsonModule?: boolean;
1123
+
1124
+ /**
1125
+ Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it.
1126
+
1127
+ @default false
1128
+ */
1129
+ assumeChangesOnlyAffectDirectDependencies?: boolean;
1130
+
1131
+ /**
1132
+ Output more detailed compiler performance information after building.
1133
+
1134
+ @default false
1135
+ */
1136
+ extendedDiagnostics?: boolean;
1137
+
1138
+ /**
1139
+ Print names of files that are part of the compilation and then stop processing.
1140
+
1141
+ @default false
1142
+ */
1143
+ listFilesOnly?: boolean;
1144
+
1145
+ /**
1146
+ Disable preferring source files instead of declaration files when referencing composite projects.
1147
+
1148
+ @default true if composite, false otherwise
1149
+ */
1150
+ disableSourceOfProjectReferenceRedirect?: boolean;
1151
+
1152
+ /**
1153
+ Opt a project out of multi-project reference checking when editing.
1154
+
1155
+ @default false
1156
+ */
1157
+ disableSolutionSearching?: boolean;
1158
+
1159
+ /**
1160
+ Print names of files which TypeScript sees as a part of your project and the reason they are part of the compilation.
1161
+
1162
+ @default false
1163
+ */
1164
+ explainFiles?: boolean;
1165
+
1166
+ /**
1167
+ Preserve unused imported values in the JavaScript output that would otherwise be removed.
1168
+
1169
+ @default true
1170
+ @deprecated Use `verbatimModuleSyntax` instead.
1171
+ */
1172
+ preserveValueImports?: boolean;
1173
+
1174
+ /**
1175
+ List of file name suffixes to search when resolving a module.
1176
+ */
1177
+ moduleSuffixes?: string[];
1178
+
1179
+ /**
1180
+ Control what method is used to detect module-format JS files.
1181
+
1182
+ @default 'auto'
1183
+ */
1184
+ moduleDetection?: CompilerOptions.ModuleDetection;
1185
+
1186
+ /**
1187
+ Allows TypeScript files to import each other with a TypeScript-specific extension like .ts, .mts, or .tsx.
1188
+
1189
+ @default false
1190
+ */
1191
+ allowImportingTsExtensions?: boolean;
1192
+
1193
+ /**
1194
+ Forces TypeScript to consult the exports field of package.json files if it ever reads from a package in node_modules.
1195
+
1196
+ @default false
1197
+ */
1198
+ resolvePackageJsonExports?: boolean;
1199
+
1200
+ /**
1201
+ Forces TypeScript to consult the imports field of package.json files when performing a lookup that starts with # from a file whose ancestor directory contains a package.json.
1202
+
1203
+ @default false
1204
+ */
1205
+ resolvePackageJsonImports?: boolean;
1206
+
1207
+ /**
1208
+ Suppress errors for file formats that TypeScript does not understand.
1209
+
1210
+ @default false
1211
+ */
1212
+ allowArbitraryExtensions?: boolean;
1213
+
1214
+ /**
1215
+ List of additional conditions that should succeed when TypeScript resolves from package.json.
1216
+ */
1217
+ customConditions?: string[];
1218
+
1219
+ /**
1220
+ Anything that uses the type modifier is dropped entirely.
1221
+
1222
+ @default false
1223
+ */
1224
+ verbatimModuleSyntax?: boolean;
1225
+
1226
+ /**
1227
+ Suppress deprecation warnings
1228
+ */
1229
+ ignoreDeprecations?: CompilerOptions.IgnoreDeprecations;
1230
+ };
1231
+
1232
+ namespace WatchOptions {
1233
+ export type WatchFileKind =
1234
+ | 'FixedPollingInterval'
1235
+ | 'PriorityPollingInterval'
1236
+ | 'DynamicPriorityPolling'
1237
+ | 'FixedChunkSizePolling'
1238
+ | 'UseFsEvents'
1239
+ | 'UseFsEventsOnParentDirectory';
1240
+
1241
+ export type WatchDirectoryKind =
1242
+ | 'UseFsEvents'
1243
+ | 'FixedPollingInterval'
1244
+ | 'DynamicPriorityPolling'
1245
+ | 'FixedChunkSizePolling';
1246
+
1247
+ export type PollingWatchKind =
1248
+ | 'FixedInterval'
1249
+ | 'PriorityInterval'
1250
+ | 'DynamicPriority'
1251
+ | 'FixedChunkSize';
1252
+ }
1253
+
1254
+ export type WatchOptions = {
1255
+
1256
+ /**
1257
+ Specify the strategy for watching individual files.
1258
+
1259
+ @default 'UseFsEvents'
1260
+ */
1261
+ watchFile?: WatchOptions.WatchFileKind | Lowercase<WatchOptions.WatchFileKind>;
1262
+
1263
+ /**
1264
+ Specify the strategy for watching directories under systems that lack recursive file-watching functionality.
1265
+
1266
+ @default 'UseFsEvents'
1267
+ */
1268
+ watchDirectory?: WatchOptions.WatchDirectoryKind | Lowercase<WatchOptions.WatchDirectoryKind>;
1269
+
1270
+ /**
1271
+ Specify the polling strategy to use when the system runs out of or doesn't support native file watchers.
1272
+ */
1273
+ fallbackPolling?: WatchOptions.PollingWatchKind | Lowercase<WatchOptions.PollingWatchKind>;
1274
+
1275
+ /**
1276
+ Enable synchronous updates on directory watchers for platforms that don't support recursive watching natively.
1277
+ */
1278
+ synchronousWatchDirectory?: boolean;
1279
+
1280
+ /**
1281
+ Specifies a list of directories to exclude from watch
1282
+ */
1283
+ excludeDirectories?: string[];
1284
+
1285
+ /**
1286
+ Specifies a list of files to exclude from watch
1287
+ */
1288
+ excludeFiles?: string[];
1289
+ };
1290
+
1291
+ /**
1292
+ Auto type (.d.ts) acquisition options for this project.
1293
+ */
1294
+ export type TypeAcquisition = {
1295
+ /**
1296
+ Enable auto type acquisition.
1297
+ */
1298
+ enable?: boolean;
1299
+
1300
+ /**
1301
+ Specifies a list of type declarations to be included in auto type acquisition. For example, `['jquery', 'lodash']`.
1302
+ */
1303
+ include?: string[];
1304
+
1305
+ /**
1306
+ Specifies a list of type declarations to be excluded from auto type acquisition. For example, `['jquery', 'lodash']`.
1307
+ */
1308
+ exclude?: string[];
1309
+
1310
+ /**
1311
+ Disable infering what types should be added based on filenames in a project.
1312
+ */
1313
+ disableFilenameBasedTypeAcquisition?: boolean;
1314
+ };
1315
+
1316
+ export type References = {
1317
+ /**
1318
+ A normalized path on disk.
1319
+ */
1320
+ path: string;
1321
+
1322
+ /**
1323
+ The path as the user originally wrote it.
1324
+ */
1325
+ originalPath?: string;
1326
+
1327
+ /**
1328
+ True if the output of this reference should be prepended to the output of this project.
1329
+
1330
+ Only valid for `--outFile` compilations.
1331
+ @deprecated This option will be removed in TypeScript 5.5.
1332
+ */
1333
+ prepend?: boolean;
1334
+
1335
+ /**
1336
+ True if it is intended that this reference form a circularity.
1337
+ */
1338
+ circular?: boolean;
1339
+ };
1340
+ }
1341
+
1342
+ /**
1343
+ Type for [TypeScript's `tsconfig.json` file](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) (TypeScript 3.7).
1344
+
1345
+ @category File
1346
+ */
1347
+ type TsConfigJson = {
1348
+ /**
1349
+ Instructs the TypeScript compiler how to compile `.ts` files.
1350
+ */
1351
+ compilerOptions?: TsConfigJson.CompilerOptions;
1352
+
1353
+ /**
1354
+ Instructs the TypeScript compiler how to watch files.
1355
+ */
1356
+ watchOptions?: TsConfigJson.WatchOptions;
1357
+
1358
+ /**
1359
+ Auto type (.d.ts) acquisition options for this project.
1360
+ */
1361
+ typeAcquisition?: TsConfigJson.TypeAcquisition;
1362
+
1363
+ /**
1364
+ Enable Compile-on-Save for this project.
1365
+ */
1366
+ compileOnSave?: boolean;
1367
+
1368
+ /**
1369
+ Path to base configuration file to inherit from.
1370
+ */
1371
+ extends?: string | string[];
1372
+
1373
+ /**
1374
+ If no `files` or `include` property is present in a `tsconfig.json`, the compiler defaults to including all files in the containing directory and subdirectories except those specified by `exclude`. When a `files` property is specified, only those files and those specified by `include` are included.
1375
+ */
1376
+ files?: string[];
1377
+
1378
+ /**
1379
+ Specifies a list of files to be excluded from compilation. The `exclude` property only affects the files included via the `include` property and not the `files` property.
1380
+
1381
+ Glob patterns require TypeScript version 2.0 or later.
1382
+ */
1383
+ exclude?: string[];
1384
+
1385
+ /**
1386
+ Specifies a list of glob patterns that match files to be included in compilation.
1387
+
1388
+ If no `files` or `include` property is present in a `tsconfig.json`, the compiler defaults to including all files in the containing directory and subdirectories except those specified by `exclude`.
1389
+ */
1390
+ include?: string[];
1391
+
1392
+ /**
1393
+ Referenced projects.
1394
+ */
1395
+ references?: TsConfigJson.References[];
1396
+ };
1397
+
1398
+ type TsConfigJsonResolved = Except<TsConfigJson, 'extends'>;
1399
+ type TsConfigResult = {
1400
+ /**
1401
+ * The path to the tsconfig.json file
1402
+ */
1403
+ path: string;
1404
+ /**
1405
+ * The resolved tsconfig.json file
1406
+ */
1407
+ config: TsConfigJsonResolved;
1408
+ };
1409
+ type Cache<value = any> = Map<string, value>;
1410
+
1411
+ /**
1412
+ * Finds a tsconfig file, defaulting to `tsconfig.json`, starting from a given path.
1413
+ *
1414
+ * @param searchPath Starting directory (default: `process.cwd()`).
1415
+ * @param configName Config file name (default: `tsconfig.json`).
1416
+ * @param cache Cache for previous results (default: new `Map()`).
1417
+ * @returns The tsconfig file path and parsed contents, or `null` if not found.
1418
+ */
1419
+ declare const getTsconfig: (searchPath?: string, configName?: string, cache?: Cache) => TsConfigResult | null;
1420
+
1421
+ /**
1422
+ * Parses a tsconfig file at a given path
1423
+ *
1424
+ * @param tsconfigPath - Path to the tsconfig file.
1425
+ * @param cache - Cache for storing parsed tsconfig results (default: new `Map()`).
1426
+ * @returns The parsed and resolved tsconfig JSON.
1427
+ */
1428
+ declare const parseTsconfig: (tsconfigPath: string, cache?: Cache<string>) => TsConfigJsonResolved;
1429
+
1430
+ /**
1431
+ * Reference:
1432
+ * https://github.com/microsoft/TypeScript/blob/3ccbe804f850f40d228d3c875be952d94d39aa1d/src/compiler/moduleNameResolver.ts#L2465
1433
+ */
1434
+ declare const createPathsMatcher: (tsconfig: TsConfigResult) => ((specifier: string) => string[]) | null;
1435
+
1436
+ type FileMatcher = (filePath: string) => (TsConfigJsonResolved | undefined);
1437
+ declare const createFilesMatcher: ({ config, path: tsconfigPath, }: TsConfigResult, caseSensitivePaths?: boolean) => FileMatcher;
1438
+
1439
+ export { type Cache, type FileMatcher, TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, createFilesMatcher, createPathsMatcher, getTsconfig, parseTsconfig };