create-nuclo 0.1.1 → 0.3.35

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 (531) hide show
  1. package/README.md +5 -6
  2. package/package.json +3 -3
  3. package/src/create-nuclo.mjs +49 -169
  4. package/templates/basic/index.html +2 -14
  5. package/templates/basic/package.json +3 -3
  6. package/templates/basic/public/favicon.ico +0 -0
  7. package/templates/basic/public/nuclo-logo.svg +1 -24
  8. package/templates/basic/src/app.ts +33 -27
  9. package/templates/basic/src/main.ts +2 -3
  10. package/templates/basic/src/styles.ts +124 -72
  11. package/templates/basic/node_modules/.package-lock.json +0 -348
  12. package/templates/basic/node_modules/.vite/deps/_metadata.json +0 -15
  13. package/templates/basic/node_modules/.vite/deps/nuclo.js +0 -1665
  14. package/templates/basic/node_modules/.vite/deps/nuclo.js.map +0 -1
  15. package/templates/basic/node_modules/.vite/deps/package.json +0 -3
  16. package/templates/basic/node_modules/@oxc-project/types/LICENSE +0 -22
  17. package/templates/basic/node_modules/@oxc-project/types/README.md +0 -3
  18. package/templates/basic/node_modules/@oxc-project/types/package.json +0 -26
  19. package/templates/basic/node_modules/@oxc-project/types/types.d.ts +0 -1912
  20. package/templates/basic/node_modules/@rolldown/binding-darwin-arm64/README.md +0 -3
  21. package/templates/basic/node_modules/@rolldown/binding-darwin-arm64/package.json +0 -37
  22. package/templates/basic/node_modules/@rolldown/binding-darwin-arm64/rolldown-binding.darwin-arm64.node +0 -0
  23. package/templates/basic/node_modules/@rolldown/pluginutils/LICENSE +0 -21
  24. package/templates/basic/node_modules/@rolldown/pluginutils/README.md +0 -145
  25. package/templates/basic/node_modules/@rolldown/pluginutils/dist/filter/index.d.mts +0 -194
  26. package/templates/basic/node_modules/@rolldown/pluginutils/dist/filter/index.mjs +0 -2
  27. package/templates/basic/node_modules/@rolldown/pluginutils/dist/filter-B_mD-HGz.mjs +0 -323
  28. package/templates/basic/node_modules/@rolldown/pluginutils/dist/index.d.mts +0 -2
  29. package/templates/basic/node_modules/@rolldown/pluginutils/dist/index.mjs +0 -2
  30. package/templates/basic/node_modules/@rolldown/pluginutils/package.json +0 -40
  31. package/templates/basic/node_modules/detect-libc/LICENSE +0 -201
  32. package/templates/basic/node_modules/detect-libc/README.md +0 -163
  33. package/templates/basic/node_modules/detect-libc/index.d.ts +0 -14
  34. package/templates/basic/node_modules/detect-libc/lib/detect-libc.js +0 -313
  35. package/templates/basic/node_modules/detect-libc/lib/elf.js +0 -39
  36. package/templates/basic/node_modules/detect-libc/lib/filesystem.js +0 -51
  37. package/templates/basic/node_modules/detect-libc/lib/process.js +0 -24
  38. package/templates/basic/node_modules/detect-libc/package.json +0 -44
  39. package/templates/basic/node_modules/fdir/LICENSE +0 -7
  40. package/templates/basic/node_modules/fdir/README.md +0 -91
  41. package/templates/basic/node_modules/fdir/dist/index.cjs +0 -588
  42. package/templates/basic/node_modules/fdir/dist/index.d.cts +0 -155
  43. package/templates/basic/node_modules/fdir/dist/index.d.mts +0 -155
  44. package/templates/basic/node_modules/fdir/dist/index.mjs +0 -570
  45. package/templates/basic/node_modules/fdir/package.json +0 -103
  46. package/templates/basic/node_modules/lightningcss/LICENSE +0 -373
  47. package/templates/basic/node_modules/lightningcss/README.md +0 -105
  48. package/templates/basic/node_modules/lightningcss/node/ast.d.ts +0 -9892
  49. package/templates/basic/node_modules/lightningcss/node/ast.js.flow +0 -10539
  50. package/templates/basic/node_modules/lightningcss/node/browserslistToTargets.js +0 -48
  51. package/templates/basic/node_modules/lightningcss/node/composeVisitors.js +0 -450
  52. package/templates/basic/node_modules/lightningcss/node/flags.js +0 -28
  53. package/templates/basic/node_modules/lightningcss/node/index.d.ts +0 -494
  54. package/templates/basic/node_modules/lightningcss/node/index.js +0 -59
  55. package/templates/basic/node_modules/lightningcss/node/index.js.flow +0 -843
  56. package/templates/basic/node_modules/lightningcss/node/index.mjs +0 -4
  57. package/templates/basic/node_modules/lightningcss/node/targets.d.ts +0 -40
  58. package/templates/basic/node_modules/lightningcss/node/targets.js.flow +0 -39
  59. package/templates/basic/node_modules/lightningcss/package.json +0 -110
  60. package/templates/basic/node_modules/lightningcss-darwin-arm64/LICENSE +0 -373
  61. package/templates/basic/node_modules/lightningcss-darwin-arm64/README.md +0 -1
  62. package/templates/basic/node_modules/lightningcss-darwin-arm64/lightningcss.darwin-arm64.node +0 -0
  63. package/templates/basic/node_modules/lightningcss-darwin-arm64/package.json +0 -34
  64. package/templates/basic/node_modules/nanoid/LICENSE +0 -20
  65. package/templates/basic/node_modules/nanoid/README.md +0 -36
  66. package/templates/basic/node_modules/nanoid/async/index.browser.cjs +0 -42
  67. package/templates/basic/node_modules/nanoid/async/index.browser.js +0 -42
  68. package/templates/basic/node_modules/nanoid/async/index.cjs +0 -44
  69. package/templates/basic/node_modules/nanoid/async/index.d.ts +0 -56
  70. package/templates/basic/node_modules/nanoid/async/index.js +0 -44
  71. package/templates/basic/node_modules/nanoid/async/index.native.js +0 -35
  72. package/templates/basic/node_modules/nanoid/async/package.json +0 -12
  73. package/templates/basic/node_modules/nanoid/bin/nanoid.cjs +0 -55
  74. package/templates/basic/node_modules/nanoid/index.browser.cjs +0 -44
  75. package/templates/basic/node_modules/nanoid/index.browser.js +0 -44
  76. package/templates/basic/node_modules/nanoid/index.cjs +0 -57
  77. package/templates/basic/node_modules/nanoid/index.d.cts +0 -91
  78. package/templates/basic/node_modules/nanoid/index.d.ts +0 -91
  79. package/templates/basic/node_modules/nanoid/index.js +0 -62
  80. package/templates/basic/node_modules/nanoid/nanoid.js +0 -1
  81. package/templates/basic/node_modules/nanoid/non-secure/index.cjs +0 -24
  82. package/templates/basic/node_modules/nanoid/non-secure/index.d.ts +0 -33
  83. package/templates/basic/node_modules/nanoid/non-secure/index.js +0 -24
  84. package/templates/basic/node_modules/nanoid/non-secure/package.json +0 -6
  85. package/templates/basic/node_modules/nanoid/package.json +0 -89
  86. package/templates/basic/node_modules/nanoid/url-alphabet/index.cjs +0 -4
  87. package/templates/basic/node_modules/nanoid/url-alphabet/index.js +0 -4
  88. package/templates/basic/node_modules/nanoid/url-alphabet/package.json +0 -6
  89. package/templates/basic/node_modules/nuclo/LICENSE.md +0 -45
  90. package/templates/basic/node_modules/nuclo/README.md +0 -727
  91. package/templates/basic/node_modules/nuclo/dist/bootstrap.d.ts +0 -5
  92. package/templates/basic/node_modules/nuclo/dist/bootstrap.d.ts.map +0 -1
  93. package/templates/basic/node_modules/nuclo/dist/element/attributes.d.ts +0 -3
  94. package/templates/basic/node_modules/nuclo/dist/element/attributes.d.ts.map +0 -1
  95. package/templates/basic/node_modules/nuclo/dist/element/class-name.d.ts +0 -6
  96. package/templates/basic/node_modules/nuclo/dist/element/class-name.d.ts.map +0 -1
  97. package/templates/basic/node_modules/nuclo/dist/element/events.d.ts +0 -35
  98. package/templates/basic/node_modules/nuclo/dist/element/events.d.ts.map +0 -1
  99. package/templates/basic/node_modules/nuclo/dist/element/factory.d.ts +0 -32
  100. package/templates/basic/node_modules/nuclo/dist/element/factory.d.ts.map +0 -1
  101. package/templates/basic/node_modules/nuclo/dist/element/inline-style.d.ts +0 -9
  102. package/templates/basic/node_modules/nuclo/dist/element/inline-style.d.ts.map +0 -1
  103. package/templates/basic/node_modules/nuclo/dist/element/modifiers.d.ts +0 -11
  104. package/templates/basic/node_modules/nuclo/dist/element/modifiers.d.ts.map +0 -1
  105. package/templates/basic/node_modules/nuclo/dist/element/tags.d.ts +0 -5
  106. package/templates/basic/node_modules/nuclo/dist/element/tags.d.ts.map +0 -1
  107. package/templates/basic/node_modules/nuclo/dist/hydration.d.ts +0 -73
  108. package/templates/basic/node_modules/nuclo/dist/hydration.d.ts.map +0 -1
  109. package/templates/basic/node_modules/nuclo/dist/index.d.ts +0 -17
  110. package/templates/basic/node_modules/nuclo/dist/index.d.ts.map +0 -1
  111. package/templates/basic/node_modules/nuclo/dist/list/index.d.ts +0 -7
  112. package/templates/basic/node_modules/nuclo/dist/list/index.d.ts.map +0 -1
  113. package/templates/basic/node_modules/nuclo/dist/list/runtime.d.ts +0 -6
  114. package/templates/basic/node_modules/nuclo/dist/list/runtime.d.ts.map +0 -1
  115. package/templates/basic/node_modules/nuclo/dist/list/types.d.ts +0 -18
  116. package/templates/basic/node_modules/nuclo/dist/list/types.d.ts.map +0 -1
  117. package/templates/basic/node_modules/nuclo/dist/nuclo.cjs +0 -2
  118. package/templates/basic/node_modules/nuclo/dist/nuclo.cjs.map +0 -1
  119. package/templates/basic/node_modules/nuclo/dist/nuclo.mjs +0 -2
  120. package/templates/basic/node_modules/nuclo/dist/nuclo.mjs.map +0 -1
  121. package/templates/basic/node_modules/nuclo/dist/nuclo.umd.js +0 -2
  122. package/templates/basic/node_modules/nuclo/dist/nuclo.umd.js.map +0 -1
  123. package/templates/basic/node_modules/nuclo/dist/polyfill/Document.d.ts +0 -19
  124. package/templates/basic/node_modules/nuclo/dist/polyfill/Document.d.ts.map +0 -1
  125. package/templates/basic/node_modules/nuclo/dist/polyfill/Element.d.ts +0 -48
  126. package/templates/basic/node_modules/nuclo/dist/polyfill/Element.d.ts.map +0 -1
  127. package/templates/basic/node_modules/nuclo/dist/polyfill/Event.d.ts +0 -43
  128. package/templates/basic/node_modules/nuclo/dist/polyfill/Event.d.ts.map +0 -1
  129. package/templates/basic/node_modules/nuclo/dist/polyfill/Node.d.ts +0 -13
  130. package/templates/basic/node_modules/nuclo/dist/polyfill/Node.d.ts.map +0 -1
  131. package/templates/basic/node_modules/nuclo/dist/polyfill/Text.d.ts +0 -11
  132. package/templates/basic/node_modules/nuclo/dist/polyfill/Text.d.ts.map +0 -1
  133. package/templates/basic/node_modules/nuclo/dist/polyfill/index.d.ts +0 -24
  134. package/templates/basic/node_modules/nuclo/dist/polyfill/index.d.ts.map +0 -1
  135. package/templates/basic/node_modules/nuclo/dist/polyfill/nuclo.polyfill.cjs +0 -2
  136. package/templates/basic/node_modules/nuclo/dist/polyfill/nuclo.polyfill.cjs.map +0 -1
  137. package/templates/basic/node_modules/nuclo/dist/polyfill/nuclo.polyfill.mjs +0 -2
  138. package/templates/basic/node_modules/nuclo/dist/polyfill/nuclo.polyfill.mjs.map +0 -1
  139. package/templates/basic/node_modules/nuclo/dist/render.d.ts +0 -33
  140. package/templates/basic/node_modules/nuclo/dist/render.d.ts.map +0 -1
  141. package/templates/basic/node_modules/nuclo/dist/shared/conditions.d.ts +0 -4
  142. package/templates/basic/node_modules/nuclo/dist/shared/conditions.d.ts.map +0 -1
  143. package/templates/basic/node_modules/nuclo/dist/shared/dom.d.ts +0 -69
  144. package/templates/basic/node_modules/nuclo/dist/shared/dom.d.ts.map +0 -1
  145. package/templates/basic/node_modules/nuclo/dist/shared/environment.d.ts +0 -5
  146. package/templates/basic/node_modules/nuclo/dist/shared/environment.d.ts.map +0 -1
  147. package/templates/basic/node_modules/nuclo/dist/shared/errors.d.ts +0 -2
  148. package/templates/basic/node_modules/nuclo/dist/shared/errors.d.ts.map +0 -1
  149. package/templates/basic/node_modules/nuclo/dist/shared/renderables.d.ts +0 -4
  150. package/templates/basic/node_modules/nuclo/dist/shared/renderables.d.ts.map +0 -1
  151. package/templates/basic/node_modules/nuclo/dist/shared/strings.d.ts +0 -19
  152. package/templates/basic/node_modules/nuclo/dist/shared/strings.d.ts.map +0 -1
  153. package/templates/basic/node_modules/nuclo/dist/shared/type-guards.d.ts +0 -16
  154. package/templates/basic/node_modules/nuclo/dist/shared/type-guards.d.ts.map +0 -1
  155. package/templates/basic/node_modules/nuclo/dist/ssr/index.d.ts +0 -19
  156. package/templates/basic/node_modules/nuclo/dist/ssr/index.d.ts.map +0 -1
  157. package/templates/basic/node_modules/nuclo/dist/ssr/nuclo.ssr.cjs +0 -2
  158. package/templates/basic/node_modules/nuclo/dist/ssr/nuclo.ssr.cjs.map +0 -1
  159. package/templates/basic/node_modules/nuclo/dist/ssr/nuclo.ssr.mjs +0 -2
  160. package/templates/basic/node_modules/nuclo/dist/ssr/nuclo.ssr.mjs.map +0 -1
  161. package/templates/basic/node_modules/nuclo/dist/ssr/render-to-string.d.ts +0 -41
  162. package/templates/basic/node_modules/nuclo/dist/ssr/render-to-string.d.ts.map +0 -1
  163. package/templates/basic/node_modules/nuclo/dist/style/css.d.ts +0 -19
  164. package/templates/basic/node_modules/nuclo/dist/style/css.d.ts.map +0 -1
  165. package/templates/basic/node_modules/nuclo/dist/style/engine.d.ts +0 -34
  166. package/templates/basic/node_modules/nuclo/dist/style/engine.d.ts.map +0 -1
  167. package/templates/basic/node_modules/nuclo/dist/style/index.d.ts +0 -3
  168. package/templates/basic/node_modules/nuclo/dist/style/index.d.ts.map +0 -1
  169. package/templates/basic/node_modules/nuclo/dist/update/conditional.d.ts +0 -3
  170. package/templates/basic/node_modules/nuclo/dist/update/conditional.d.ts.map +0 -1
  171. package/templates/basic/node_modules/nuclo/dist/update/reactive-attributes.d.ts +0 -45
  172. package/templates/basic/node_modules/nuclo/dist/update/reactive-attributes.d.ts.map +0 -1
  173. package/templates/basic/node_modules/nuclo/dist/update/reactive-text.d.ts +0 -38
  174. package/templates/basic/node_modules/nuclo/dist/update/reactive-text.d.ts.map +0 -1
  175. package/templates/basic/node_modules/nuclo/dist/update/registry.d.ts +0 -97
  176. package/templates/basic/node_modules/nuclo/dist/update/registry.d.ts.map +0 -1
  177. package/templates/basic/node_modules/nuclo/dist/update/scope.d.ts +0 -7
  178. package/templates/basic/node_modules/nuclo/dist/update/scope.d.ts.map +0 -1
  179. package/templates/basic/node_modules/nuclo/dist/update/update.d.ts +0 -4
  180. package/templates/basic/node_modules/nuclo/dist/update/update.d.ts.map +0 -1
  181. package/templates/basic/node_modules/nuclo/dist/when/builder.d.ts +0 -16
  182. package/templates/basic/node_modules/nuclo/dist/when/builder.d.ts.map +0 -1
  183. package/templates/basic/node_modules/nuclo/dist/when/index.d.ts +0 -44
  184. package/templates/basic/node_modules/nuclo/dist/when/index.d.ts.map +0 -1
  185. package/templates/basic/node_modules/nuclo/dist/when/runtime.d.ts +0 -59
  186. package/templates/basic/node_modules/nuclo/dist/when/runtime.d.ts.map +0 -1
  187. package/templates/basic/node_modules/nuclo/package.json +0 -88
  188. package/templates/basic/node_modules/nuclo/types/core/base.d.ts +0 -113
  189. package/templates/basic/node_modules/nuclo/types/features/list.d.ts +0 -38
  190. package/templates/basic/node_modules/nuclo/types/features/on.d.ts +0 -59
  191. package/templates/basic/node_modules/nuclo/types/features/render.d.ts +0 -49
  192. package/templates/basic/node_modules/nuclo/types/features/scope.d.ts +0 -6
  193. package/templates/basic/node_modules/nuclo/types/features/style.d.ts +0 -77
  194. package/templates/basic/node_modules/nuclo/types/features/update.d.ts +0 -6
  195. package/templates/basic/node_modules/nuclo/types/features/when.d.ts +0 -18
  196. package/templates/basic/node_modules/nuclo/types/html/tags.d.ts +0 -119
  197. package/templates/basic/node_modules/nuclo/types/index.d.ts +0 -137
  198. package/templates/basic/node_modules/nuclo/types/polyfill.d.ts +0 -131
  199. package/templates/basic/node_modules/nuclo/types/ssr.d.ts +0 -45
  200. package/templates/basic/node_modules/nuclo/types/style.d.ts +0 -404
  201. package/templates/basic/node_modules/nuclo/types/svg/base.d.ts +0 -118
  202. package/templates/basic/node_modules/nuclo/types/svg/tags.d.ts +0 -68
  203. package/templates/basic/node_modules/picocolors/LICENSE +0 -15
  204. package/templates/basic/node_modules/picocolors/README.md +0 -21
  205. package/templates/basic/node_modules/picocolors/package.json +0 -25
  206. package/templates/basic/node_modules/picocolors/picocolors.browser.js +0 -4
  207. package/templates/basic/node_modules/picocolors/picocolors.d.ts +0 -5
  208. package/templates/basic/node_modules/picocolors/picocolors.js +0 -75
  209. package/templates/basic/node_modules/picocolors/types.d.ts +0 -51
  210. package/templates/basic/node_modules/picomatch/LICENSE +0 -21
  211. package/templates/basic/node_modules/picomatch/README.md +0 -743
  212. package/templates/basic/node_modules/picomatch/index.js +0 -17
  213. package/templates/basic/node_modules/picomatch/lib/constants.js +0 -184
  214. package/templates/basic/node_modules/picomatch/lib/parse.js +0 -1416
  215. package/templates/basic/node_modules/picomatch/lib/picomatch.js +0 -361
  216. package/templates/basic/node_modules/picomatch/lib/scan.js +0 -391
  217. package/templates/basic/node_modules/picomatch/lib/utils.js +0 -72
  218. package/templates/basic/node_modules/picomatch/package.json +0 -83
  219. package/templates/basic/node_modules/picomatch/posix.js +0 -3
  220. package/templates/basic/node_modules/postcss/LICENSE +0 -20
  221. package/templates/basic/node_modules/postcss/README.md +0 -25
  222. package/templates/basic/node_modules/postcss/lib/at-rule.d.ts +0 -139
  223. package/templates/basic/node_modules/postcss/lib/at-rule.js +0 -25
  224. package/templates/basic/node_modules/postcss/lib/comment.d.ts +0 -67
  225. package/templates/basic/node_modules/postcss/lib/comment.js +0 -13
  226. package/templates/basic/node_modules/postcss/lib/container.d.ts +0 -478
  227. package/templates/basic/node_modules/postcss/lib/container.js +0 -447
  228. package/templates/basic/node_modules/postcss/lib/css-syntax-error.d.ts +0 -247
  229. package/templates/basic/node_modules/postcss/lib/css-syntax-error.js +0 -133
  230. package/templates/basic/node_modules/postcss/lib/declaration.d.ts +0 -150
  231. package/templates/basic/node_modules/postcss/lib/declaration.js +0 -24
  232. package/templates/basic/node_modules/postcss/lib/document.d.ts +0 -68
  233. package/templates/basic/node_modules/postcss/lib/document.js +0 -33
  234. package/templates/basic/node_modules/postcss/lib/fromJSON.d.ts +0 -9
  235. package/templates/basic/node_modules/postcss/lib/fromJSON.js +0 -68
  236. package/templates/basic/node_modules/postcss/lib/input.d.ts +0 -226
  237. package/templates/basic/node_modules/postcss/lib/input.js +0 -276
  238. package/templates/basic/node_modules/postcss/lib/lazy-result.d.ts +0 -189
  239. package/templates/basic/node_modules/postcss/lib/lazy-result.js +0 -563
  240. package/templates/basic/node_modules/postcss/lib/list.d.ts +0 -60
  241. package/templates/basic/node_modules/postcss/lib/list.js +0 -58
  242. package/templates/basic/node_modules/postcss/lib/map-generator.js +0 -376
  243. package/templates/basic/node_modules/postcss/lib/no-work-result.d.ts +0 -45
  244. package/templates/basic/node_modules/postcss/lib/no-work-result.js +0 -137
  245. package/templates/basic/node_modules/postcss/lib/node.d.ts +0 -555
  246. package/templates/basic/node_modules/postcss/lib/node.js +0 -456
  247. package/templates/basic/node_modules/postcss/lib/parse.d.ts +0 -9
  248. package/templates/basic/node_modules/postcss/lib/parse.js +0 -42
  249. package/templates/basic/node_modules/postcss/lib/parser.js +0 -618
  250. package/templates/basic/node_modules/postcss/lib/postcss.d.mts +0 -66
  251. package/templates/basic/node_modules/postcss/lib/postcss.d.ts +0 -461
  252. package/templates/basic/node_modules/postcss/lib/postcss.js +0 -101
  253. package/templates/basic/node_modules/postcss/lib/postcss.mjs +0 -30
  254. package/templates/basic/node_modules/postcss/lib/previous-map.d.ts +0 -80
  255. package/templates/basic/node_modules/postcss/lib/previous-map.js +0 -161
  256. package/templates/basic/node_modules/postcss/lib/processor.d.ts +0 -114
  257. package/templates/basic/node_modules/postcss/lib/processor.js +0 -67
  258. package/templates/basic/node_modules/postcss/lib/result.d.ts +0 -204
  259. package/templates/basic/node_modules/postcss/lib/result.js +0 -42
  260. package/templates/basic/node_modules/postcss/lib/root.d.ts +0 -86
  261. package/templates/basic/node_modules/postcss/lib/root.js +0 -61
  262. package/templates/basic/node_modules/postcss/lib/rule.d.ts +0 -126
  263. package/templates/basic/node_modules/postcss/lib/rule.js +0 -27
  264. package/templates/basic/node_modules/postcss/lib/stringifier.d.ts +0 -45
  265. package/templates/basic/node_modules/postcss/lib/stringifier.js +0 -374
  266. package/templates/basic/node_modules/postcss/lib/stringify.d.ts +0 -9
  267. package/templates/basic/node_modules/postcss/lib/stringify.js +0 -11
  268. package/templates/basic/node_modules/postcss/lib/symbols.js +0 -5
  269. package/templates/basic/node_modules/postcss/lib/terminal-highlight.js +0 -70
  270. package/templates/basic/node_modules/postcss/lib/tokenize.js +0 -270
  271. package/templates/basic/node_modules/postcss/lib/warn-once.js +0 -13
  272. package/templates/basic/node_modules/postcss/lib/warning.d.ts +0 -146
  273. package/templates/basic/node_modules/postcss/lib/warning.js +0 -37
  274. package/templates/basic/node_modules/postcss/package.json +0 -88
  275. package/templates/basic/node_modules/rolldown/LICENSE +0 -25
  276. package/templates/basic/node_modules/rolldown/README.md +0 -11
  277. package/templates/basic/node_modules/rolldown/bin/cli.mjs +0 -2
  278. package/templates/basic/node_modules/rolldown/dist/cli.d.mts +0 -1
  279. package/templates/basic/node_modules/rolldown/dist/cli.mjs +0 -1202
  280. package/templates/basic/node_modules/rolldown/dist/config.d.mts +0 -14
  281. package/templates/basic/node_modules/rolldown/dist/config.mjs +0 -4
  282. package/templates/basic/node_modules/rolldown/dist/experimental-index.d.mts +0 -280
  283. package/templates/basic/node_modules/rolldown/dist/experimental-index.mjs +0 -331
  284. package/templates/basic/node_modules/rolldown/dist/experimental-runtime-types.d.ts +0 -107
  285. package/templates/basic/node_modules/rolldown/dist/filter-index.d.mts +0 -195
  286. package/templates/basic/node_modules/rolldown/dist/filter-index.mjs +0 -380
  287. package/templates/basic/node_modules/rolldown/dist/get-log-filter.d.mts +0 -3
  288. package/templates/basic/node_modules/rolldown/dist/get-log-filter.mjs +0 -68
  289. package/templates/basic/node_modules/rolldown/dist/index.d.mts +0 -4
  290. package/templates/basic/node_modules/rolldown/dist/index.mjs +0 -50
  291. package/templates/basic/node_modules/rolldown/dist/parallel-plugin-worker.d.mts +0 -1
  292. package/templates/basic/node_modules/rolldown/dist/parallel-plugin-worker.mjs +0 -29
  293. package/templates/basic/node_modules/rolldown/dist/parallel-plugin.d.mts +0 -13
  294. package/templates/basic/node_modules/rolldown/dist/parallel-plugin.mjs +0 -6
  295. package/templates/basic/node_modules/rolldown/dist/parse-ast-index.d.mts +0 -32
  296. package/templates/basic/node_modules/rolldown/dist/parse-ast-index.mjs +0 -60
  297. package/templates/basic/node_modules/rolldown/dist/plugins-index.d.mts +0 -33
  298. package/templates/basic/node_modules/rolldown/dist/plugins-index.mjs +0 -40
  299. package/templates/basic/node_modules/rolldown/dist/shared/binding-B1q9aYT-.d.mts +0 -1947
  300. package/templates/basic/node_modules/rolldown/dist/shared/binding-BmkJW3Wy.mjs +0 -588
  301. package/templates/basic/node_modules/rolldown/dist/shared/bindingify-input-options-BsDhfYrS.mjs +0 -2240
  302. package/templates/basic/node_modules/rolldown/dist/shared/constructors-2i1T9YcF.d.mts +0 -36
  303. package/templates/basic/node_modules/rolldown/dist/shared/constructors-CE6zZSUt.mjs +0 -65
  304. package/templates/basic/node_modules/rolldown/dist/shared/define-config-BBz954-q.d.mts +0 -3901
  305. package/templates/basic/node_modules/rolldown/dist/shared/define-config-Demdg3_4.mjs +0 -6
  306. package/templates/basic/node_modules/rolldown/dist/shared/error-BlQ0-ek7.mjs +0 -85
  307. package/templates/basic/node_modules/rolldown/dist/shared/get-log-filter-BpNVNJ5-.d.mts +0 -35
  308. package/templates/basic/node_modules/rolldown/dist/shared/load-config-FRmAU9xl.mjs +0 -120
  309. package/templates/basic/node_modules/rolldown/dist/shared/logging-BSNejiLS.d.mts +0 -50
  310. package/templates/basic/node_modules/rolldown/dist/shared/logs-aMKUxRpj.mjs +0 -180
  311. package/templates/basic/node_modules/rolldown/dist/shared/misc-CoQm4NHO.mjs +0 -21
  312. package/templates/basic/node_modules/rolldown/dist/shared/normalize-string-or-regex-BYkbbGqQ.mjs +0 -68
  313. package/templates/basic/node_modules/rolldown/dist/shared/parse-DVMnkavl.mjs +0 -74
  314. package/templates/basic/node_modules/rolldown/dist/shared/prompt-B1Yc1NPt.mjs +0 -847
  315. package/templates/basic/node_modules/rolldown/dist/shared/resolve-tsconfig-CdIAR1Eb.mjs +0 -124
  316. package/templates/basic/node_modules/rolldown/dist/shared/rolldown-build-aV0QeeTW.mjs +0 -3264
  317. package/templates/basic/node_modules/rolldown/dist/shared/rolldown-tbHvKzVl.mjs +0 -40
  318. package/templates/basic/node_modules/rolldown/dist/shared/transform-CEmFsvJW.d.mts +0 -149
  319. package/templates/basic/node_modules/rolldown/dist/shared/watch-DIhJ-T1s.mjs +0 -374
  320. package/templates/basic/node_modules/rolldown/dist/utils-index.d.mts +0 -376
  321. package/templates/basic/node_modules/rolldown/dist/utils-index.mjs +0 -2414
  322. package/templates/basic/node_modules/rolldown/package.json +0 -153
  323. package/templates/basic/node_modules/source-map-js/LICENSE +0 -28
  324. package/templates/basic/node_modules/source-map-js/README.md +0 -765
  325. package/templates/basic/node_modules/source-map-js/lib/array-set.js +0 -121
  326. package/templates/basic/node_modules/source-map-js/lib/base64-vlq.js +0 -140
  327. package/templates/basic/node_modules/source-map-js/lib/base64.js +0 -67
  328. package/templates/basic/node_modules/source-map-js/lib/binary-search.js +0 -111
  329. package/templates/basic/node_modules/source-map-js/lib/mapping-list.js +0 -79
  330. package/templates/basic/node_modules/source-map-js/lib/quick-sort.js +0 -132
  331. package/templates/basic/node_modules/source-map-js/lib/source-map-consumer.d.ts +0 -1
  332. package/templates/basic/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
  333. package/templates/basic/node_modules/source-map-js/lib/source-map-generator.d.ts +0 -1
  334. package/templates/basic/node_modules/source-map-js/lib/source-map-generator.js +0 -444
  335. package/templates/basic/node_modules/source-map-js/lib/source-node.d.ts +0 -1
  336. package/templates/basic/node_modules/source-map-js/lib/source-node.js +0 -413
  337. package/templates/basic/node_modules/source-map-js/lib/util.js +0 -594
  338. package/templates/basic/node_modules/source-map-js/package.json +0 -71
  339. package/templates/basic/node_modules/source-map-js/source-map.d.ts +0 -104
  340. package/templates/basic/node_modules/source-map-js/source-map.js +0 -8
  341. package/templates/basic/node_modules/tinyglobby/LICENSE +0 -21
  342. package/templates/basic/node_modules/tinyglobby/README.md +0 -25
  343. package/templates/basic/node_modules/tinyglobby/dist/index.cjs +0 -335
  344. package/templates/basic/node_modules/tinyglobby/dist/index.d.cts +0 -148
  345. package/templates/basic/node_modules/tinyglobby/dist/index.d.mts +0 -148
  346. package/templates/basic/node_modules/tinyglobby/dist/index.mjs +0 -307
  347. package/templates/basic/node_modules/tinyglobby/package.json +0 -70
  348. package/templates/basic/node_modules/typescript/LICENSE.txt +0 -55
  349. package/templates/basic/node_modules/typescript/README.md +0 -50
  350. package/templates/basic/node_modules/typescript/SECURITY.md +0 -39
  351. package/templates/basic/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  352. package/templates/basic/node_modules/typescript/bin/tsc +0 -2
  353. package/templates/basic/node_modules/typescript/bin/tsserver +0 -2
  354. package/templates/basic/node_modules/typescript/lib/_tsc.js +0 -134465
  355. package/templates/basic/node_modules/typescript/lib/_tsserver.js +0 -659
  356. package/templates/basic/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  357. package/templates/basic/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2129
  358. package/templates/basic/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2125
  359. package/templates/basic/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2129
  360. package/templates/basic/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2129
  361. package/templates/basic/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2125
  362. package/templates/basic/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2129
  363. package/templates/basic/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2129
  364. package/templates/basic/node_modules/typescript/lib/lib.d.ts +0 -20
  365. package/templates/basic/node_modules/typescript/lib/lib.decorators.d.ts +0 -382
  366. package/templates/basic/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -20
  367. package/templates/basic/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -18
  368. package/templates/basic/node_modules/typescript/lib/lib.dom.d.ts +0 -45125
  369. package/templates/basic/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -18
  370. package/templates/basic/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -150
  371. package/templates/basic/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -595
  372. package/templates/basic/node_modules/typescript/lib/lib.es2015.d.ts +0 -26
  373. package/templates/basic/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -75
  374. package/templates/basic/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -603
  375. package/templates/basic/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -79
  376. package/templates/basic/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -126
  377. package/templates/basic/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -142
  378. package/templates/basic/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -44
  379. package/templates/basic/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -324
  380. package/templates/basic/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -114
  381. package/templates/basic/node_modules/typescript/lib/lib.es2016.d.ts +0 -19
  382. package/templates/basic/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -21
  383. package/templates/basic/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -29
  384. package/templates/basic/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -19
  385. package/templates/basic/node_modules/typescript/lib/lib.es2017.d.ts +0 -24
  386. package/templates/basic/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -29
  387. package/templates/basic/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -21
  388. package/templates/basic/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -42
  389. package/templates/basic/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -47
  390. package/templates/basic/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -133
  391. package/templates/basic/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -43
  392. package/templates/basic/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -51
  393. package/templates/basic/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -75
  394. package/templates/basic/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -51
  395. package/templates/basic/node_modules/typescript/lib/lib.es2018.d.ts +0 -22
  396. package/templates/basic/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -22
  397. package/templates/basic/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -81
  398. package/templates/basic/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -28
  399. package/templates/basic/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -35
  400. package/templates/basic/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -77
  401. package/templates/basic/node_modules/typescript/lib/lib.es2019.d.ts +0 -22
  402. package/templates/basic/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -22
  403. package/templates/basic/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -21
  404. package/templates/basic/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -31
  405. package/templates/basic/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -35
  406. package/templates/basic/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -22
  407. package/templates/basic/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -763
  408. package/templates/basic/node_modules/typescript/lib/lib.es2020.d.ts +0 -25
  409. package/templates/basic/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -40
  410. package/templates/basic/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -22
  411. package/templates/basic/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -472
  412. package/templates/basic/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -26
  413. package/templates/basic/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -45
  414. package/templates/basic/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
  415. package/templates/basic/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
  416. package/templates/basic/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -39
  417. package/templates/basic/node_modules/typescript/lib/lib.es2021.d.ts +0 -21
  418. package/templates/basic/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -22
  419. package/templates/basic/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -164
  420. package/templates/basic/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -46
  421. package/templates/basic/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -31
  422. package/templates/basic/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
  423. package/templates/basic/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -119
  424. package/templates/basic/node_modules/typescript/lib/lib.es2022.d.ts +0 -23
  425. package/templates/basic/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
  426. package/templates/basic/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -22
  427. package/templates/basic/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -143
  428. package/templates/basic/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -24
  429. package/templates/basic/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -37
  430. package/templates/basic/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -23
  431. package/templates/basic/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -922
  432. package/templates/basic/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -19
  433. package/templates/basic/node_modules/typescript/lib/lib.es2023.d.ts +0 -20
  434. package/templates/basic/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -22
  435. package/templates/basic/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -62
  436. package/templates/basic/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -63
  437. package/templates/basic/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -27
  438. package/templates/basic/node_modules/typescript/lib/lib.es2024.d.ts +0 -24
  439. package/templates/basic/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -22
  440. package/templates/basic/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -27
  441. package/templates/basic/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -33
  442. package/templates/basic/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -23
  443. package/templates/basic/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -66
  444. package/templates/basic/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -27
  445. package/templates/basic/node_modules/typescript/lib/lib.es2025.collection.d.ts +0 -94
  446. package/templates/basic/node_modules/typescript/lib/lib.es2025.d.ts +0 -23
  447. package/templates/basic/node_modules/typescript/lib/lib.es2025.float16.d.ts +0 -443
  448. package/templates/basic/node_modules/typescript/lib/lib.es2025.full.d.ts +0 -22
  449. package/templates/basic/node_modules/typescript/lib/lib.es2025.intl.d.ts +0 -200
  450. package/templates/basic/node_modules/typescript/lib/lib.es2025.iterator.d.ts +0 -146
  451. package/templates/basic/node_modules/typescript/lib/lib.es2025.promise.d.ts +0 -32
  452. package/templates/basic/node_modules/typescript/lib/lib.es2025.regexp.d.ts +0 -30
  453. package/templates/basic/node_modules/typescript/lib/lib.es5.d.ts +0 -4599
  454. package/templates/basic/node_modules/typescript/lib/lib.es6.d.ts +0 -21
  455. package/templates/basic/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -33
  456. package/templates/basic/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -47
  457. package/templates/basic/node_modules/typescript/lib/lib.esnext.d.ts +0 -27
  458. package/templates/basic/node_modules/typescript/lib/lib.esnext.date.d.ts +0 -21
  459. package/templates/basic/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -26
  460. package/templates/basic/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -191
  461. package/templates/basic/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -22
  462. package/templates/basic/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -22
  463. package/templates/basic/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -107
  464. package/templates/basic/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -23
  465. package/templates/basic/node_modules/typescript/lib/lib.esnext.temporal.d.ts +0 -485
  466. package/templates/basic/node_modules/typescript/lib/lib.esnext.typedarrays.d.ts +0 -90
  467. package/templates/basic/node_modules/typescript/lib/lib.scripthost.d.ts +0 -320
  468. package/templates/basic/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -18
  469. package/templates/basic/node_modules/typescript/lib/lib.webworker.d.ts +0 -15606
  470. package/templates/basic/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -21
  471. package/templates/basic/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -18
  472. package/templates/basic/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2129
  473. package/templates/basic/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2129
  474. package/templates/basic/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2125
  475. package/templates/basic/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2129
  476. package/templates/basic/node_modules/typescript/lib/tsc.js +0 -8
  477. package/templates/basic/node_modules/typescript/lib/tsserver.js +0 -8
  478. package/templates/basic/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  479. package/templates/basic/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  480. package/templates/basic/node_modules/typescript/lib/typesMap.json +0 -497
  481. package/templates/basic/node_modules/typescript/lib/typescript.d.ts +0 -11448
  482. package/templates/basic/node_modules/typescript/lib/typescript.js +0 -201039
  483. package/templates/basic/node_modules/typescript/lib/typingsInstaller.js +0 -8
  484. package/templates/basic/node_modules/typescript/lib/watchGuard.js +0 -53
  485. package/templates/basic/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2129
  486. package/templates/basic/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2125
  487. package/templates/basic/node_modules/typescript/package.json +0 -118
  488. package/templates/basic/node_modules/vite/LICENSE.md +0 -2287
  489. package/templates/basic/node_modules/vite/README.md +0 -20
  490. package/templates/basic/node_modules/vite/bin/openChrome.js +0 -68
  491. package/templates/basic/node_modules/vite/bin/vite.js +0 -79
  492. package/templates/basic/node_modules/vite/client.d.ts +0 -285
  493. package/templates/basic/node_modules/vite/dist/client/client.mjs +0 -1269
  494. package/templates/basic/node_modules/vite/dist/client/env.mjs +0 -18
  495. package/templates/basic/node_modules/vite/dist/node/chunks/build.js +0 -5371
  496. package/templates/basic/node_modules/vite/dist/node/chunks/dist.js +0 -6784
  497. package/templates/basic/node_modules/vite/dist/node/chunks/lib.js +0 -371
  498. package/templates/basic/node_modules/vite/dist/node/chunks/logger.js +0 -364
  499. package/templates/basic/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts +0 -96
  500. package/templates/basic/node_modules/vite/dist/node/chunks/node.js +0 -35836
  501. package/templates/basic/node_modules/vite/dist/node/chunks/postcss-import.js +0 -467
  502. package/templates/basic/node_modules/vite/dist/node/cli.js +0 -836
  503. package/templates/basic/node_modules/vite/dist/node/index.d.ts +0 -4011
  504. package/templates/basic/node_modules/vite/dist/node/index.js +0 -3
  505. package/templates/basic/node_modules/vite/dist/node/internal.d.ts +0 -2
  506. package/templates/basic/node_modules/vite/dist/node/internal.js +0 -2
  507. package/templates/basic/node_modules/vite/dist/node/module-runner.d.ts +0 -314
  508. package/templates/basic/node_modules/vite/dist/node/module-runner.js +0 -1274
  509. package/templates/basic/node_modules/vite/misc/false.js +0 -1
  510. package/templates/basic/node_modules/vite/misc/true.js +0 -1
  511. package/templates/basic/node_modules/vite/package.json +0 -194
  512. package/templates/basic/node_modules/vite/types/customEvent.d.ts +0 -79
  513. package/templates/basic/node_modules/vite/types/hmrPayload.d.ts +0 -80
  514. package/templates/basic/node_modules/vite/types/hot.d.ts +0 -39
  515. package/templates/basic/node_modules/vite/types/import-meta.d.ts +0 -5
  516. package/templates/basic/node_modules/vite/types/importGlob.d.ts +0 -131
  517. package/templates/basic/node_modules/vite/types/importMeta.d.ts +0 -30
  518. package/templates/basic/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts +0 -44
  519. package/templates/basic/node_modules/vite/types/internal/esbuildOptions.d.ts +0 -28
  520. package/templates/basic/node_modules/vite/types/internal/lightningcssOptions.d.ts +0 -18
  521. package/templates/basic/node_modules/vite/types/internal/rollupTypeCompat.d.ts +0 -24
  522. package/templates/basic/node_modules/vite/types/internal/terserOptions.d.ts +0 -11
  523. package/templates/basic/node_modules/vite/types/metadata.d.ts +0 -47
  524. package/templates/basic/package-lock.json +0 -926
  525. package/templates/basic/public/apple-touch-icon.png +0 -0
  526. package/templates/basic/public/favicon-16x16.png +0 -0
  527. package/templates/basic/public/favicon-32x32.png +0 -0
  528. package/templates/basic/public/icon-192.png +0 -0
  529. package/templates/basic/public/icon-512.png +0 -0
  530. package/templates/basic/public/site.webmanifest +0 -23
  531. package/templates/basic/vite.config.ts +0 -3
@@ -1,1912 +0,0 @@
1
- // Auto-generated code, DO NOT EDIT DIRECTLY!
2
- // To edit this generated file you have to edit `tasks/ast_tools/src/generators/typescript.rs`.
3
-
4
- export interface Program extends Span {
5
- type: "Program";
6
- body: Array<Directive | Statement>;
7
- sourceType: ModuleKind;
8
- hashbang: Hashbang | null;
9
- parent?: null;
10
- }
11
-
12
- export type Expression =
13
- | BooleanLiteral
14
- | NullLiteral
15
- | NumericLiteral
16
- | BigIntLiteral
17
- | RegExpLiteral
18
- | StringLiteral
19
- | TemplateLiteral
20
- | IdentifierReference
21
- | MetaProperty
22
- | Super
23
- | ArrayExpression
24
- | ArrowFunctionExpression
25
- | AssignmentExpression
26
- | AwaitExpression
27
- | BinaryExpression
28
- | CallExpression
29
- | ChainExpression
30
- | Class
31
- | ConditionalExpression
32
- | Function
33
- | ImportExpression
34
- | LogicalExpression
35
- | NewExpression
36
- | ObjectExpression
37
- | ParenthesizedExpression
38
- | SequenceExpression
39
- | TaggedTemplateExpression
40
- | ThisExpression
41
- | UnaryExpression
42
- | UpdateExpression
43
- | YieldExpression
44
- | PrivateInExpression
45
- | JSXElement
46
- | JSXFragment
47
- | TSAsExpression
48
- | TSSatisfiesExpression
49
- | TSTypeAssertion
50
- | TSNonNullExpression
51
- | TSInstantiationExpression
52
- | V8IntrinsicExpression
53
- | MemberExpression;
54
-
55
- export interface IdentifierName extends Span {
56
- type: "Identifier";
57
- decorators?: [];
58
- name: string;
59
- optional?: false;
60
- typeAnnotation?: null;
61
- parent?: Node;
62
- }
63
-
64
- export interface IdentifierReference extends Span {
65
- type: "Identifier";
66
- decorators?: [];
67
- name: string;
68
- optional?: false;
69
- typeAnnotation?: null;
70
- parent?: Node;
71
- }
72
-
73
- export interface BindingIdentifier extends Span {
74
- type: "Identifier";
75
- decorators?: [];
76
- name: string;
77
- optional?: false;
78
- typeAnnotation?: null;
79
- parent?: Node;
80
- }
81
-
82
- export interface LabelIdentifier extends Span {
83
- type: "Identifier";
84
- decorators?: [];
85
- name: string;
86
- optional?: false;
87
- typeAnnotation?: null;
88
- parent?: Node;
89
- }
90
-
91
- export interface ThisExpression extends Span {
92
- type: "ThisExpression";
93
- parent?: Node;
94
- }
95
-
96
- export interface ArrayExpression extends Span {
97
- type: "ArrayExpression";
98
- elements: Array<ArrayExpressionElement>;
99
- parent?: Node;
100
- }
101
-
102
- export type ArrayExpressionElement = SpreadElement | null | Expression;
103
-
104
- export interface ObjectExpression extends Span {
105
- type: "ObjectExpression";
106
- properties: Array<ObjectPropertyKind>;
107
- parent?: Node;
108
- }
109
-
110
- export type ObjectPropertyKind = ObjectProperty | SpreadElement;
111
-
112
- export interface ObjectProperty extends Span {
113
- type: "Property";
114
- kind: PropertyKind;
115
- key: PropertyKey;
116
- value: Expression;
117
- method: boolean;
118
- shorthand: boolean;
119
- computed: boolean;
120
- optional?: false;
121
- parent?: Node;
122
- }
123
-
124
- export type PropertyKey = IdentifierName | PrivateIdentifier | Expression;
125
-
126
- export type PropertyKind = "init" | "get" | "set";
127
-
128
- export interface TemplateLiteral extends Span {
129
- type: "TemplateLiteral";
130
- quasis: Array<TemplateElement>;
131
- expressions: Array<Expression>;
132
- parent?: Node;
133
- }
134
-
135
- export interface TaggedTemplateExpression extends Span {
136
- type: "TaggedTemplateExpression";
137
- tag: Expression;
138
- typeArguments?: TSTypeParameterInstantiation | null;
139
- quasi: TemplateLiteral;
140
- parent?: Node;
141
- }
142
-
143
- export interface TemplateElement extends Span {
144
- type: "TemplateElement";
145
- value: TemplateElementValue;
146
- tail: boolean;
147
- parent?: Node;
148
- }
149
-
150
- export interface TemplateElementValue {
151
- raw: string;
152
- cooked: string | null;
153
- }
154
-
155
- export type MemberExpression =
156
- | ComputedMemberExpression
157
- | StaticMemberExpression
158
- | PrivateFieldExpression;
159
-
160
- export interface ComputedMemberExpression extends Span {
161
- type: "MemberExpression";
162
- object: Expression;
163
- property: Expression;
164
- optional: boolean;
165
- computed: true;
166
- parent?: Node;
167
- }
168
-
169
- export interface StaticMemberExpression extends Span {
170
- type: "MemberExpression";
171
- object: Expression;
172
- property: IdentifierName;
173
- optional: boolean;
174
- computed: false;
175
- parent?: Node;
176
- }
177
-
178
- export interface PrivateFieldExpression extends Span {
179
- type: "MemberExpression";
180
- object: Expression;
181
- property: PrivateIdentifier;
182
- optional: boolean;
183
- computed: false;
184
- parent?: Node;
185
- }
186
-
187
- export interface CallExpression extends Span {
188
- type: "CallExpression";
189
- callee: Expression;
190
- typeArguments?: TSTypeParameterInstantiation | null;
191
- arguments: Array<Argument>;
192
- optional: boolean;
193
- parent?: Node;
194
- }
195
-
196
- export interface NewExpression extends Span {
197
- type: "NewExpression";
198
- callee: Expression;
199
- typeArguments?: TSTypeParameterInstantiation | null;
200
- arguments: Array<Argument>;
201
- parent?: Node;
202
- }
203
-
204
- export interface MetaProperty extends Span {
205
- type: "MetaProperty";
206
- meta: IdentifierName;
207
- property: IdentifierName;
208
- parent?: Node;
209
- }
210
-
211
- export interface SpreadElement extends Span {
212
- type: "SpreadElement";
213
- argument: Expression;
214
- parent?: Node;
215
- }
216
-
217
- export type Argument = SpreadElement | Expression;
218
-
219
- export interface UpdateExpression extends Span {
220
- type: "UpdateExpression";
221
- operator: UpdateOperator;
222
- prefix: boolean;
223
- argument: SimpleAssignmentTarget;
224
- parent?: Node;
225
- }
226
-
227
- export interface UnaryExpression extends Span {
228
- type: "UnaryExpression";
229
- operator: UnaryOperator;
230
- argument: Expression;
231
- prefix: true;
232
- parent?: Node;
233
- }
234
-
235
- export interface BinaryExpression extends Span {
236
- type: "BinaryExpression";
237
- left: Expression;
238
- operator: BinaryOperator;
239
- right: Expression;
240
- parent?: Node;
241
- }
242
-
243
- export interface PrivateInExpression extends Span {
244
- type: "BinaryExpression";
245
- left: PrivateIdentifier;
246
- operator: "in";
247
- right: Expression;
248
- parent?: Node;
249
- }
250
-
251
- export interface LogicalExpression extends Span {
252
- type: "LogicalExpression";
253
- left: Expression;
254
- operator: LogicalOperator;
255
- right: Expression;
256
- parent?: Node;
257
- }
258
-
259
- export interface ConditionalExpression extends Span {
260
- type: "ConditionalExpression";
261
- test: Expression;
262
- consequent: Expression;
263
- alternate: Expression;
264
- parent?: Node;
265
- }
266
-
267
- export interface AssignmentExpression extends Span {
268
- type: "AssignmentExpression";
269
- operator: AssignmentOperator;
270
- left: AssignmentTarget;
271
- right: Expression;
272
- parent?: Node;
273
- }
274
-
275
- export type AssignmentTarget = SimpleAssignmentTarget | AssignmentTargetPattern;
276
-
277
- export type SimpleAssignmentTarget =
278
- | IdentifierReference
279
- | TSAsExpression
280
- | TSSatisfiesExpression
281
- | TSNonNullExpression
282
- | TSTypeAssertion
283
- | MemberExpression;
284
-
285
- export type AssignmentTargetPattern = ArrayAssignmentTarget | ObjectAssignmentTarget;
286
-
287
- export interface ArrayAssignmentTarget extends Span {
288
- type: "ArrayPattern";
289
- decorators?: [];
290
- elements: Array<AssignmentTargetMaybeDefault | AssignmentTargetRest | null>;
291
- optional?: false;
292
- typeAnnotation?: null;
293
- parent?: Node;
294
- }
295
-
296
- export interface ObjectAssignmentTarget extends Span {
297
- type: "ObjectPattern";
298
- decorators?: [];
299
- properties: Array<AssignmentTargetProperty | AssignmentTargetRest>;
300
- optional?: false;
301
- typeAnnotation?: null;
302
- parent?: Node;
303
- }
304
-
305
- export interface AssignmentTargetRest extends Span {
306
- type: "RestElement";
307
- decorators?: [];
308
- argument: AssignmentTarget;
309
- optional?: false;
310
- typeAnnotation?: null;
311
- value?: null;
312
- parent?: Node;
313
- }
314
-
315
- export type AssignmentTargetMaybeDefault = AssignmentTargetWithDefault | AssignmentTarget;
316
-
317
- export interface AssignmentTargetWithDefault extends Span {
318
- type: "AssignmentPattern";
319
- decorators?: [];
320
- left: AssignmentTarget;
321
- right: Expression;
322
- optional?: false;
323
- typeAnnotation?: null;
324
- parent?: Node;
325
- }
326
-
327
- export type AssignmentTargetProperty =
328
- | AssignmentTargetPropertyIdentifier
329
- | AssignmentTargetPropertyProperty;
330
-
331
- export interface AssignmentTargetPropertyIdentifier extends Span {
332
- type: "Property";
333
- kind: "init";
334
- key: IdentifierReference;
335
- value: IdentifierReference | AssignmentTargetWithDefault;
336
- method: false;
337
- shorthand: true;
338
- computed: false;
339
- optional?: false;
340
- parent?: Node;
341
- }
342
-
343
- export interface AssignmentTargetPropertyProperty extends Span {
344
- type: "Property";
345
- kind: "init";
346
- key: PropertyKey;
347
- value: AssignmentTargetMaybeDefault;
348
- method: false;
349
- shorthand: false;
350
- computed: boolean;
351
- optional?: false;
352
- parent?: Node;
353
- }
354
-
355
- export interface SequenceExpression extends Span {
356
- type: "SequenceExpression";
357
- expressions: Array<Expression>;
358
- parent?: Node;
359
- }
360
-
361
- export interface Super extends Span {
362
- type: "Super";
363
- parent?: Node;
364
- }
365
-
366
- export interface AwaitExpression extends Span {
367
- type: "AwaitExpression";
368
- argument: Expression;
369
- parent?: Node;
370
- }
371
-
372
- export interface ChainExpression extends Span {
373
- type: "ChainExpression";
374
- expression: ChainElement;
375
- parent?: Node;
376
- }
377
-
378
- export type ChainElement = CallExpression | TSNonNullExpression | MemberExpression;
379
-
380
- export interface ParenthesizedExpression extends Span {
381
- type: "ParenthesizedExpression";
382
- expression: Expression;
383
- parent?: Node;
384
- }
385
-
386
- export type Statement =
387
- | BlockStatement
388
- | BreakStatement
389
- | ContinueStatement
390
- | DebuggerStatement
391
- | DoWhileStatement
392
- | EmptyStatement
393
- | ExpressionStatement
394
- | ForInStatement
395
- | ForOfStatement
396
- | ForStatement
397
- | IfStatement
398
- | LabeledStatement
399
- | ReturnStatement
400
- | SwitchStatement
401
- | ThrowStatement
402
- | TryStatement
403
- | WhileStatement
404
- | WithStatement
405
- | Declaration
406
- | ModuleDeclaration;
407
-
408
- export interface Directive extends Span {
409
- type: "ExpressionStatement";
410
- expression: StringLiteral;
411
- directive: string;
412
- parent?: Node;
413
- }
414
-
415
- export interface Hashbang extends Span {
416
- type: "Hashbang";
417
- value: string;
418
- parent?: Node;
419
- }
420
-
421
- export interface BlockStatement extends Span {
422
- type: "BlockStatement";
423
- body: Array<Statement>;
424
- parent?: Node;
425
- }
426
-
427
- export type Declaration =
428
- | VariableDeclaration
429
- | Function
430
- | Class
431
- | TSTypeAliasDeclaration
432
- | TSInterfaceDeclaration
433
- | TSEnumDeclaration
434
- | TSModuleDeclaration
435
- | TSGlobalDeclaration
436
- | TSImportEqualsDeclaration;
437
-
438
- export interface VariableDeclaration extends Span {
439
- type: "VariableDeclaration";
440
- kind: VariableDeclarationKind;
441
- declarations: Array<VariableDeclarator>;
442
- declare?: boolean;
443
- parent?: Node;
444
- }
445
-
446
- export type VariableDeclarationKind = "var" | "let" | "const" | "using" | "await using";
447
-
448
- export interface VariableDeclarator extends Span {
449
- type: "VariableDeclarator";
450
- id: BindingPattern;
451
- init: Expression | null;
452
- definite?: boolean;
453
- parent?: Node;
454
- }
455
-
456
- export interface EmptyStatement extends Span {
457
- type: "EmptyStatement";
458
- parent?: Node;
459
- }
460
-
461
- export interface ExpressionStatement extends Span {
462
- type: "ExpressionStatement";
463
- expression: Expression;
464
- directive?: string | null;
465
- parent?: Node;
466
- }
467
-
468
- export interface IfStatement extends Span {
469
- type: "IfStatement";
470
- test: Expression;
471
- consequent: Statement;
472
- alternate: Statement | null;
473
- parent?: Node;
474
- }
475
-
476
- export interface DoWhileStatement extends Span {
477
- type: "DoWhileStatement";
478
- body: Statement;
479
- test: Expression;
480
- parent?: Node;
481
- }
482
-
483
- export interface WhileStatement extends Span {
484
- type: "WhileStatement";
485
- test: Expression;
486
- body: Statement;
487
- parent?: Node;
488
- }
489
-
490
- export interface ForStatement extends Span {
491
- type: "ForStatement";
492
- init: ForStatementInit | null;
493
- test: Expression | null;
494
- update: Expression | null;
495
- body: Statement;
496
- parent?: Node;
497
- }
498
-
499
- export type ForStatementInit = VariableDeclaration | Expression;
500
-
501
- export interface ForInStatement extends Span {
502
- type: "ForInStatement";
503
- left: ForStatementLeft;
504
- right: Expression;
505
- body: Statement;
506
- parent?: Node;
507
- }
508
-
509
- export type ForStatementLeft = VariableDeclaration | AssignmentTarget;
510
-
511
- export interface ForOfStatement extends Span {
512
- type: "ForOfStatement";
513
- await: boolean;
514
- left: ForStatementLeft;
515
- right: Expression;
516
- body: Statement;
517
- parent?: Node;
518
- }
519
-
520
- export interface ContinueStatement extends Span {
521
- type: "ContinueStatement";
522
- label: LabelIdentifier | null;
523
- parent?: Node;
524
- }
525
-
526
- export interface BreakStatement extends Span {
527
- type: "BreakStatement";
528
- label: LabelIdentifier | null;
529
- parent?: Node;
530
- }
531
-
532
- export interface ReturnStatement extends Span {
533
- type: "ReturnStatement";
534
- argument: Expression | null;
535
- parent?: Node;
536
- }
537
-
538
- export interface WithStatement extends Span {
539
- type: "WithStatement";
540
- object: Expression;
541
- body: Statement;
542
- parent?: Node;
543
- }
544
-
545
- export interface SwitchStatement extends Span {
546
- type: "SwitchStatement";
547
- discriminant: Expression;
548
- cases: Array<SwitchCase>;
549
- parent?: Node;
550
- }
551
-
552
- export interface SwitchCase extends Span {
553
- type: "SwitchCase";
554
- test: Expression | null;
555
- consequent: Array<Statement>;
556
- parent?: Node;
557
- }
558
-
559
- export interface LabeledStatement extends Span {
560
- type: "LabeledStatement";
561
- label: LabelIdentifier;
562
- body: Statement;
563
- parent?: Node;
564
- }
565
-
566
- export interface ThrowStatement extends Span {
567
- type: "ThrowStatement";
568
- argument: Expression;
569
- parent?: Node;
570
- }
571
-
572
- export interface TryStatement extends Span {
573
- type: "TryStatement";
574
- block: BlockStatement;
575
- handler: CatchClause | null;
576
- finalizer: BlockStatement | null;
577
- parent?: Node;
578
- }
579
-
580
- export interface CatchClause extends Span {
581
- type: "CatchClause";
582
- param: BindingPattern | null;
583
- body: BlockStatement;
584
- parent?: Node;
585
- }
586
-
587
- export interface DebuggerStatement extends Span {
588
- type: "DebuggerStatement";
589
- parent?: Node;
590
- }
591
-
592
- export type BindingPattern = BindingIdentifier | ObjectPattern | ArrayPattern | AssignmentPattern;
593
-
594
- export interface AssignmentPattern extends Span {
595
- type: "AssignmentPattern";
596
- decorators?: [];
597
- left: BindingPattern;
598
- right: Expression;
599
- optional?: false;
600
- typeAnnotation?: null;
601
- parent?: Node;
602
- }
603
-
604
- export interface ObjectPattern extends Span {
605
- type: "ObjectPattern";
606
- decorators?: [];
607
- properties: Array<BindingProperty | BindingRestElement>;
608
- optional?: false;
609
- typeAnnotation?: null;
610
- parent?: Node;
611
- }
612
-
613
- export interface BindingProperty extends Span {
614
- type: "Property";
615
- kind: "init";
616
- key: PropertyKey;
617
- value: BindingPattern;
618
- method: false;
619
- shorthand: boolean;
620
- computed: boolean;
621
- optional?: false;
622
- parent?: Node;
623
- }
624
-
625
- export interface ArrayPattern extends Span {
626
- type: "ArrayPattern";
627
- decorators?: [];
628
- elements: Array<BindingPattern | BindingRestElement | null>;
629
- optional?: false;
630
- typeAnnotation?: null;
631
- parent?: Node;
632
- }
633
-
634
- export interface BindingRestElement extends Span {
635
- type: "RestElement";
636
- decorators?: [];
637
- argument: BindingPattern;
638
- optional?: false;
639
- typeAnnotation?: null;
640
- value?: null;
641
- parent?: Node;
642
- }
643
-
644
- export interface Function extends Span {
645
- type: FunctionType;
646
- id: BindingIdentifier | null;
647
- generator: boolean;
648
- async: boolean;
649
- declare?: boolean;
650
- typeParameters?: TSTypeParameterDeclaration | null;
651
- params: ParamPattern[];
652
- returnType?: TSTypeAnnotation | null;
653
- body: FunctionBody | null;
654
- expression: false;
655
- parent?: Node;
656
- }
657
-
658
- export type ParamPattern = FormalParameter | TSParameterProperty | FormalParameterRest;
659
-
660
- export type FunctionType =
661
- | "FunctionDeclaration"
662
- | "FunctionExpression"
663
- | "TSDeclareFunction"
664
- | "TSEmptyBodyFunctionExpression";
665
-
666
- export interface FormalParameterRest extends Span {
667
- type: "RestElement";
668
- argument: BindingPattern;
669
- decorators?: [];
670
- optional?: boolean;
671
- typeAnnotation?: TSTypeAnnotation | null;
672
- value?: null;
673
- parent?: Node;
674
- }
675
-
676
- export type FormalParameter = {
677
- decorators?: Array<Decorator>;
678
- } & BindingPattern;
679
-
680
- export interface TSParameterProperty extends Span {
681
- type: "TSParameterProperty";
682
- accessibility: TSAccessibility | null;
683
- decorators: Array<Decorator>;
684
- override: boolean;
685
- parameter: FormalParameter;
686
- readonly: boolean;
687
- static: boolean;
688
- parent?: Node;
689
- }
690
-
691
- export interface FunctionBody extends Span {
692
- type: "BlockStatement";
693
- body: Array<Directive | Statement>;
694
- parent?: Node;
695
- }
696
-
697
- export interface ArrowFunctionExpression extends Span {
698
- type: "ArrowFunctionExpression";
699
- expression: boolean;
700
- async: boolean;
701
- typeParameters?: TSTypeParameterDeclaration | null;
702
- params: ParamPattern[];
703
- returnType?: TSTypeAnnotation | null;
704
- body: FunctionBody | Expression;
705
- id: null;
706
- generator: false;
707
- parent?: Node;
708
- }
709
-
710
- export interface YieldExpression extends Span {
711
- type: "YieldExpression";
712
- delegate: boolean;
713
- argument: Expression | null;
714
- parent?: Node;
715
- }
716
-
717
- export interface Class extends Span {
718
- type: ClassType;
719
- decorators: Array<Decorator>;
720
- id: BindingIdentifier | null;
721
- typeParameters?: TSTypeParameterDeclaration | null;
722
- superClass: Expression | null;
723
- superTypeArguments?: TSTypeParameterInstantiation | null;
724
- implements?: Array<TSClassImplements>;
725
- body: ClassBody;
726
- abstract?: boolean;
727
- declare?: boolean;
728
- parent?: Node;
729
- }
730
-
731
- export type ClassType = "ClassDeclaration" | "ClassExpression";
732
-
733
- export interface ClassBody extends Span {
734
- type: "ClassBody";
735
- body: Array<ClassElement>;
736
- parent?: Node;
737
- }
738
-
739
- export type ClassElement =
740
- | StaticBlock
741
- | MethodDefinition
742
- | PropertyDefinition
743
- | AccessorProperty
744
- | TSIndexSignature;
745
-
746
- export interface MethodDefinition extends Span {
747
- type: MethodDefinitionType;
748
- decorators: Array<Decorator>;
749
- key: PropertyKey;
750
- value: Function;
751
- kind: MethodDefinitionKind;
752
- computed: boolean;
753
- static: boolean;
754
- override?: boolean;
755
- optional?: boolean;
756
- accessibility?: TSAccessibility | null;
757
- parent?: Node;
758
- }
759
-
760
- export type MethodDefinitionType = "MethodDefinition" | "TSAbstractMethodDefinition";
761
-
762
- export interface PropertyDefinition extends Span {
763
- type: PropertyDefinitionType;
764
- decorators: Array<Decorator>;
765
- key: PropertyKey;
766
- typeAnnotation?: TSTypeAnnotation | null;
767
- value: Expression | null;
768
- computed: boolean;
769
- static: boolean;
770
- declare?: boolean;
771
- override?: boolean;
772
- optional?: boolean;
773
- definite?: boolean;
774
- readonly?: boolean;
775
- accessibility?: TSAccessibility | null;
776
- parent?: Node;
777
- }
778
-
779
- export type PropertyDefinitionType = "PropertyDefinition" | "TSAbstractPropertyDefinition";
780
-
781
- export type MethodDefinitionKind = "constructor" | "method" | "get" | "set";
782
-
783
- export interface PrivateIdentifier extends Span {
784
- type: "PrivateIdentifier";
785
- name: string;
786
- parent?: Node;
787
- }
788
-
789
- export interface StaticBlock extends Span {
790
- type: "StaticBlock";
791
- body: Array<Statement>;
792
- parent?: Node;
793
- }
794
-
795
- export type ModuleDeclaration =
796
- | ImportDeclaration
797
- | ExportAllDeclaration
798
- | ExportDefaultDeclaration
799
- | ExportNamedDeclaration
800
- | TSExportAssignment
801
- | TSNamespaceExportDeclaration;
802
-
803
- export type AccessorPropertyType = "AccessorProperty" | "TSAbstractAccessorProperty";
804
-
805
- export interface AccessorProperty extends Span {
806
- type: AccessorPropertyType;
807
- decorators: Array<Decorator>;
808
- key: PropertyKey;
809
- typeAnnotation?: TSTypeAnnotation | null;
810
- value: Expression | null;
811
- computed: boolean;
812
- static: boolean;
813
- override?: boolean;
814
- definite?: boolean;
815
- accessibility?: TSAccessibility | null;
816
- declare?: false;
817
- optional?: false;
818
- readonly?: false;
819
- parent?: Node;
820
- }
821
-
822
- export interface ImportExpression extends Span {
823
- type: "ImportExpression";
824
- source: Expression;
825
- options: Expression | null;
826
- phase: ImportPhase | null;
827
- parent?: Node;
828
- }
829
-
830
- export interface ImportDeclaration extends Span {
831
- type: "ImportDeclaration";
832
- specifiers: Array<ImportDeclarationSpecifier>;
833
- source: StringLiteral;
834
- phase: ImportPhase | null;
835
- attributes: Array<ImportAttribute>;
836
- importKind?: ImportOrExportKind;
837
- parent?: Node;
838
- }
839
-
840
- export type ImportPhase = "source" | "defer";
841
-
842
- export type ImportDeclarationSpecifier =
843
- | ImportSpecifier
844
- | ImportDefaultSpecifier
845
- | ImportNamespaceSpecifier;
846
-
847
- export interface ImportSpecifier extends Span {
848
- type: "ImportSpecifier";
849
- imported: ModuleExportName;
850
- local: BindingIdentifier;
851
- importKind?: ImportOrExportKind;
852
- parent?: Node;
853
- }
854
-
855
- export interface ImportDefaultSpecifier extends Span {
856
- type: "ImportDefaultSpecifier";
857
- local: BindingIdentifier;
858
- parent?: Node;
859
- }
860
-
861
- export interface ImportNamespaceSpecifier extends Span {
862
- type: "ImportNamespaceSpecifier";
863
- local: BindingIdentifier;
864
- parent?: Node;
865
- }
866
-
867
- export interface ImportAttribute extends Span {
868
- type: "ImportAttribute";
869
- key: ImportAttributeKey;
870
- value: StringLiteral;
871
- parent?: Node;
872
- }
873
-
874
- export type ImportAttributeKey = IdentifierName | StringLiteral;
875
-
876
- export interface ExportNamedDeclaration extends Span {
877
- type: "ExportNamedDeclaration";
878
- declaration: Declaration | null;
879
- specifiers: Array<ExportSpecifier>;
880
- source: StringLiteral | null;
881
- exportKind?: ImportOrExportKind;
882
- attributes: Array<ImportAttribute>;
883
- parent?: Node;
884
- }
885
-
886
- export interface ExportDefaultDeclaration extends Span {
887
- type: "ExportDefaultDeclaration";
888
- declaration: ExportDefaultDeclarationKind;
889
- exportKind?: "value";
890
- parent?: Node;
891
- }
892
-
893
- export interface ExportAllDeclaration extends Span {
894
- type: "ExportAllDeclaration";
895
- exported: ModuleExportName | null;
896
- source: StringLiteral;
897
- attributes: Array<ImportAttribute>;
898
- exportKind?: ImportOrExportKind;
899
- parent?: Node;
900
- }
901
-
902
- export interface ExportSpecifier extends Span {
903
- type: "ExportSpecifier";
904
- local: ModuleExportName;
905
- exported: ModuleExportName;
906
- exportKind?: ImportOrExportKind;
907
- parent?: Node;
908
- }
909
-
910
- export type ExportDefaultDeclarationKind = Function | Class | TSInterfaceDeclaration | Expression;
911
-
912
- export type ModuleExportName = IdentifierName | IdentifierReference | StringLiteral;
913
-
914
- export interface V8IntrinsicExpression extends Span {
915
- type: "V8IntrinsicExpression";
916
- name: IdentifierName;
917
- arguments: Array<Argument>;
918
- parent?: Node;
919
- }
920
-
921
- export interface BooleanLiteral extends Span {
922
- type: "Literal";
923
- value: boolean;
924
- raw: string | null;
925
- parent?: Node;
926
- }
927
-
928
- export interface NullLiteral extends Span {
929
- type: "Literal";
930
- value: null;
931
- raw: "null" | null;
932
- parent?: Node;
933
- }
934
-
935
- export interface NumericLiteral extends Span {
936
- type: "Literal";
937
- value: number;
938
- raw: string | null;
939
- parent?: Node;
940
- }
941
-
942
- export interface StringLiteral extends Span {
943
- type: "Literal";
944
- value: string;
945
- raw: string | null;
946
- parent?: Node;
947
- }
948
-
949
- export interface BigIntLiteral extends Span {
950
- type: "Literal";
951
- value: bigint;
952
- raw: string | null;
953
- bigint: string;
954
- parent?: Node;
955
- }
956
-
957
- export interface RegExpLiteral extends Span {
958
- type: "Literal";
959
- value: RegExp | null;
960
- raw: string | null;
961
- regex: { pattern: string; flags: string };
962
- parent?: Node;
963
- }
964
-
965
- export interface JSXElement extends Span {
966
- type: "JSXElement";
967
- openingElement: JSXOpeningElement;
968
- children: Array<JSXChild>;
969
- closingElement: JSXClosingElement | null;
970
- parent?: Node;
971
- }
972
-
973
- export interface JSXOpeningElement extends Span {
974
- type: "JSXOpeningElement";
975
- name: JSXElementName;
976
- typeArguments?: TSTypeParameterInstantiation | null;
977
- attributes: Array<JSXAttributeItem>;
978
- selfClosing: boolean;
979
- parent?: Node;
980
- }
981
-
982
- export interface JSXClosingElement extends Span {
983
- type: "JSXClosingElement";
984
- name: JSXElementName;
985
- parent?: Node;
986
- }
987
-
988
- export interface JSXFragment extends Span {
989
- type: "JSXFragment";
990
- openingFragment: JSXOpeningFragment;
991
- children: Array<JSXChild>;
992
- closingFragment: JSXClosingFragment;
993
- parent?: Node;
994
- }
995
-
996
- export interface JSXOpeningFragment extends Span {
997
- type: "JSXOpeningFragment";
998
- attributes?: [];
999
- selfClosing?: false;
1000
- parent?: Node;
1001
- }
1002
-
1003
- export interface JSXClosingFragment extends Span {
1004
- type: "JSXClosingFragment";
1005
- parent?: Node;
1006
- }
1007
-
1008
- export type JSXElementName = JSXIdentifier | JSXNamespacedName | JSXMemberExpression;
1009
-
1010
- export interface JSXNamespacedName extends Span {
1011
- type: "JSXNamespacedName";
1012
- namespace: JSXIdentifier;
1013
- name: JSXIdentifier;
1014
- parent?: Node;
1015
- }
1016
-
1017
- export interface JSXMemberExpression extends Span {
1018
- type: "JSXMemberExpression";
1019
- object: JSXMemberExpressionObject;
1020
- property: JSXIdentifier;
1021
- parent?: Node;
1022
- }
1023
-
1024
- export type JSXMemberExpressionObject = JSXIdentifier | JSXMemberExpression;
1025
-
1026
- export interface JSXExpressionContainer extends Span {
1027
- type: "JSXExpressionContainer";
1028
- expression: JSXExpression;
1029
- parent?: Node;
1030
- }
1031
-
1032
- export type JSXExpression = JSXEmptyExpression | Expression;
1033
-
1034
- export interface JSXEmptyExpression extends Span {
1035
- type: "JSXEmptyExpression";
1036
- parent?: Node;
1037
- }
1038
-
1039
- export type JSXAttributeItem = JSXAttribute | JSXSpreadAttribute;
1040
-
1041
- export interface JSXAttribute extends Span {
1042
- type: "JSXAttribute";
1043
- name: JSXAttributeName;
1044
- value: JSXAttributeValue | null;
1045
- parent?: Node;
1046
- }
1047
-
1048
- export interface JSXSpreadAttribute extends Span {
1049
- type: "JSXSpreadAttribute";
1050
- argument: Expression;
1051
- parent?: Node;
1052
- }
1053
-
1054
- export type JSXAttributeName = JSXIdentifier | JSXNamespacedName;
1055
-
1056
- export type JSXAttributeValue = StringLiteral | JSXExpressionContainer | JSXElement | JSXFragment;
1057
-
1058
- export interface JSXIdentifier extends Span {
1059
- type: "JSXIdentifier";
1060
- name: string;
1061
- parent?: Node;
1062
- }
1063
-
1064
- export type JSXChild = JSXText | JSXElement | JSXFragment | JSXExpressionContainer | JSXSpreadChild;
1065
-
1066
- export interface JSXSpreadChild extends Span {
1067
- type: "JSXSpreadChild";
1068
- expression: Expression;
1069
- parent?: Node;
1070
- }
1071
-
1072
- export interface JSXText extends Span {
1073
- type: "JSXText";
1074
- value: string;
1075
- raw: string | null;
1076
- parent?: Node;
1077
- }
1078
-
1079
- export interface TSThisParameter extends Span {
1080
- type: "Identifier";
1081
- decorators: [];
1082
- name: "this";
1083
- optional: false;
1084
- typeAnnotation: TSTypeAnnotation | null;
1085
- parent?: Node;
1086
- }
1087
-
1088
- export interface TSEnumDeclaration extends Span {
1089
- type: "TSEnumDeclaration";
1090
- id: BindingIdentifier;
1091
- body: TSEnumBody;
1092
- const: boolean;
1093
- declare: boolean;
1094
- parent?: Node;
1095
- }
1096
-
1097
- export interface TSEnumBody extends Span {
1098
- type: "TSEnumBody";
1099
- members: Array<TSEnumMember>;
1100
- parent?: Node;
1101
- }
1102
-
1103
- export interface TSEnumMember extends Span {
1104
- type: "TSEnumMember";
1105
- id: TSEnumMemberName;
1106
- initializer: Expression | null;
1107
- computed: boolean;
1108
- parent?: Node;
1109
- }
1110
-
1111
- export type TSEnumMemberName = IdentifierName | StringLiteral | TemplateLiteral;
1112
-
1113
- export interface TSTypeAnnotation extends Span {
1114
- type: "TSTypeAnnotation";
1115
- typeAnnotation: TSType;
1116
- parent?: Node;
1117
- }
1118
-
1119
- export interface TSLiteralType extends Span {
1120
- type: "TSLiteralType";
1121
- literal: TSLiteral;
1122
- parent?: Node;
1123
- }
1124
-
1125
- export type TSLiteral =
1126
- | BooleanLiteral
1127
- | NumericLiteral
1128
- | BigIntLiteral
1129
- | StringLiteral
1130
- | TemplateLiteral
1131
- | UnaryExpression;
1132
-
1133
- export type TSType =
1134
- | TSAnyKeyword
1135
- | TSBigIntKeyword
1136
- | TSBooleanKeyword
1137
- | TSIntrinsicKeyword
1138
- | TSNeverKeyword
1139
- | TSNullKeyword
1140
- | TSNumberKeyword
1141
- | TSObjectKeyword
1142
- | TSStringKeyword
1143
- | TSSymbolKeyword
1144
- | TSUndefinedKeyword
1145
- | TSUnknownKeyword
1146
- | TSVoidKeyword
1147
- | TSArrayType
1148
- | TSConditionalType
1149
- | TSConstructorType
1150
- | TSFunctionType
1151
- | TSImportType
1152
- | TSIndexedAccessType
1153
- | TSInferType
1154
- | TSIntersectionType
1155
- | TSLiteralType
1156
- | TSMappedType
1157
- | TSNamedTupleMember
1158
- | TSTemplateLiteralType
1159
- | TSThisType
1160
- | TSTupleType
1161
- | TSTypeLiteral
1162
- | TSTypeOperator
1163
- | TSTypePredicate
1164
- | TSTypeQuery
1165
- | TSTypeReference
1166
- | TSUnionType
1167
- | TSParenthesizedType
1168
- | JSDocNullableType
1169
- | JSDocNonNullableType
1170
- | JSDocUnknownType;
1171
-
1172
- export interface TSConditionalType extends Span {
1173
- type: "TSConditionalType";
1174
- checkType: TSType;
1175
- extendsType: TSType;
1176
- trueType: TSType;
1177
- falseType: TSType;
1178
- parent?: Node;
1179
- }
1180
-
1181
- export interface TSUnionType extends Span {
1182
- type: "TSUnionType";
1183
- types: Array<TSType>;
1184
- parent?: Node;
1185
- }
1186
-
1187
- export interface TSIntersectionType extends Span {
1188
- type: "TSIntersectionType";
1189
- types: Array<TSType>;
1190
- parent?: Node;
1191
- }
1192
-
1193
- export interface TSParenthesizedType extends Span {
1194
- type: "TSParenthesizedType";
1195
- typeAnnotation: TSType;
1196
- parent?: Node;
1197
- }
1198
-
1199
- export interface TSTypeOperator extends Span {
1200
- type: "TSTypeOperator";
1201
- operator: TSTypeOperatorOperator;
1202
- typeAnnotation: TSType;
1203
- parent?: Node;
1204
- }
1205
-
1206
- export type TSTypeOperatorOperator = "keyof" | "unique" | "readonly";
1207
-
1208
- export interface TSArrayType extends Span {
1209
- type: "TSArrayType";
1210
- elementType: TSType;
1211
- parent?: Node;
1212
- }
1213
-
1214
- export interface TSIndexedAccessType extends Span {
1215
- type: "TSIndexedAccessType";
1216
- objectType: TSType;
1217
- indexType: TSType;
1218
- parent?: Node;
1219
- }
1220
-
1221
- export interface TSTupleType extends Span {
1222
- type: "TSTupleType";
1223
- elementTypes: Array<TSTupleElement>;
1224
- parent?: Node;
1225
- }
1226
-
1227
- export interface TSNamedTupleMember extends Span {
1228
- type: "TSNamedTupleMember";
1229
- label: IdentifierName;
1230
- elementType: TSTupleElement;
1231
- optional: boolean;
1232
- parent?: Node;
1233
- }
1234
-
1235
- export interface TSOptionalType extends Span {
1236
- type: "TSOptionalType";
1237
- typeAnnotation: TSType;
1238
- parent?: Node;
1239
- }
1240
-
1241
- export interface TSRestType extends Span {
1242
- type: "TSRestType";
1243
- typeAnnotation: TSType;
1244
- parent?: Node;
1245
- }
1246
-
1247
- export type TSTupleElement = TSOptionalType | TSRestType | TSType;
1248
-
1249
- export interface TSAnyKeyword extends Span {
1250
- type: "TSAnyKeyword";
1251
- parent?: Node;
1252
- }
1253
-
1254
- export interface TSStringKeyword extends Span {
1255
- type: "TSStringKeyword";
1256
- parent?: Node;
1257
- }
1258
-
1259
- export interface TSBooleanKeyword extends Span {
1260
- type: "TSBooleanKeyword";
1261
- parent?: Node;
1262
- }
1263
-
1264
- export interface TSNumberKeyword extends Span {
1265
- type: "TSNumberKeyword";
1266
- parent?: Node;
1267
- }
1268
-
1269
- export interface TSNeverKeyword extends Span {
1270
- type: "TSNeverKeyword";
1271
- parent?: Node;
1272
- }
1273
-
1274
- export interface TSIntrinsicKeyword extends Span {
1275
- type: "TSIntrinsicKeyword";
1276
- parent?: Node;
1277
- }
1278
-
1279
- export interface TSUnknownKeyword extends Span {
1280
- type: "TSUnknownKeyword";
1281
- parent?: Node;
1282
- }
1283
-
1284
- export interface TSNullKeyword extends Span {
1285
- type: "TSNullKeyword";
1286
- parent?: Node;
1287
- }
1288
-
1289
- export interface TSUndefinedKeyword extends Span {
1290
- type: "TSUndefinedKeyword";
1291
- parent?: Node;
1292
- }
1293
-
1294
- export interface TSVoidKeyword extends Span {
1295
- type: "TSVoidKeyword";
1296
- parent?: Node;
1297
- }
1298
-
1299
- export interface TSSymbolKeyword extends Span {
1300
- type: "TSSymbolKeyword";
1301
- parent?: Node;
1302
- }
1303
-
1304
- export interface TSThisType extends Span {
1305
- type: "TSThisType";
1306
- parent?: Node;
1307
- }
1308
-
1309
- export interface TSObjectKeyword extends Span {
1310
- type: "TSObjectKeyword";
1311
- parent?: Node;
1312
- }
1313
-
1314
- export interface TSBigIntKeyword extends Span {
1315
- type: "TSBigIntKeyword";
1316
- parent?: Node;
1317
- }
1318
-
1319
- export interface TSTypeReference extends Span {
1320
- type: "TSTypeReference";
1321
- typeName: TSTypeName;
1322
- typeArguments: TSTypeParameterInstantiation | null;
1323
- parent?: Node;
1324
- }
1325
-
1326
- export type TSTypeName = IdentifierReference | TSQualifiedName | ThisExpression;
1327
-
1328
- export interface TSQualifiedName extends Span {
1329
- type: "TSQualifiedName";
1330
- left: TSTypeName;
1331
- right: IdentifierName;
1332
- parent?: Node;
1333
- }
1334
-
1335
- export interface TSTypeParameterInstantiation extends Span {
1336
- type: "TSTypeParameterInstantiation";
1337
- params: Array<TSType>;
1338
- parent?: Node;
1339
- }
1340
-
1341
- export interface TSTypeParameter extends Span {
1342
- type: "TSTypeParameter";
1343
- name: BindingIdentifier;
1344
- constraint: TSType | null;
1345
- default: TSType | null;
1346
- in: boolean;
1347
- out: boolean;
1348
- const: boolean;
1349
- parent?: Node;
1350
- }
1351
-
1352
- export interface TSTypeParameterDeclaration extends Span {
1353
- type: "TSTypeParameterDeclaration";
1354
- params: Array<TSTypeParameter>;
1355
- parent?: Node;
1356
- }
1357
-
1358
- export interface TSTypeAliasDeclaration extends Span {
1359
- type: "TSTypeAliasDeclaration";
1360
- id: BindingIdentifier;
1361
- typeParameters: TSTypeParameterDeclaration | null;
1362
- typeAnnotation: TSType;
1363
- declare: boolean;
1364
- parent?: Node;
1365
- }
1366
-
1367
- export type TSAccessibility = "private" | "protected" | "public";
1368
-
1369
- export interface TSClassImplements extends Span {
1370
- type: "TSClassImplements";
1371
- expression: IdentifierReference | ThisExpression | MemberExpression;
1372
- typeArguments: TSTypeParameterInstantiation | null;
1373
- parent?: Node;
1374
- }
1375
-
1376
- export interface TSInterfaceDeclaration extends Span {
1377
- type: "TSInterfaceDeclaration";
1378
- id: BindingIdentifier;
1379
- typeParameters: TSTypeParameterDeclaration | null;
1380
- extends: Array<TSInterfaceHeritage>;
1381
- body: TSInterfaceBody;
1382
- declare: boolean;
1383
- parent?: Node;
1384
- }
1385
-
1386
- export interface TSInterfaceBody extends Span {
1387
- type: "TSInterfaceBody";
1388
- body: Array<TSSignature>;
1389
- parent?: Node;
1390
- }
1391
-
1392
- export interface TSPropertySignature extends Span {
1393
- type: "TSPropertySignature";
1394
- computed: boolean;
1395
- optional: boolean;
1396
- readonly: boolean;
1397
- key: PropertyKey;
1398
- typeAnnotation: TSTypeAnnotation | null;
1399
- accessibility: null;
1400
- static: false;
1401
- parent?: Node;
1402
- }
1403
-
1404
- export type TSSignature =
1405
- | TSIndexSignature
1406
- | TSPropertySignature
1407
- | TSCallSignatureDeclaration
1408
- | TSConstructSignatureDeclaration
1409
- | TSMethodSignature;
1410
-
1411
- export interface TSIndexSignature extends Span {
1412
- type: "TSIndexSignature";
1413
- parameters: Array<TSIndexSignatureName>;
1414
- typeAnnotation: TSTypeAnnotation;
1415
- readonly: boolean;
1416
- static: boolean;
1417
- accessibility: null;
1418
- parent?: Node;
1419
- }
1420
-
1421
- export interface TSCallSignatureDeclaration extends Span {
1422
- type: "TSCallSignatureDeclaration";
1423
- typeParameters: TSTypeParameterDeclaration | null;
1424
- params: ParamPattern[];
1425
- returnType: TSTypeAnnotation | null;
1426
- parent?: Node;
1427
- }
1428
-
1429
- export type TSMethodSignatureKind = "method" | "get" | "set";
1430
-
1431
- export interface TSMethodSignature extends Span {
1432
- type: "TSMethodSignature";
1433
- key: PropertyKey;
1434
- computed: boolean;
1435
- optional: boolean;
1436
- kind: TSMethodSignatureKind;
1437
- typeParameters: TSTypeParameterDeclaration | null;
1438
- params: ParamPattern[];
1439
- returnType: TSTypeAnnotation | null;
1440
- accessibility: null;
1441
- readonly: false;
1442
- static: false;
1443
- parent?: Node;
1444
- }
1445
-
1446
- export interface TSConstructSignatureDeclaration extends Span {
1447
- type: "TSConstructSignatureDeclaration";
1448
- typeParameters: TSTypeParameterDeclaration | null;
1449
- params: ParamPattern[];
1450
- returnType: TSTypeAnnotation | null;
1451
- parent?: Node;
1452
- }
1453
-
1454
- export interface TSIndexSignatureName extends Span {
1455
- type: "Identifier";
1456
- decorators: [];
1457
- name: string;
1458
- optional: false;
1459
- typeAnnotation: TSTypeAnnotation;
1460
- parent?: Node;
1461
- }
1462
-
1463
- export interface TSInterfaceHeritage extends Span {
1464
- type: "TSInterfaceHeritage";
1465
- expression: Expression;
1466
- typeArguments: TSTypeParameterInstantiation | null;
1467
- parent?: Node;
1468
- }
1469
-
1470
- export interface TSTypePredicate extends Span {
1471
- type: "TSTypePredicate";
1472
- parameterName: TSTypePredicateName;
1473
- asserts: boolean;
1474
- typeAnnotation: TSTypeAnnotation | null;
1475
- parent?: Node;
1476
- }
1477
-
1478
- export type TSTypePredicateName = IdentifierName | TSThisType;
1479
-
1480
- export interface TSModuleDeclaration extends Span {
1481
- type: "TSModuleDeclaration";
1482
- id: BindingIdentifier | StringLiteral | TSQualifiedName;
1483
- body: TSModuleBlock | null;
1484
- kind: TSModuleDeclarationKind;
1485
- declare: boolean;
1486
- global: false;
1487
- parent?: Node;
1488
- }
1489
-
1490
- export type TSModuleDeclarationKind = "module" | "namespace";
1491
-
1492
- export interface TSGlobalDeclaration extends Span {
1493
- type: "TSModuleDeclaration";
1494
- id: IdentifierName;
1495
- body: TSModuleBlock;
1496
- kind: "global";
1497
- declare: boolean;
1498
- global: true;
1499
- parent?: Node;
1500
- }
1501
-
1502
- export interface TSModuleBlock extends Span {
1503
- type: "TSModuleBlock";
1504
- body: Array<Directive | Statement>;
1505
- parent?: Node;
1506
- }
1507
-
1508
- export interface TSTypeLiteral extends Span {
1509
- type: "TSTypeLiteral";
1510
- members: Array<TSSignature>;
1511
- parent?: Node;
1512
- }
1513
-
1514
- export interface TSInferType extends Span {
1515
- type: "TSInferType";
1516
- typeParameter: TSTypeParameter;
1517
- parent?: Node;
1518
- }
1519
-
1520
- export interface TSTypeQuery extends Span {
1521
- type: "TSTypeQuery";
1522
- exprName: TSTypeQueryExprName;
1523
- typeArguments: TSTypeParameterInstantiation | null;
1524
- parent?: Node;
1525
- }
1526
-
1527
- export type TSTypeQueryExprName = TSImportType | TSTypeName;
1528
-
1529
- export interface TSImportType extends Span {
1530
- type: "TSImportType";
1531
- source: StringLiteral;
1532
- options: ObjectExpression | null;
1533
- qualifier: TSImportTypeQualifier | null;
1534
- typeArguments: TSTypeParameterInstantiation | null;
1535
- parent?: Node;
1536
- }
1537
-
1538
- export type TSImportTypeQualifier = IdentifierName | TSImportTypeQualifiedName;
1539
-
1540
- export interface TSImportTypeQualifiedName extends Span {
1541
- type: "TSQualifiedName";
1542
- left: TSImportTypeQualifier;
1543
- right: IdentifierName;
1544
- parent?: Node;
1545
- }
1546
-
1547
- export interface TSFunctionType extends Span {
1548
- type: "TSFunctionType";
1549
- typeParameters: TSTypeParameterDeclaration | null;
1550
- params: ParamPattern[];
1551
- returnType: TSTypeAnnotation;
1552
- parent?: Node;
1553
- }
1554
-
1555
- export interface TSConstructorType extends Span {
1556
- type: "TSConstructorType";
1557
- abstract: boolean;
1558
- typeParameters: TSTypeParameterDeclaration | null;
1559
- params: ParamPattern[];
1560
- returnType: TSTypeAnnotation;
1561
- parent?: Node;
1562
- }
1563
-
1564
- export interface TSMappedType extends Span {
1565
- type: "TSMappedType";
1566
- key: BindingIdentifier;
1567
- constraint: TSType;
1568
- nameType: TSType | null;
1569
- typeAnnotation: TSType | null;
1570
- optional: TSMappedTypeModifierOperator | false;
1571
- readonly: TSMappedTypeModifierOperator | null;
1572
- parent?: Node;
1573
- }
1574
-
1575
- export type TSMappedTypeModifierOperator = true | "+" | "-";
1576
-
1577
- export interface TSTemplateLiteralType extends Span {
1578
- type: "TSTemplateLiteralType";
1579
- quasis: Array<TemplateElement>;
1580
- types: Array<TSType>;
1581
- parent?: Node;
1582
- }
1583
-
1584
- export interface TSAsExpression extends Span {
1585
- type: "TSAsExpression";
1586
- expression: Expression;
1587
- typeAnnotation: TSType;
1588
- parent?: Node;
1589
- }
1590
-
1591
- export interface TSSatisfiesExpression extends Span {
1592
- type: "TSSatisfiesExpression";
1593
- expression: Expression;
1594
- typeAnnotation: TSType;
1595
- parent?: Node;
1596
- }
1597
-
1598
- export interface TSTypeAssertion extends Span {
1599
- type: "TSTypeAssertion";
1600
- typeAnnotation: TSType;
1601
- expression: Expression;
1602
- parent?: Node;
1603
- }
1604
-
1605
- export interface TSImportEqualsDeclaration extends Span {
1606
- type: "TSImportEqualsDeclaration";
1607
- id: BindingIdentifier;
1608
- moduleReference: TSModuleReference;
1609
- importKind: ImportOrExportKind;
1610
- parent?: Node;
1611
- }
1612
-
1613
- export type TSModuleReference = TSExternalModuleReference | IdentifierReference | TSQualifiedName;
1614
-
1615
- export interface TSExternalModuleReference extends Span {
1616
- type: "TSExternalModuleReference";
1617
- expression: StringLiteral;
1618
- parent?: Node;
1619
- }
1620
-
1621
- export interface TSNonNullExpression extends Span {
1622
- type: "TSNonNullExpression";
1623
- expression: Expression;
1624
- parent?: Node;
1625
- }
1626
-
1627
- export interface Decorator extends Span {
1628
- type: "Decorator";
1629
- expression: Expression;
1630
- parent?: Node;
1631
- }
1632
-
1633
- export interface TSExportAssignment extends Span {
1634
- type: "TSExportAssignment";
1635
- expression: Expression;
1636
- parent?: Node;
1637
- }
1638
-
1639
- export interface TSNamespaceExportDeclaration extends Span {
1640
- type: "TSNamespaceExportDeclaration";
1641
- id: IdentifierName;
1642
- parent?: Node;
1643
- }
1644
-
1645
- export interface TSInstantiationExpression extends Span {
1646
- type: "TSInstantiationExpression";
1647
- expression: Expression;
1648
- typeArguments: TSTypeParameterInstantiation;
1649
- parent?: Node;
1650
- }
1651
-
1652
- export type ImportOrExportKind = "value" | "type";
1653
-
1654
- export interface JSDocNullableType extends Span {
1655
- type: "TSJSDocNullableType";
1656
- typeAnnotation: TSType;
1657
- postfix: boolean;
1658
- parent?: Node;
1659
- }
1660
-
1661
- export interface JSDocNonNullableType extends Span {
1662
- type: "TSJSDocNonNullableType";
1663
- typeAnnotation: TSType;
1664
- postfix: boolean;
1665
- parent?: Node;
1666
- }
1667
-
1668
- export interface JSDocUnknownType extends Span {
1669
- type: "TSJSDocUnknownType";
1670
- parent?: Node;
1671
- }
1672
-
1673
- export type ModuleKind = "script" | "module" | "commonjs";
1674
-
1675
- export interface Span {
1676
- start: number;
1677
- end: number;
1678
- range?: [number, number];
1679
- }
1680
-
1681
- export type AssignmentOperator =
1682
- | "="
1683
- | "+="
1684
- | "-="
1685
- | "*="
1686
- | "/="
1687
- | "%="
1688
- | "**="
1689
- | "<<="
1690
- | ">>="
1691
- | ">>>="
1692
- | "|="
1693
- | "^="
1694
- | "&="
1695
- | "||="
1696
- | "&&="
1697
- | "??=";
1698
-
1699
- export type BinaryOperator =
1700
- | "=="
1701
- | "!="
1702
- | "==="
1703
- | "!=="
1704
- | "<"
1705
- | "<="
1706
- | ">"
1707
- | ">="
1708
- | "+"
1709
- | "-"
1710
- | "*"
1711
- | "/"
1712
- | "%"
1713
- | "**"
1714
- | "<<"
1715
- | ">>"
1716
- | ">>>"
1717
- | "|"
1718
- | "^"
1719
- | "&"
1720
- | "in"
1721
- | "instanceof";
1722
-
1723
- export type LogicalOperator = "||" | "&&" | "??";
1724
-
1725
- export type UnaryOperator = "+" | "-" | "!" | "~" | "typeof" | "void" | "delete";
1726
-
1727
- export type UpdateOperator = "++" | "--";
1728
-
1729
- export type Node =
1730
- | Program
1731
- | IdentifierName
1732
- | IdentifierReference
1733
- | BindingIdentifier
1734
- | LabelIdentifier
1735
- | ThisExpression
1736
- | ArrayExpression
1737
- | ObjectExpression
1738
- | ObjectProperty
1739
- | TemplateLiteral
1740
- | TaggedTemplateExpression
1741
- | TemplateElement
1742
- | ComputedMemberExpression
1743
- | StaticMemberExpression
1744
- | PrivateFieldExpression
1745
- | CallExpression
1746
- | NewExpression
1747
- | MetaProperty
1748
- | SpreadElement
1749
- | UpdateExpression
1750
- | UnaryExpression
1751
- | BinaryExpression
1752
- | PrivateInExpression
1753
- | LogicalExpression
1754
- | ConditionalExpression
1755
- | AssignmentExpression
1756
- | ArrayAssignmentTarget
1757
- | ObjectAssignmentTarget
1758
- | AssignmentTargetRest
1759
- | AssignmentTargetWithDefault
1760
- | AssignmentTargetPropertyIdentifier
1761
- | AssignmentTargetPropertyProperty
1762
- | SequenceExpression
1763
- | Super
1764
- | AwaitExpression
1765
- | ChainExpression
1766
- | ParenthesizedExpression
1767
- | Directive
1768
- | Hashbang
1769
- | BlockStatement
1770
- | VariableDeclaration
1771
- | VariableDeclarator
1772
- | EmptyStatement
1773
- | ExpressionStatement
1774
- | IfStatement
1775
- | DoWhileStatement
1776
- | WhileStatement
1777
- | ForStatement
1778
- | ForInStatement
1779
- | ForOfStatement
1780
- | ContinueStatement
1781
- | BreakStatement
1782
- | ReturnStatement
1783
- | WithStatement
1784
- | SwitchStatement
1785
- | SwitchCase
1786
- | LabeledStatement
1787
- | ThrowStatement
1788
- | TryStatement
1789
- | CatchClause
1790
- | DebuggerStatement
1791
- | AssignmentPattern
1792
- | ObjectPattern
1793
- | BindingProperty
1794
- | ArrayPattern
1795
- | BindingRestElement
1796
- | Function
1797
- | FunctionBody
1798
- | ArrowFunctionExpression
1799
- | YieldExpression
1800
- | Class
1801
- | ClassBody
1802
- | MethodDefinition
1803
- | PropertyDefinition
1804
- | PrivateIdentifier
1805
- | StaticBlock
1806
- | AccessorProperty
1807
- | ImportExpression
1808
- | ImportDeclaration
1809
- | ImportSpecifier
1810
- | ImportDefaultSpecifier
1811
- | ImportNamespaceSpecifier
1812
- | ImportAttribute
1813
- | ExportNamedDeclaration
1814
- | ExportDefaultDeclaration
1815
- | ExportAllDeclaration
1816
- | ExportSpecifier
1817
- | V8IntrinsicExpression
1818
- | BooleanLiteral
1819
- | NullLiteral
1820
- | NumericLiteral
1821
- | StringLiteral
1822
- | BigIntLiteral
1823
- | RegExpLiteral
1824
- | JSXElement
1825
- | JSXOpeningElement
1826
- | JSXClosingElement
1827
- | JSXFragment
1828
- | JSXOpeningFragment
1829
- | JSXClosingFragment
1830
- | JSXNamespacedName
1831
- | JSXMemberExpression
1832
- | JSXExpressionContainer
1833
- | JSXEmptyExpression
1834
- | JSXAttribute
1835
- | JSXSpreadAttribute
1836
- | JSXIdentifier
1837
- | JSXSpreadChild
1838
- | JSXText
1839
- | TSThisParameter
1840
- | TSEnumDeclaration
1841
- | TSEnumBody
1842
- | TSEnumMember
1843
- | TSTypeAnnotation
1844
- | TSLiteralType
1845
- | TSConditionalType
1846
- | TSUnionType
1847
- | TSIntersectionType
1848
- | TSParenthesizedType
1849
- | TSTypeOperator
1850
- | TSArrayType
1851
- | TSIndexedAccessType
1852
- | TSTupleType
1853
- | TSNamedTupleMember
1854
- | TSOptionalType
1855
- | TSRestType
1856
- | TSAnyKeyword
1857
- | TSStringKeyword
1858
- | TSBooleanKeyword
1859
- | TSNumberKeyword
1860
- | TSNeverKeyword
1861
- | TSIntrinsicKeyword
1862
- | TSUnknownKeyword
1863
- | TSNullKeyword
1864
- | TSUndefinedKeyword
1865
- | TSVoidKeyword
1866
- | TSSymbolKeyword
1867
- | TSThisType
1868
- | TSObjectKeyword
1869
- | TSBigIntKeyword
1870
- | TSTypeReference
1871
- | TSQualifiedName
1872
- | TSTypeParameterInstantiation
1873
- | TSTypeParameter
1874
- | TSTypeParameterDeclaration
1875
- | TSTypeAliasDeclaration
1876
- | TSClassImplements
1877
- | TSInterfaceDeclaration
1878
- | TSInterfaceBody
1879
- | TSPropertySignature
1880
- | TSIndexSignature
1881
- | TSCallSignatureDeclaration
1882
- | TSMethodSignature
1883
- | TSConstructSignatureDeclaration
1884
- | TSIndexSignatureName
1885
- | TSInterfaceHeritage
1886
- | TSTypePredicate
1887
- | TSModuleDeclaration
1888
- | TSGlobalDeclaration
1889
- | TSModuleBlock
1890
- | TSTypeLiteral
1891
- | TSInferType
1892
- | TSTypeQuery
1893
- | TSImportType
1894
- | TSImportTypeQualifiedName
1895
- | TSFunctionType
1896
- | TSConstructorType
1897
- | TSMappedType
1898
- | TSTemplateLiteralType
1899
- | TSAsExpression
1900
- | TSSatisfiesExpression
1901
- | TSTypeAssertion
1902
- | TSImportEqualsDeclaration
1903
- | TSExternalModuleReference
1904
- | TSNonNullExpression
1905
- | Decorator
1906
- | TSExportAssignment
1907
- | TSNamespaceExportDeclaration
1908
- | TSInstantiationExpression
1909
- | JSDocNullableType
1910
- | JSDocNonNullableType
1911
- | JSDocUnknownType
1912
- | ParamPattern;