svelte-on-rails 0.0.30 → 0.0.31

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 (1358) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -2
  3. data/lib/svelte_on_rails/compiler/compile.js +27 -32
  4. data/lib/svelte_on_rails/compiler/compiler.rb +82 -77
  5. data/lib/svelte_on_rails/installer/rails_template/app/frontend/javascript/components/Pug.svelte +14 -0
  6. data/lib/svelte_on_rails/installer/rails_template/app/views/svelte_on_rails_hello_world/index.haml +3 -1
  7. data/lib/tasks/svelte_on_rails_tasks.rake +5 -6
  8. metadata +3 -1352
  9. data/lib/svelte_on_rails/node_modules/@ampproject/remapping/LICENSE +0 -202
  10. data/lib/svelte_on_rails/node_modules/@ampproject/remapping/README.md +0 -218
  11. data/lib/svelte_on_rails/node_modules/@ampproject/remapping/dist/remapping.mjs +0 -197
  12. data/lib/svelte_on_rails/node_modules/@ampproject/remapping/dist/remapping.mjs.map +0 -1
  13. data/lib/svelte_on_rails/node_modules/@ampproject/remapping/dist/remapping.umd.js +0 -202
  14. data/lib/svelte_on_rails/node_modules/@ampproject/remapping/dist/remapping.umd.js.map +0 -1
  15. data/lib/svelte_on_rails/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts +0 -14
  16. data/lib/svelte_on_rails/node_modules/@ampproject/remapping/dist/types/remapping.d.ts +0 -20
  17. data/lib/svelte_on_rails/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts +0 -45
  18. data/lib/svelte_on_rails/node_modules/@ampproject/remapping/dist/types/source-map.d.ts +0 -18
  19. data/lib/svelte_on_rails/node_modules/@ampproject/remapping/dist/types/types.d.ts +0 -15
  20. data/lib/svelte_on_rails/node_modules/@ampproject/remapping/package.json +0 -75
  21. data/lib/svelte_on_rails/node_modules/@jridgewell/gen-mapping/LICENSE +0 -19
  22. data/lib/svelte_on_rails/node_modules/@jridgewell/gen-mapping/README.md +0 -227
  23. data/lib/svelte_on_rails/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +0 -230
  24. data/lib/svelte_on_rails/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +0 -1
  25. data/lib/svelte_on_rails/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +0 -246
  26. data/lib/svelte_on_rails/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +0 -1
  27. data/lib/svelte_on_rails/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +0 -88
  28. data/lib/svelte_on_rails/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +0 -12
  29. data/lib/svelte_on_rails/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +0 -36
  30. data/lib/svelte_on_rails/node_modules/@jridgewell/gen-mapping/package.json +0 -76
  31. data/lib/svelte_on_rails/node_modules/@jridgewell/resolve-uri/LICENSE +0 -19
  32. data/lib/svelte_on_rails/node_modules/@jridgewell/resolve-uri/README.md +0 -40
  33. data/lib/svelte_on_rails/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs +0 -232
  34. data/lib/svelte_on_rails/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +0 -1
  35. data/lib/svelte_on_rails/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +0 -240
  36. data/lib/svelte_on_rails/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +0 -1
  37. data/lib/svelte_on_rails/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +0 -4
  38. data/lib/svelte_on_rails/node_modules/@jridgewell/resolve-uri/package.json +0 -69
  39. data/lib/svelte_on_rails/node_modules/@jridgewell/set-array/LICENSE +0 -19
  40. data/lib/svelte_on_rails/node_modules/@jridgewell/set-array/README.md +0 -37
  41. data/lib/svelte_on_rails/node_modules/@jridgewell/set-array/dist/set-array.mjs +0 -69
  42. data/lib/svelte_on_rails/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +0 -1
  43. data/lib/svelte_on_rails/node_modules/@jridgewell/set-array/dist/set-array.umd.js +0 -83
  44. data/lib/svelte_on_rails/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +0 -1
  45. data/lib/svelte_on_rails/node_modules/@jridgewell/set-array/dist/types/set-array.d.ts +0 -32
  46. data/lib/svelte_on_rails/node_modules/@jridgewell/set-array/package.json +0 -65
  47. data/lib/svelte_on_rails/node_modules/@jridgewell/sourcemap-codec/LICENSE +0 -21
  48. data/lib/svelte_on_rails/node_modules/@jridgewell/sourcemap-codec/README.md +0 -264
  49. data/lib/svelte_on_rails/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +0 -424
  50. data/lib/svelte_on_rails/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +0 -1
  51. data/lib/svelte_on_rails/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +0 -439
  52. data/lib/svelte_on_rails/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +0 -1
  53. data/lib/svelte_on_rails/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +0 -49
  54. data/lib/svelte_on_rails/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +0 -8
  55. data/lib/svelte_on_rails/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +0 -15
  56. data/lib/svelte_on_rails/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +0 -6
  57. data/lib/svelte_on_rails/node_modules/@jridgewell/sourcemap-codec/package.json +0 -75
  58. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/LICENSE +0 -19
  59. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/README.md +0 -257
  60. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +0 -580
  61. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +0 -1
  62. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +0 -600
  63. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +0 -1
  64. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +0 -8
  65. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts +0 -32
  66. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts +0 -7
  67. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +0 -1
  68. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts +0 -2
  69. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +0 -16
  70. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts +0 -4
  71. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +0 -79
  72. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +0 -99
  73. data/lib/svelte_on_rails/node_modules/@jridgewell/trace-mapping/package.json +0 -77
  74. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/LICENSE +0 -21
  75. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/README.md +0 -475
  76. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/dist/cjs/index.js +0 -2331
  77. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/dist/es/index.js +0 -2326
  78. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/dist/es/package.json +0 -1
  79. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/node_modules/is-reference/CHANGELOG.md +0 -37
  80. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/node_modules/is-reference/README.md +0 -61
  81. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/node_modules/is-reference/dist/is-reference.es.js +0 -31
  82. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/node_modules/is-reference/dist/is-reference.js +0 -39
  83. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/node_modules/is-reference/dist/types/index.d.ts +0 -2
  84. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/node_modules/is-reference/package.json +0 -49
  85. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/package.json +0 -91
  86. data/lib/svelte_on_rails/node_modules/@rollup/plugin-commonjs/types/index.d.ts +0 -233
  87. data/lib/svelte_on_rails/node_modules/@rollup/plugin-node-resolve/LICENSE +0 -21
  88. data/lib/svelte_on_rails/node_modules/@rollup/plugin-node-resolve/README.md +0 -296
  89. data/lib/svelte_on_rails/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +0 -1377
  90. data/lib/svelte_on_rails/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +0 -1370
  91. data/lib/svelte_on_rails/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +0 -1
  92. data/lib/svelte_on_rails/node_modules/@rollup/plugin-node-resolve/package.json +0 -89
  93. data/lib/svelte_on_rails/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +0 -122
  94. data/lib/svelte_on_rails/node_modules/@rollup/plugin-url/README.md +0 -137
  95. data/lib/svelte_on_rails/node_modules/@rollup/plugin-url/dist/cjs/index.js +0 -127
  96. data/lib/svelte_on_rails/node_modules/@rollup/plugin-url/dist/es/index.js +0 -122
  97. data/lib/svelte_on_rails/node_modules/@rollup/plugin-url/dist/es/package.json +0 -1
  98. data/lib/svelte_on_rails/node_modules/@rollup/plugin-url/package.json +0 -80
  99. data/lib/svelte_on_rails/node_modules/@rollup/plugin-url/types/index.d.ts +0 -66
  100. data/lib/svelte_on_rails/node_modules/@rollup/pluginutils/LICENSE +0 -21
  101. data/lib/svelte_on_rails/node_modules/@rollup/pluginutils/README.md +0 -262
  102. data/lib/svelte_on_rails/node_modules/@rollup/pluginutils/dist/cjs/index.js +0 -377
  103. data/lib/svelte_on_rails/node_modules/@rollup/pluginutils/dist/es/index.js +0 -365
  104. data/lib/svelte_on_rails/node_modules/@rollup/pluginutils/dist/es/package.json +0 -1
  105. data/lib/svelte_on_rails/node_modules/@rollup/pluginutils/package.json +0 -99
  106. data/lib/svelte_on_rails/node_modules/@rollup/pluginutils/types/index.d.ts +0 -98
  107. data/lib/svelte_on_rails/node_modules/@rollup/rollup-darwin-arm64/README.md +0 -3
  108. data/lib/svelte_on_rails/node_modules/@rollup/rollup-darwin-arm64/package.json +0 -19
  109. data/lib/svelte_on_rails/node_modules/@rollup/rollup-darwin-arm64/rollup.darwin-arm64.node +0 -0
  110. data/lib/svelte_on_rails/node_modules/@sveltejs/acorn-typescript/LICENSE.md +0 -22
  111. data/lib/svelte_on_rails/node_modules/@sveltejs/acorn-typescript/README.md +0 -70
  112. data/lib/svelte_on_rails/node_modules/@sveltejs/acorn-typescript/index.d.ts +0 -12
  113. data/lib/svelte_on_rails/node_modules/@sveltejs/acorn-typescript/index.js +0 -4999
  114. data/lib/svelte_on_rails/node_modules/@sveltejs/acorn-typescript/package.json +0 -55
  115. data/lib/svelte_on_rails/node_modules/@types/estree/LICENSE +0 -21
  116. data/lib/svelte_on_rails/node_modules/@types/estree/README.md +0 -15
  117. data/lib/svelte_on_rails/node_modules/@types/estree/flow.d.ts +0 -167
  118. data/lib/svelte_on_rails/node_modules/@types/estree/index.d.ts +0 -694
  119. data/lib/svelte_on_rails/node_modules/@types/estree/package.json +0 -27
  120. data/lib/svelte_on_rails/node_modules/@types/resolve/LICENSE +0 -21
  121. data/lib/svelte_on_rails/node_modules/@types/resolve/README.md +0 -16
  122. data/lib/svelte_on_rails/node_modules/@types/resolve/index.d.ts +0 -175
  123. data/lib/svelte_on_rails/node_modules/@types/resolve/package.json +0 -35
  124. data/lib/svelte_on_rails/node_modules/acorn/CHANGELOG.md +0 -940
  125. data/lib/svelte_on_rails/node_modules/acorn/LICENSE +0 -21
  126. data/lib/svelte_on_rails/node_modules/acorn/README.md +0 -282
  127. data/lib/svelte_on_rails/node_modules/acorn/bin/acorn +0 -4
  128. data/lib/svelte_on_rails/node_modules/acorn/dist/acorn.d.mts +0 -866
  129. data/lib/svelte_on_rails/node_modules/acorn/dist/acorn.d.ts +0 -866
  130. data/lib/svelte_on_rails/node_modules/acorn/dist/acorn.js +0 -6183
  131. data/lib/svelte_on_rails/node_modules/acorn/dist/acorn.mjs +0 -6154
  132. data/lib/svelte_on_rails/node_modules/acorn/dist/bin.js +0 -90
  133. data/lib/svelte_on_rails/node_modules/acorn/package.json +0 -50
  134. data/lib/svelte_on_rails/node_modules/aria-query/LICENSE +0 -201
  135. data/lib/svelte_on_rails/node_modules/aria-query/README.md +0 -195
  136. data/lib/svelte_on_rails/node_modules/aria-query/lib/ariaPropsMap.js +0 -168
  137. data/lib/svelte_on_rails/node_modules/aria-query/lib/domMap.js +0 -311
  138. data/lib/svelte_on_rails/node_modules/aria-query/lib/elementRoleMap.js +0 -152
  139. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js +0 -22
  140. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js +0 -25
  141. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js +0 -29
  142. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js +0 -22
  143. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js +0 -26
  144. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js +0 -50
  145. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js +0 -37
  146. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js +0 -22
  147. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js +0 -24
  148. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js +0 -22
  149. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js +0 -22
  150. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js +0 -24
  151. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js +0 -21
  152. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js +0 -50
  153. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js +0 -12
  154. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js +0 -92
  155. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js +0 -33
  156. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js +0 -33
  157. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js +0 -33
  158. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js +0 -33
  159. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js +0 -30
  160. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js +0 -33
  161. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js +0 -33
  162. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js +0 -30
  163. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js +0 -33
  164. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js +0 -33
  165. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js +0 -33
  166. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js +0 -33
  167. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js +0 -33
  168. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js +0 -33
  169. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js +0 -33
  170. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js +0 -33
  171. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js +0 -33
  172. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js +0 -33
  173. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js +0 -33
  174. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js +0 -33
  175. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js +0 -28
  176. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js +0 -33
  177. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js +0 -33
  178. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js +0 -33
  179. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js +0 -30
  180. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js +0 -33
  181. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js +0 -33
  182. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js +0 -30
  183. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js +0 -33
  184. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js +0 -32
  185. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js +0 -30
  186. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js +0 -30
  187. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js +0 -33
  188. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js +0 -33
  189. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js +0 -33
  190. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js +0 -33
  191. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js +0 -27
  192. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js +0 -33
  193. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js +0 -33
  194. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js +0 -33
  195. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js +0 -33
  196. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js +0 -43
  197. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js +0 -47
  198. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js +0 -28
  199. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/alertRole.js +0 -30
  200. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js +0 -27
  201. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js +0 -33
  202. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/articleRole.js +0 -30
  203. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js +0 -28
  204. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js +0 -27
  205. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js +0 -73
  206. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/captionRole.js +0 -27
  207. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/cellRole.js +0 -33
  208. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js +0 -45
  209. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/codeRole.js +0 -27
  210. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js +0 -47
  211. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js +0 -124
  212. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js +0 -48
  213. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js +0 -28
  214. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js +0 -27
  215. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js +0 -27
  216. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js +0 -27
  217. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js +0 -24
  218. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/documentRole.js +0 -31
  219. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js +0 -27
  220. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/feedRole.js +0 -22
  221. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/figureRole.js +0 -27
  222. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/formRole.js +0 -49
  223. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/genericRole.js +0 -119
  224. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/graphicsDocumentRole.js +0 -43
  225. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/graphicsObjectRole.js +0 -47
  226. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/graphicsSymbolRole.js +0 -28
  227. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/gridRole.js +0 -25
  228. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js +0 -37
  229. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/groupRole.js +0 -45
  230. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/headingRole.js +0 -56
  231. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/imgRole.js +0 -45
  232. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js +0 -27
  233. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/linkRole.js +0 -44
  234. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/listRole.js +0 -37
  235. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js +0 -63
  236. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js +0 -37
  237. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/logRole.js +0 -24
  238. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/mainRole.js +0 -27
  239. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/markRole.js +0 -31
  240. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js +0 -22
  241. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/mathRole.js +0 -27
  242. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/menuRole.js +0 -44
  243. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js +0 -29
  244. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js +0 -43
  245. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js +0 -29
  246. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js +0 -29
  247. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/meterRole.js +0 -33
  248. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js +0 -27
  249. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/noneRole.js +0 -22
  250. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/noteRole.js +0 -22
  251. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/optionRole.js +0 -44
  252. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js +0 -27
  253. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js +0 -31
  254. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js +0 -34
  255. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/radioRole.js +0 -37
  256. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js +0 -32
  257. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/regionRole.js +0 -44
  258. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/rowRole.js +0 -35
  259. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js +0 -37
  260. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js +0 -42
  261. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js +0 -31
  262. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/searchRole.js +0 -22
  263. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js +0 -35
  264. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js +0 -34
  265. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js +0 -42
  266. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js +0 -38
  267. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/statusRole.js +0 -30
  268. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/strongRole.js +0 -27
  269. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js +0 -27
  270. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js +0 -27
  271. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/switchRole.js +0 -29
  272. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/tabRole.js +0 -29
  273. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/tableRole.js +0 -30
  274. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js +0 -31
  275. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js +0 -22
  276. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/termRole.js +0 -32
  277. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js +0 -107
  278. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/timeRole.js +0 -27
  279. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/timerRole.js +0 -22
  280. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js +0 -29
  281. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js +0 -22
  282. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/treeRole.js +0 -28
  283. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js +0 -22
  284. data/lib/svelte_on_rails/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js +0 -27
  285. data/lib/svelte_on_rails/node_modules/aria-query/lib/index.js +0 -17
  286. data/lib/svelte_on_rails/node_modules/aria-query/lib/roleElementMap.js +0 -75
  287. data/lib/svelte_on_rails/node_modules/aria-query/lib/rolesMap.js +0 -113
  288. data/lib/svelte_on_rails/node_modules/aria-query/lib/util/iterationDecorator.js +0 -17
  289. data/lib/svelte_on_rails/node_modules/aria-query/lib/util/iteratorProxy.js +0 -32
  290. data/lib/svelte_on_rails/node_modules/aria-query/package.json +0 -70
  291. data/lib/svelte_on_rails/node_modules/axobject-query/LICENSE +0 -201
  292. data/lib/svelte_on_rails/node_modules/axobject-query/README.md +0 -404
  293. data/lib/svelte_on_rails/node_modules/axobject-query/lib/AXObjectElementMap.js +0 -92
  294. data/lib/svelte_on_rails/node_modules/axobject-query/lib/AXObjectRoleMap.js +0 -92
  295. data/lib/svelte_on_rails/node_modules/axobject-query/lib/AXObjectsMap.js +0 -178
  296. data/lib/svelte_on_rails/node_modules/axobject-query/lib/elementAXObjectMap.js +0 -128
  297. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/AbbrRole.js +0 -17
  298. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/AlertDialogRole.js +0 -17
  299. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/AlertRole.js +0 -17
  300. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/AnnotationRole.js +0 -12
  301. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ApplicationRole.js +0 -17
  302. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ArticleRole.js +0 -22
  303. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/AudioRole.js +0 -17
  304. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/BannerRole.js +0 -17
  305. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/BlockquoteRole.js +0 -17
  306. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/BusyIndicatorRole.js +0 -20
  307. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ButtonRole.js +0 -22
  308. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/CanvasRole.js +0 -17
  309. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/CaptionRole.js +0 -17
  310. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/CellRole.js +0 -27
  311. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/CheckBoxRole.js +0 -26
  312. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ColorWellRole.js +0 -21
  313. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ColumnHeaderRole.js +0 -22
  314. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ColumnRole.js +0 -12
  315. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ComboBoxRole.js +0 -22
  316. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ComplementaryRole.js +0 -17
  317. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ContentInfoRole.js +0 -17
  318. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/DateRole.js +0 -21
  319. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/DateTimeRole.js +0 -21
  320. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/DefinitionRole.js +0 -17
  321. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/DescriptionListDetailRole.js +0 -17
  322. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/DescriptionListRole.js +0 -17
  323. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/DescriptionListTermRole.js +0 -17
  324. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/DetailsRole.js +0 -17
  325. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/DialogRole.js +0 -22
  326. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/DirectoryRole.js +0 -22
  327. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/DisclosureTriangleRole.js +0 -18
  328. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/DivRole.js +0 -17
  329. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/DocumentRole.js +0 -17
  330. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/EmbeddedObjectRole.js +0 -17
  331. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/FeedRole.js +0 -17
  332. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/FigcaptionRole.js +0 -17
  333. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/FigureRole.js +0 -22
  334. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/FooterRole.js +0 -17
  335. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/FormRole.js +0 -22
  336. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/GridRole.js +0 -17
  337. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/GroupRole.js +0 -17
  338. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/HeadingRole.js +0 -47
  339. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/IframePresentationalRole.js +0 -12
  340. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/IframeRole.js +0 -17
  341. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/IgnoredRole.js +0 -12
  342. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ImageMapLinkRole.js +0 -12
  343. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ImageMapRole.js +0 -20
  344. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ImageRole.js +0 -22
  345. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/InlineTextBoxRole.js +0 -17
  346. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/InputTimeRole.js +0 -21
  347. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/LabelRole.js +0 -17
  348. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/LegendRole.js +0 -17
  349. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/LineBreakRole.js +0 -17
  350. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/LinkRole.js +0 -25
  351. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ListBoxOptionRole.js +0 -22
  352. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ListBoxRole.js +0 -27
  353. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ListItemRole.js +0 -22
  354. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ListMarkerRole.js +0 -12
  355. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ListRole.js +0 -27
  356. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/LogRole.js +0 -17
  357. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MainRole.js +0 -22
  358. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MarkRole.js +0 -17
  359. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MarqueeRole.js +0 -22
  360. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MathRole.js +0 -17
  361. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MenuBarRole.js +0 -17
  362. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MenuButtonRole.js +0 -12
  363. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MenuItemCheckBoxRole.js +0 -17
  364. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MenuItemRadioRole.js +0 -17
  365. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MenuItemRole.js +0 -22
  366. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MenuListOptionRole.js +0 -12
  367. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MenuListPopupRole.js +0 -12
  368. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MenuRole.js +0 -22
  369. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/MeterRole.js +0 -17
  370. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/NavigationRole.js +0 -22
  371. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/NoneRole.js +0 -17
  372. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/NoteRole.js +0 -17
  373. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/OutlineRole.js +0 -12
  374. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ParagraphRole.js +0 -17
  375. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/PopUpButtonRole.js +0 -12
  376. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/PreRole.js +0 -17
  377. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/PresentationalRole.js +0 -17
  378. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ProgressIndicatorRole.js +0 -22
  379. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/RadioButtonRole.js +0 -26
  380. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/RadioGroupRole.js +0 -17
  381. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/RegionRole.js +0 -17
  382. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/RootWebAreaRole.js +0 -12
  383. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/RowHeaderRole.js +0 -26
  384. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/RowRole.js +0 -22
  385. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/RubyRole.js +0 -17
  386. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/RulerRole.js +0 -12
  387. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/SVGRootRole.js +0 -12
  388. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ScrollAreaRole.js +0 -12
  389. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ScrollBarRole.js +0 -17
  390. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/SeamlessWebAreaRole.js +0 -12
  391. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/SearchBoxRole.js +0 -26
  392. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/SearchRole.js +0 -17
  393. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/SliderRole.js +0 -26
  394. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/SliderThumbRole.js +0 -12
  395. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/SpinButtonPartRole.js +0 -12
  396. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/SpinButtonRole.js +0 -26
  397. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/SplitterRole.js +0 -17
  398. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/StaticTextRole.js +0 -12
  399. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/StatusRole.js +0 -17
  400. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/SwitchRole.js +0 -26
  401. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TabGroupRole.js +0 -17
  402. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TabListRole.js +0 -17
  403. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TabPanelRole.js +0 -17
  404. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TabRole.js +0 -17
  405. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TableHeaderContainerRole.js +0 -12
  406. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TableRole.js +0 -22
  407. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TermRole.js +0 -17
  408. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TextAreaRole.js +0 -26
  409. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TextFieldRole.js +0 -31
  410. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TimeRole.js +0 -17
  411. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TimerRole.js +0 -17
  412. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ToggleButtonRole.js +0 -19
  413. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/ToolbarRole.js +0 -17
  414. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TreeGridRole.js +0 -17
  415. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TreeItemRole.js +0 -17
  416. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/TreeRole.js +0 -17
  417. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/UserInterfaceTooltipRole.js +0 -17
  418. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/VideoRole.js +0 -17
  419. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/WebAreaRole.js +0 -12
  420. data/lib/svelte_on_rails/node_modules/axobject-query/lib/etc/objects/WindowRole.js +0 -12
  421. data/lib/svelte_on_rails/node_modules/axobject-query/lib/index.js +0 -19
  422. data/lib/svelte_on_rails/node_modules/axobject-query/lib/util/iterationDecorator.js +0 -17
  423. data/lib/svelte_on_rails/node_modules/axobject-query/lib/util/iteratorProxy.js +0 -33
  424. data/lib/svelte_on_rails/node_modules/axobject-query/package.json +0 -69
  425. data/lib/svelte_on_rails/node_modules/clsx/clsx.d.mts +0 -6
  426. data/lib/svelte_on_rails/node_modules/clsx/clsx.d.ts +0 -10
  427. data/lib/svelte_on_rails/node_modules/clsx/dist/clsx.js +0 -1
  428. data/lib/svelte_on_rails/node_modules/clsx/dist/clsx.min.js +0 -1
  429. data/lib/svelte_on_rails/node_modules/clsx/dist/clsx.mjs +0 -1
  430. data/lib/svelte_on_rails/node_modules/clsx/dist/lite.js +0 -1
  431. data/lib/svelte_on_rails/node_modules/clsx/dist/lite.mjs +0 -1
  432. data/lib/svelte_on_rails/node_modules/clsx/license +0 -9
  433. data/lib/svelte_on_rails/node_modules/clsx/package.json +0 -60
  434. data/lib/svelte_on_rails/node_modules/clsx/readme.md +0 -154
  435. data/lib/svelte_on_rails/node_modules/commondir/LICENSE +0 -24
  436. data/lib/svelte_on_rails/node_modules/commondir/example/dir.js +0 -3
  437. data/lib/svelte_on_rails/node_modules/commondir/index.js +0 -29
  438. data/lib/svelte_on_rails/node_modules/commondir/package.json +0 -34
  439. data/lib/svelte_on_rails/node_modules/commondir/readme.markdown +0 -48
  440. data/lib/svelte_on_rails/node_modules/commondir/test/dirs.js +0 -55
  441. data/lib/svelte_on_rails/node_modules/deepmerge/changelog.md +0 -167
  442. data/lib/svelte_on_rails/node_modules/deepmerge/dist/cjs.js +0 -133
  443. data/lib/svelte_on_rails/node_modules/deepmerge/dist/umd.js +0 -139
  444. data/lib/svelte_on_rails/node_modules/deepmerge/index.d.ts +0 -20
  445. data/lib/svelte_on_rails/node_modules/deepmerge/index.js +0 -106
  446. data/lib/svelte_on_rails/node_modules/deepmerge/license.txt +0 -21
  447. data/lib/svelte_on_rails/node_modules/deepmerge/package.json +0 -42
  448. data/lib/svelte_on_rails/node_modules/deepmerge/readme.md +0 -264
  449. data/lib/svelte_on_rails/node_modules/deepmerge/rollup.config.js +0 -22
  450. data/lib/svelte_on_rails/node_modules/esm-env/CHANGELOG.md +0 -19
  451. data/lib/svelte_on_rails/node_modules/esm-env/LICENSE +0 -7
  452. data/lib/svelte_on_rails/node_modules/esm-env/README.md +0 -27
  453. data/lib/svelte_on_rails/node_modules/esm-env/browser-fallback.js +0 -1
  454. data/lib/svelte_on_rails/node_modules/esm-env/dev-fallback.js +0 -2
  455. data/lib/svelte_on_rails/node_modules/esm-env/false.js +0 -1
  456. data/lib/svelte_on_rails/node_modules/esm-env/index.d.ts +0 -3
  457. data/lib/svelte_on_rails/node_modules/esm-env/index.js +0 -3
  458. data/lib/svelte_on_rails/node_modules/esm-env/package.json +0 -33
  459. data/lib/svelte_on_rails/node_modules/esm-env/true.js +0 -1
  460. data/lib/svelte_on_rails/node_modules/esrap/LICENSE +0 -7
  461. data/lib/svelte_on_rails/node_modules/esrap/README.md +0 -78
  462. data/lib/svelte_on_rails/node_modules/esrap/package.json +0 -48
  463. data/lib/svelte_on_rails/node_modules/esrap/src/handlers.js +0 -1647
  464. data/lib/svelte_on_rails/node_modules/esrap/src/index.js +0 -159
  465. data/lib/svelte_on_rails/node_modules/esrap/src/public.d.ts +0 -2
  466. data/lib/svelte_on_rails/node_modules/esrap/src/types.d.ts +0 -77
  467. data/lib/svelte_on_rails/node_modules/esrap/types/index.d.ts +0 -23
  468. data/lib/svelte_on_rails/node_modules/esrap/types/index.d.ts.map +0 -18
  469. data/lib/svelte_on_rails/node_modules/estree-walker/CHANGELOG.md +0 -92
  470. data/lib/svelte_on_rails/node_modules/estree-walker/LICENSE +0 -7
  471. data/lib/svelte_on_rails/node_modules/estree-walker/README.md +0 -48
  472. data/lib/svelte_on_rails/node_modules/estree-walker/dist/esm/estree-walker.js +0 -333
  473. data/lib/svelte_on_rails/node_modules/estree-walker/dist/esm/package.json +0 -1
  474. data/lib/svelte_on_rails/node_modules/estree-walker/dist/umd/estree-walker.js +0 -344
  475. data/lib/svelte_on_rails/node_modules/estree-walker/package.json +0 -37
  476. data/lib/svelte_on_rails/node_modules/estree-walker/src/async.js +0 -118
  477. data/lib/svelte_on_rails/node_modules/estree-walker/src/index.js +0 -35
  478. data/lib/svelte_on_rails/node_modules/estree-walker/src/package.json +0 -1
  479. data/lib/svelte_on_rails/node_modules/estree-walker/src/sync.js +0 -118
  480. data/lib/svelte_on_rails/node_modules/estree-walker/src/walker.js +0 -61
  481. data/lib/svelte_on_rails/node_modules/estree-walker/types/async.d.ts +0 -53
  482. data/lib/svelte_on_rails/node_modules/estree-walker/types/index.d.ts +0 -56
  483. data/lib/svelte_on_rails/node_modules/estree-walker/types/sync.d.ts +0 -53
  484. data/lib/svelte_on_rails/node_modules/estree-walker/types/tsconfig.tsbuildinfo +0 -345
  485. data/lib/svelte_on_rails/node_modules/estree-walker/types/walker.d.ts +0 -37
  486. data/lib/svelte_on_rails/node_modules/fdir/LICENSE +0 -7
  487. data/lib/svelte_on_rails/node_modules/fdir/README.md +0 -91
  488. data/lib/svelte_on_rails/node_modules/fdir/dist/api/async.d.ts +0 -3
  489. data/lib/svelte_on_rails/node_modules/fdir/dist/api/async.js +0 -19
  490. data/lib/svelte_on_rails/node_modules/fdir/dist/api/counter.d.ts +0 -12
  491. data/lib/svelte_on_rails/node_modules/fdir/dist/api/counter.js +0 -27
  492. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/get-array.d.ts +0 -3
  493. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/get-array.js +0 -13
  494. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/group-files.d.ts +0 -3
  495. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/group-files.js +0 -11
  496. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/invoke-callback.d.ts +0 -3
  497. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/invoke-callback.js +0 -57
  498. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/is-recursive-symlink.d.ts +0 -5
  499. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/is-recursive-symlink.js +0 -35
  500. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/join-path.d.ts +0 -5
  501. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/join-path.js +0 -36
  502. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/push-directory.d.ts +0 -3
  503. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/push-directory.js +0 -37
  504. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/push-file.d.ts +0 -3
  505. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/push-file.js +0 -33
  506. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/resolve-symlink.d.ts +0 -5
  507. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/resolve-symlink.js +0 -67
  508. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/walk-directory.d.ts +0 -5
  509. data/lib/svelte_on_rails/node_modules/fdir/dist/api/functions/walk-directory.js +0 -40
  510. data/lib/svelte_on_rails/node_modules/fdir/dist/api/queue.d.ts +0 -15
  511. data/lib/svelte_on_rails/node_modules/fdir/dist/api/queue.js +0 -23
  512. data/lib/svelte_on_rails/node_modules/fdir/dist/api/sync.d.ts +0 -2
  513. data/lib/svelte_on_rails/node_modules/fdir/dist/api/sync.js +0 -9
  514. data/lib/svelte_on_rails/node_modules/fdir/dist/api/walker.d.ts +0 -18
  515. data/lib/svelte_on_rails/node_modules/fdir/dist/api/walker.js +0 -124
  516. data/lib/svelte_on_rails/node_modules/fdir/dist/builder/api-builder.d.ts +0 -9
  517. data/lib/svelte_on_rails/node_modules/fdir/dist/builder/api-builder.js +0 -23
  518. data/lib/svelte_on_rails/node_modules/fdir/dist/builder/index.d.ts +0 -41
  519. data/lib/svelte_on_rails/node_modules/fdir/dist/builder/index.js +0 -136
  520. data/lib/svelte_on_rails/node_modules/fdir/dist/index.d.ts +0 -4
  521. data/lib/svelte_on_rails/node_modules/fdir/dist/index.js +0 -20
  522. data/lib/svelte_on_rails/node_modules/fdir/dist/optimizer.d.ts +0 -3
  523. data/lib/svelte_on_rails/node_modules/fdir/dist/optimizer.js +0 -54
  524. data/lib/svelte_on_rails/node_modules/fdir/dist/types.d.ts +0 -60
  525. data/lib/svelte_on_rails/node_modules/fdir/dist/types.js +0 -2
  526. data/lib/svelte_on_rails/node_modules/fdir/dist/utils.d.ts +0 -8
  527. data/lib/svelte_on_rails/node_modules/fdir/dist/utils.js +0 -32
  528. data/lib/svelte_on_rails/node_modules/fdir/package.json +0 -88
  529. data/lib/svelte_on_rails/node_modules/fsevents/LICENSE +0 -22
  530. data/lib/svelte_on_rails/node_modules/fsevents/README.md +0 -89
  531. data/lib/svelte_on_rails/node_modules/fsevents/fsevents.d.ts +0 -46
  532. data/lib/svelte_on_rails/node_modules/fsevents/fsevents.js +0 -83
  533. data/lib/svelte_on_rails/node_modules/fsevents/fsevents.node +0 -0
  534. data/lib/svelte_on_rails/node_modules/fsevents/package.json +0 -62
  535. data/lib/svelte_on_rails/node_modules/function-bind/CHANGELOG.md +0 -136
  536. data/lib/svelte_on_rails/node_modules/function-bind/LICENSE +0 -20
  537. data/lib/svelte_on_rails/node_modules/function-bind/README.md +0 -46
  538. data/lib/svelte_on_rails/node_modules/function-bind/implementation.js +0 -84
  539. data/lib/svelte_on_rails/node_modules/function-bind/index.js +0 -5
  540. data/lib/svelte_on_rails/node_modules/function-bind/package.json +0 -87
  541. data/lib/svelte_on_rails/node_modules/function-bind/test/index.js +0 -252
  542. data/lib/svelte_on_rails/node_modules/hasown/CHANGELOG.md +0 -40
  543. data/lib/svelte_on_rails/node_modules/hasown/LICENSE +0 -21
  544. data/lib/svelte_on_rails/node_modules/hasown/README.md +0 -40
  545. data/lib/svelte_on_rails/node_modules/hasown/index.d.ts +0 -3
  546. data/lib/svelte_on_rails/node_modules/hasown/index.js +0 -8
  547. data/lib/svelte_on_rails/node_modules/hasown/package.json +0 -92
  548. data/lib/svelte_on_rails/node_modules/hasown/tsconfig.json +0 -6
  549. data/lib/svelte_on_rails/node_modules/is-core-module/CHANGELOG.md +0 -218
  550. data/lib/svelte_on_rails/node_modules/is-core-module/LICENSE +0 -20
  551. data/lib/svelte_on_rails/node_modules/is-core-module/README.md +0 -40
  552. data/lib/svelte_on_rails/node_modules/is-core-module/core.json +0 -162
  553. data/lib/svelte_on_rails/node_modules/is-core-module/index.js +0 -69
  554. data/lib/svelte_on_rails/node_modules/is-core-module/package.json +0 -76
  555. data/lib/svelte_on_rails/node_modules/is-core-module/test/index.js +0 -157
  556. data/lib/svelte_on_rails/node_modules/is-module/README.md +0 -41
  557. data/lib/svelte_on_rails/node_modules/is-module/component.json +0 -11
  558. data/lib/svelte_on_rails/node_modules/is-module/index.js +0 -11
  559. data/lib/svelte_on_rails/node_modules/is-module/package.json +0 -20
  560. data/lib/svelte_on_rails/node_modules/is-reference/README.md +0 -61
  561. data/lib/svelte_on_rails/node_modules/is-reference/package.json +0 -48
  562. data/lib/svelte_on_rails/node_modules/is-reference/src/index.js +0 -51
  563. data/lib/svelte_on_rails/node_modules/is-reference/types/index.d.ts +0 -8
  564. data/lib/svelte_on_rails/node_modules/is-reference/types/index.d.ts.map +0 -9
  565. data/lib/svelte_on_rails/node_modules/locate-character/README.md +0 -66
  566. data/lib/svelte_on_rails/node_modules/locate-character/package.json +0 -44
  567. data/lib/svelte_on_rails/node_modules/locate-character/src/index.js +0 -72
  568. data/lib/svelte_on_rails/node_modules/locate-character/src/types.d.ts +0 -17
  569. data/lib/svelte_on_rails/node_modules/locate-character/types/index.d.ts +0 -19
  570. data/lib/svelte_on_rails/node_modules/locate-character/types/index.d.ts.map +0 -19
  571. data/lib/svelte_on_rails/node_modules/magic-string/LICENSE +0 -7
  572. data/lib/svelte_on_rails/node_modules/magic-string/README.md +0 -324
  573. data/lib/svelte_on_rails/node_modules/magic-string/dist/magic-string.cjs.d.ts +0 -289
  574. data/lib/svelte_on_rails/node_modules/magic-string/dist/magic-string.cjs.js +0 -1575
  575. data/lib/svelte_on_rails/node_modules/magic-string/dist/magic-string.cjs.js.map +0 -1
  576. data/lib/svelte_on_rails/node_modules/magic-string/dist/magic-string.es.d.mts +0 -289
  577. data/lib/svelte_on_rails/node_modules/magic-string/dist/magic-string.es.mjs +0 -1569
  578. data/lib/svelte_on_rails/node_modules/magic-string/dist/magic-string.es.mjs.map +0 -1
  579. data/lib/svelte_on_rails/node_modules/magic-string/dist/magic-string.umd.js +0 -1672
  580. data/lib/svelte_on_rails/node_modules/magic-string/dist/magic-string.umd.js.map +0 -1
  581. data/lib/svelte_on_rails/node_modules/magic-string/package.json +0 -63
  582. data/lib/svelte_on_rails/node_modules/make-dir/index.d.ts +0 -66
  583. data/lib/svelte_on_rails/node_modules/make-dir/index.js +0 -156
  584. data/lib/svelte_on_rails/node_modules/make-dir/license +0 -9
  585. data/lib/svelte_on_rails/node_modules/make-dir/package.json +0 -59
  586. data/lib/svelte_on_rails/node_modules/make-dir/readme.md +0 -125
  587. data/lib/svelte_on_rails/node_modules/mime/CHANGELOG.md +0 -312
  588. data/lib/svelte_on_rails/node_modules/mime/LICENSE +0 -21
  589. data/lib/svelte_on_rails/node_modules/mime/Mime.js +0 -97
  590. data/lib/svelte_on_rails/node_modules/mime/README.md +0 -178
  591. data/lib/svelte_on_rails/node_modules/mime/cli.js +0 -46
  592. data/lib/svelte_on_rails/node_modules/mime/index.js +0 -4
  593. data/lib/svelte_on_rails/node_modules/mime/lite.js +0 -4
  594. data/lib/svelte_on_rails/node_modules/mime/package.json +0 -52
  595. data/lib/svelte_on_rails/node_modules/mime/types/other.js +0 -1
  596. data/lib/svelte_on_rails/node_modules/mime/types/standard.js +0 -1
  597. data/lib/svelte_on_rails/node_modules/path-parse/LICENSE +0 -21
  598. data/lib/svelte_on_rails/node_modules/path-parse/README.md +0 -42
  599. data/lib/svelte_on_rails/node_modules/path-parse/index.js +0 -75
  600. data/lib/svelte_on_rails/node_modules/path-parse/package.json +0 -33
  601. data/lib/svelte_on_rails/node_modules/picomatch/LICENSE +0 -21
  602. data/lib/svelte_on_rails/node_modules/picomatch/README.md +0 -738
  603. data/lib/svelte_on_rails/node_modules/picomatch/index.js +0 -17
  604. data/lib/svelte_on_rails/node_modules/picomatch/lib/constants.js +0 -179
  605. data/lib/svelte_on_rails/node_modules/picomatch/lib/parse.js +0 -1085
  606. data/lib/svelte_on_rails/node_modules/picomatch/lib/picomatch.js +0 -341
  607. data/lib/svelte_on_rails/node_modules/picomatch/lib/scan.js +0 -391
  608. data/lib/svelte_on_rails/node_modules/picomatch/lib/utils.js +0 -72
  609. data/lib/svelte_on_rails/node_modules/picomatch/package.json +0 -83
  610. data/lib/svelte_on_rails/node_modules/picomatch/posix.js +0 -3
  611. data/lib/svelte_on_rails/node_modules/resolve/LICENSE +0 -21
  612. data/lib/svelte_on_rails/node_modules/resolve/SECURITY.md +0 -3
  613. data/lib/svelte_on_rails/node_modules/resolve/async.js +0 -3
  614. data/lib/svelte_on_rails/node_modules/resolve/bin/resolve +0 -50
  615. data/lib/svelte_on_rails/node_modules/resolve/example/async.js +0 -5
  616. data/lib/svelte_on_rails/node_modules/resolve/example/sync.js +0 -3
  617. data/lib/svelte_on_rails/node_modules/resolve/index.js +0 -6
  618. data/lib/svelte_on_rails/node_modules/resolve/lib/async.js +0 -329
  619. data/lib/svelte_on_rails/node_modules/resolve/lib/caller.js +0 -8
  620. data/lib/svelte_on_rails/node_modules/resolve/lib/core.js +0 -12
  621. data/lib/svelte_on_rails/node_modules/resolve/lib/core.json +0 -162
  622. data/lib/svelte_on_rails/node_modules/resolve/lib/homedir.js +0 -24
  623. data/lib/svelte_on_rails/node_modules/resolve/lib/is-core.js +0 -5
  624. data/lib/svelte_on_rails/node_modules/resolve/lib/node-modules-paths.js +0 -42
  625. data/lib/svelte_on_rails/node_modules/resolve/lib/normalize-options.js +0 -10
  626. data/lib/svelte_on_rails/node_modules/resolve/lib/sync.js +0 -208
  627. data/lib/svelte_on_rails/node_modules/resolve/package.json +0 -75
  628. data/lib/svelte_on_rails/node_modules/resolve/readme.markdown +0 -301
  629. data/lib/svelte_on_rails/node_modules/resolve/sync.js +0 -3
  630. data/lib/svelte_on_rails/node_modules/resolve/test/core.js +0 -88
  631. data/lib/svelte_on_rails/node_modules/resolve/test/dotdot/abc/index.js +0 -2
  632. data/lib/svelte_on_rails/node_modules/resolve/test/dotdot/index.js +0 -1
  633. data/lib/svelte_on_rails/node_modules/resolve/test/dotdot.js +0 -29
  634. data/lib/svelte_on_rails/node_modules/resolve/test/faulty_basedir.js +0 -29
  635. data/lib/svelte_on_rails/node_modules/resolve/test/filter.js +0 -34
  636. data/lib/svelte_on_rails/node_modules/resolve/test/filter_sync.js +0 -33
  637. data/lib/svelte_on_rails/node_modules/resolve/test/home_paths.js +0 -127
  638. data/lib/svelte_on_rails/node_modules/resolve/test/home_paths_sync.js +0 -114
  639. data/lib/svelte_on_rails/node_modules/resolve/test/mock.js +0 -315
  640. data/lib/svelte_on_rails/node_modules/resolve/test/mock_sync.js +0 -214
  641. data/lib/svelte_on_rails/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +0 -1
  642. data/lib/svelte_on_rails/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +0 -1
  643. data/lib/svelte_on_rails/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +0 -1
  644. data/lib/svelte_on_rails/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +0 -3
  645. data/lib/svelte_on_rails/node_modules/resolve/test/module_dir.js +0 -56
  646. data/lib/svelte_on_rails/node_modules/resolve/test/node-modules-paths.js +0 -143
  647. data/lib/svelte_on_rails/node_modules/resolve/test/node_path/x/aaa/index.js +0 -1
  648. data/lib/svelte_on_rails/node_modules/resolve/test/node_path/x/ccc/index.js +0 -1
  649. data/lib/svelte_on_rails/node_modules/resolve/test/node_path/y/bbb/index.js +0 -1
  650. data/lib/svelte_on_rails/node_modules/resolve/test/node_path/y/ccc/index.js +0 -1
  651. data/lib/svelte_on_rails/node_modules/resolve/test/node_path.js +0 -70
  652. data/lib/svelte_on_rails/node_modules/resolve/test/nonstring.js +0 -9
  653. data/lib/svelte_on_rails/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
  654. data/lib/svelte_on_rails/node_modules/resolve/test/pathfilter.js +0 -75
  655. data/lib/svelte_on_rails/node_modules/resolve/test/precedence/aaa/index.js +0 -1
  656. data/lib/svelte_on_rails/node_modules/resolve/test/precedence/aaa/main.js +0 -1
  657. data/lib/svelte_on_rails/node_modules/resolve/test/precedence/aaa.js +0 -1
  658. data/lib/svelte_on_rails/node_modules/resolve/test/precedence/bbb/main.js +0 -1
  659. data/lib/svelte_on_rails/node_modules/resolve/test/precedence/bbb.js +0 -1
  660. data/lib/svelte_on_rails/node_modules/resolve/test/precedence.js +0 -23
  661. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  662. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/baz/package.json +0 -4
  663. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/baz/quux.js +0 -1
  664. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  665. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  666. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/browser_field/package.json +0 -5
  667. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/cup.coffee +0 -1
  668. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/dot_main/index.js +0 -1
  669. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/dot_main/package.json +0 -3
  670. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/dot_slash_main/index.js +0 -1
  671. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/dot_slash_main/package.json +0 -3
  672. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  673. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/false_main/package.json +0 -4
  674. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/foo.js +0 -1
  675. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
  676. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
  677. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/invalid_main/package.json +0 -7
  678. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/mug.coffee +0 -0
  679. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/mug.js +0 -0
  680. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/multirepo/lerna.json +0 -6
  681. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/multirepo/package.json +0 -20
  682. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +0 -35
  683. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +0 -14
  684. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  685. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +0 -14
  686. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +0 -26
  687. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +0 -15
  688. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +0 -12
  689. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  690. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  691. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
  692. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/same_names/foo/index.js +0 -1
  693. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/same_names/foo.js +0 -1
  694. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  695. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/symlinked/package/bar.js +0 -1
  696. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/symlinked/package/package.json +0 -3
  697. data/lib/svelte_on_rails/node_modules/resolve/test/resolver/without_basedir/main.js +0 -5
  698. data/lib/svelte_on_rails/node_modules/resolve/test/resolver.js +0 -597
  699. data/lib/svelte_on_rails/node_modules/resolve/test/resolver_sync.js +0 -730
  700. data/lib/svelte_on_rails/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  701. data/lib/svelte_on_rails/node_modules/resolve/test/shadowed_core.js +0 -54
  702. data/lib/svelte_on_rails/node_modules/resolve/test/subdirs.js +0 -13
  703. data/lib/svelte_on_rails/node_modules/resolve/test/symlinks.js +0 -176
  704. data/lib/svelte_on_rails/node_modules/resolve.exports/dist/index.js +0 -1
  705. data/lib/svelte_on_rails/node_modules/resolve.exports/dist/index.mjs +0 -1
  706. data/lib/svelte_on_rails/node_modules/resolve.exports/index.d.ts +0 -100
  707. data/lib/svelte_on_rails/node_modules/resolve.exports/license +0 -21
  708. data/lib/svelte_on_rails/node_modules/resolve.exports/package.json +0 -50
  709. data/lib/svelte_on_rails/node_modules/resolve.exports/readme.md +0 -458
  710. data/lib/svelte_on_rails/node_modules/rollup/LICENSE.md +0 -681
  711. data/lib/svelte_on_rails/node_modules/rollup/README.md +0 -134
  712. data/lib/svelte_on_rails/node_modules/rollup/dist/bin/rollup +0 -1856
  713. data/lib/svelte_on_rails/node_modules/rollup/dist/es/getLogFilter.js +0 -64
  714. data/lib/svelte_on_rails/node_modules/rollup/dist/es/package.json +0 -1
  715. data/lib/svelte_on_rails/node_modules/rollup/dist/es/parseAst.js +0 -12
  716. data/lib/svelte_on_rails/node_modules/rollup/dist/es/rollup.js +0 -17
  717. data/lib/svelte_on_rails/node_modules/rollup/dist/es/shared/node-entry.js +0 -23644
  718. data/lib/svelte_on_rails/node_modules/rollup/dist/es/shared/parseAst.js +0 -2073
  719. data/lib/svelte_on_rails/node_modules/rollup/dist/es/shared/watch.js +0 -9297
  720. data/lib/svelte_on_rails/node_modules/rollup/dist/getLogFilter.d.ts +0 -5
  721. data/lib/svelte_on_rails/node_modules/rollup/dist/getLogFilter.js +0 -69
  722. data/lib/svelte_on_rails/node_modules/rollup/dist/loadConfigFile.d.ts +0 -20
  723. data/lib/svelte_on_rails/node_modules/rollup/dist/loadConfigFile.js +0 -29
  724. data/lib/svelte_on_rails/node_modules/rollup/dist/native.js +0 -110
  725. data/lib/svelte_on_rails/node_modules/rollup/dist/parseAst.d.ts +0 -4
  726. data/lib/svelte_on_rails/node_modules/rollup/dist/parseAst.js +0 -22
  727. data/lib/svelte_on_rails/node_modules/rollup/dist/rollup.d.ts +0 -1104
  728. data/lib/svelte_on_rails/node_modules/rollup/dist/rollup.js +0 -99
  729. data/lib/svelte_on_rails/node_modules/rollup/dist/shared/fsevents-importer.js +0 -37
  730. data/lib/svelte_on_rails/node_modules/rollup/dist/shared/index.js +0 -9003
  731. data/lib/svelte_on_rails/node_modules/rollup/dist/shared/loadConfigFile.js +0 -559
  732. data/lib/svelte_on_rails/node_modules/rollup/dist/shared/parseAst.js +0 -2301
  733. data/lib/svelte_on_rails/node_modules/rollup/dist/shared/rollup.js +0 -23581
  734. data/lib/svelte_on_rails/node_modules/rollup/dist/shared/watch-cli.js +0 -542
  735. data/lib/svelte_on_rails/node_modules/rollup/dist/shared/watch.js +0 -324
  736. data/lib/svelte_on_rails/node_modules/rollup/package.json +0 -268
  737. data/lib/svelte_on_rails/node_modules/rollup-plugin-css-only/LICENSE.md +0 -21
  738. data/lib/svelte_on_rails/node_modules/rollup-plugin-css-only/README.md +0 -103
  739. data/lib/svelte_on_rails/node_modules/rollup-plugin-css-only/dist/index.cjs +0 -92
  740. data/lib/svelte_on_rails/node_modules/rollup-plugin-css-only/dist/index.mjs +0 -90
  741. data/lib/svelte_on_rails/node_modules/rollup-plugin-css-only/package.json +0 -61
  742. data/lib/svelte_on_rails/node_modules/rollup-plugin-string/CHANGELOG.md +0 -22
  743. data/lib/svelte_on_rails/node_modules/rollup-plugin-string/LICENSE +0 -22
  744. data/lib/svelte_on_rails/node_modules/rollup-plugin-string/README.md +0 -38
  745. data/lib/svelte_on_rails/node_modules/rollup-plugin-string/index.js +0 -24
  746. data/lib/svelte_on_rails/node_modules/rollup-plugin-string/package.json +0 -36
  747. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/LICENSE +0 -7
  748. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/README.md +0 -135
  749. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/index.d.ts +0 -43
  750. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/index.js +0 -196
  751. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/@rollup/pluginutils/CHANGELOG.md +0 -389
  752. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/@rollup/pluginutils/README.md +0 -255
  753. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/@rollup/pluginutils/dist/cjs/index.js +0 -475
  754. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/@rollup/pluginutils/dist/es/index.js +0 -460
  755. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/@rollup/pluginutils/dist/es/package.json +0 -1
  756. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/@rollup/pluginutils/package.json +0 -92
  757. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/@rollup/pluginutils/types/index.d.ts +0 -93
  758. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/picomatch/CHANGELOG.md +0 -136
  759. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/picomatch/LICENSE +0 -21
  760. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/picomatch/README.md +0 -708
  761. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/picomatch/index.js +0 -3
  762. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/picomatch/lib/constants.js +0 -179
  763. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/picomatch/lib/parse.js +0 -1091
  764. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/picomatch/lib/picomatch.js +0 -342
  765. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/picomatch/lib/scan.js +0 -391
  766. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/picomatch/lib/utils.js +0 -64
  767. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/node_modules/picomatch/package.json +0 -81
  768. data/lib/svelte_on_rails/node_modules/rollup-plugin-svelte/package.json +0 -48
  769. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/CHANGELOG.md +0 -125
  770. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/README.md +0 -169
  771. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/dist/pluginutils.cjs.js +0 -3292
  772. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/dist/pluginutils.d.ts +0 -39
  773. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/dist/pluginutils.es.js +0 -3280
  774. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/node_modules/estree-walker/CHANGELOG.md +0 -55
  775. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/node_modules/estree-walker/README.md +0 -45
  776. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/node_modules/estree-walker/dist/estree-walker.umd.js +0 -65
  777. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/node_modules/estree-walker/dist/estree-walker.umd.js.map +0 -1
  778. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/node_modules/estree-walker/index.d.ts +0 -27
  779. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/node_modules/estree-walker/package.json +0 -30
  780. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/node_modules/estree-walker/src/estree-walker.js +0 -51
  781. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/package.json +0 -57
  782. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/src/addExtension.ts +0 -9
  783. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/src/attachScopes.ts +0 -125
  784. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/src/createFilter.ts +0 -52
  785. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/src/dataToEsm.ts +0 -92
  786. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/src/extractAssignedNames.ts +0 -46
  787. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/src/index.ts +0 -6
  788. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/src/makeLegalIdentifier.ts +0 -21
  789. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/src/pluginutils.d.ts +0 -39
  790. data/lib/svelte_on_rails/node_modules/rollup-pluginutils/src/utils/ensureArray.ts +0 -5
  791. data/lib/svelte_on_rails/node_modules/semver/LICENSE +0 -15
  792. data/lib/svelte_on_rails/node_modules/semver/README.md +0 -443
  793. data/lib/svelte_on_rails/node_modules/semver/bin/semver.js +0 -174
  794. data/lib/svelte_on_rails/node_modules/semver/package.json +0 -38
  795. data/lib/svelte_on_rails/node_modules/semver/range.bnf +0 -16
  796. data/lib/svelte_on_rails/node_modules/semver/semver.js +0 -1643
  797. data/lib/svelte_on_rails/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +0 -22
  798. data/lib/svelte_on_rails/node_modules/supports-preserve-symlinks-flag/LICENSE +0 -21
  799. data/lib/svelte_on_rails/node_modules/supports-preserve-symlinks-flag/README.md +0 -42
  800. data/lib/svelte_on_rails/node_modules/supports-preserve-symlinks-flag/browser.js +0 -3
  801. data/lib/svelte_on_rails/node_modules/supports-preserve-symlinks-flag/index.js +0 -9
  802. data/lib/svelte_on_rails/node_modules/supports-preserve-symlinks-flag/package.json +0 -70
  803. data/lib/svelte_on_rails/node_modules/supports-preserve-symlinks-flag/test/index.js +0 -29
  804. data/lib/svelte_on_rails/node_modules/svelte/LICENSE.md +0 -7
  805. data/lib/svelte_on_rails/node_modules/svelte/README.md +0 -41
  806. data/lib/svelte_on_rails/node_modules/svelte/action.d.ts +0 -1
  807. data/lib/svelte_on_rails/node_modules/svelte/animate.d.ts +0 -1
  808. data/lib/svelte_on_rails/node_modules/svelte/compiler/index.js +0 -1
  809. data/lib/svelte_on_rails/node_modules/svelte/compiler/package.json +0 -3
  810. data/lib/svelte_on_rails/node_modules/svelte/compiler.d.ts +0 -1
  811. data/lib/svelte_on_rails/node_modules/svelte/easing.d.ts +0 -1
  812. data/lib/svelte_on_rails/node_modules/svelte/elements.d.ts +0 -2067
  813. data/lib/svelte_on_rails/node_modules/svelte/index.d.ts +0 -1
  814. data/lib/svelte_on_rails/node_modules/svelte/legacy.d.ts +0 -1
  815. data/lib/svelte_on_rails/node_modules/svelte/motion.d.ts +0 -1
  816. data/lib/svelte_on_rails/node_modules/svelte/package.json +0 -164
  817. data/lib/svelte_on_rails/node_modules/svelte/src/animate/index.js +0 -78
  818. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/errors.js +0 -1622
  819. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/index.js +0 -169
  820. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/legacy.js +0 -628
  821. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/migrate/index.js +0 -1992
  822. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/acorn.js +0 -171
  823. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/index.js +0 -312
  824. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/read/context.js +0 -187
  825. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/read/expression.js +0 -81
  826. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/read/options.js +0 -261
  827. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/read/script.js +0 -90
  828. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/read/style.js +0 -627
  829. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/remove_typescript_nodes.js +0 -157
  830. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/state/element.js +0 -823
  831. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/state/fragment.js +0 -17
  832. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/state/tag.js +0 -715
  833. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/state/text.js +0 -23
  834. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/utils/bracket.js +0 -164
  835. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/utils/create.js +0 -16
  836. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/utils/entities.js +0 -2234
  837. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/utils/fuzzymatch.js +0 -280
  838. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/1-parse/utils/html.js +0 -120
  839. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/css/css-analyze.js +0 -327
  840. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/css/css-prune.js +0 -1086
  841. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/css/css-warn.js +0 -47
  842. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/css/utils.js +0 -177
  843. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/index.js +0 -895
  844. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/utils/check_graph_for_cycles.js +0 -46
  845. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/ArrowFunctionExpression.js +0 -11
  846. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/AssignmentExpression.js +0 -27
  847. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/Attribute.js +0 -239
  848. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/AwaitBlock.js +0 -45
  849. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/BindDirective.js +0 -254
  850. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/CallExpression.js +0 -272
  851. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/ClassBody.js +0 -30
  852. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/ClassDeclaration.js +0 -25
  853. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/ClassDirective.js +0 -13
  854. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/Component.js +0 -20
  855. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/ConstTag.js +0 -36
  856. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/DebugTag.js +0 -15
  857. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/EachBlock.js +0 -42
  858. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/ExportDefaultDeclaration.js +0 -20
  859. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/ExportNamedDeclaration.js +0 -61
  860. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/ExportSpecifier.js +0 -30
  861. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/ExpressionStatement.js +0 -38
  862. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/ExpressionTag.js +0 -26
  863. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/FunctionDeclaration.js +0 -16
  864. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/FunctionExpression.js +0 -11
  865. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/HtmlTag.js +0 -19
  866. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/Identifier.js +0 -153
  867. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/IfBlock.js +0 -21
  868. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/ImportDeclaration.js +0 -31
  869. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/KeyBlock.js +0 -20
  870. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/LabeledStatement.js +0 -95
  871. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/LetDirective.js +0 -24
  872. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/MemberExpression.js +0 -30
  873. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/NewExpression.js +0 -17
  874. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/OnDirective.js +0 -28
  875. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/RegularElement.js +0 -195
  876. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/RenderTag.js +0 -68
  877. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SlotElement.js +0 -42
  878. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SnippetBlock.js +0 -113
  879. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SpreadAttribute.js +0 -13
  880. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SpreadElement.js +0 -16
  881. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/StyleDirective.js +0 -37
  882. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SvelteBody.js +0 -22
  883. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SvelteBoundary.js +0 -27
  884. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SvelteComponent.js +0 -18
  885. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SvelteDocument.js +0 -24
  886. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SvelteElement.js +0 -66
  887. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SvelteFragment.js +0 -27
  888. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SvelteHead.js +0 -18
  889. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SvelteSelf.js +0 -36
  890. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/SvelteWindow.js +0 -24
  891. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/TaggedTemplateExpression.js +0 -16
  892. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/Text.js +0 -20
  893. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/TitleElement.js +0 -21
  894. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/TransitionDirective.js +0 -14
  895. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/UpdateExpression.js +0 -25
  896. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/UseDirective.js +0 -12
  897. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/VariableDeclarator.js +0 -120
  898. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y.js +0 -1188
  899. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/shared/attribute.js +0 -125
  900. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/shared/component.js +0 -160
  901. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/shared/element.js +0 -160
  902. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/shared/fragment.js +0 -15
  903. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/shared/function.js +0 -21
  904. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/shared/snippets.js +0 -17
  905. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/shared/special-element.js +0 -16
  906. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/2-analyze/visitors/shared/utils.js +0 -262
  907. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/transform-client.js +0 -693
  908. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/utils.js +0 -296
  909. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/AnimateDirective.js +0 -28
  910. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/ArrowFunctionExpression.js +0 -11
  911. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/AssignmentExpression.js +0 -195
  912. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/Attribute.js +0 -14
  913. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/AwaitBlock.js +0 -104
  914. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/BinaryExpression.js +0 -34
  915. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/BindDirective.js +0 -260
  916. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/BlockStatement.js +0 -32
  917. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/BreakStatement.js +0 -20
  918. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/CallExpression.js +0 -63
  919. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/ClassBody.js +0 -186
  920. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/Comment.js +0 -11
  921. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/Component.js +0 -32
  922. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/ConstTag.js +0 -76
  923. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/DebugTag.js +0 -28
  924. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js +0 -361
  925. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/ExportNamedDeclaration.js +0 -19
  926. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/ExpressionStatement.js +0 -30
  927. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/Fragment.js +0 -284
  928. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/FunctionDeclaration.js +0 -23
  929. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/FunctionExpression.js +0 -11
  930. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/HtmlTag.js +0 -27
  931. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/Identifier.js +0 -41
  932. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/IfBlock.js +0 -77
  933. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/ImportDeclaration.js +0 -16
  934. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/KeyBlock.js +0 -19
  935. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/LabeledStatement.js +0 -66
  936. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/LetDirective.js +0 -54
  937. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/MemberExpression.js +0 -21
  938. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/OnDirective.js +0 -38
  939. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/Program.js +0 -141
  940. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js +0 -730
  941. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/RenderTag.js +0 -56
  942. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/SlotElement.js +0 -75
  943. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/SnippetBlock.js +0 -91
  944. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/SpreadAttribute.js +0 -10
  945. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/SvelteBody.js +0 -11
  946. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/SvelteBoundary.js +0 -95
  947. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/SvelteComponent.js +0 -12
  948. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/SvelteDocument.js +0 -11
  949. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/SvelteElement.js +0 -140
  950. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/SvelteFragment.js +0 -17
  951. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/SvelteHead.js +0 -20
  952. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/SvelteSelf.js +0 -12
  953. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/SvelteWindow.js +0 -11
  954. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/TitleElement.js +0 -24
  955. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/TransitionDirective.js +0 -29
  956. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/UpdateExpression.js +0 -55
  957. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/UseDirective.js +0 -37
  958. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js +0 -322
  959. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js +0 -452
  960. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/shared/declarations.js +0 -53
  961. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js +0 -271
  962. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/shared/events.js +0 -197
  963. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/shared/fragment.js +0 -173
  964. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/shared/function.js +0 -30
  965. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/shared/special_element.js +0 -22
  966. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js +0 -354
  967. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/css/index.js +0 -461
  968. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/index.js +0 -110
  969. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/transform-server.js +0 -410
  970. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/AssignmentExpression.js +0 -68
  971. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/AwaitBlock.js +0 -29
  972. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/CallExpression.js +0 -41
  973. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/ClassBody.js +0 -121
  974. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/Component.js +0 -12
  975. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/ConstTag.js +0 -16
  976. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/DebugTag.js +0 -24
  977. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/EachBlock.js +0 -66
  978. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/ExpressionStatement.js +0 -23
  979. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/Fragment.js +0 -46
  980. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/HtmlTag.js +0 -13
  981. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/Identifier.js +0 -19
  982. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/IfBlock.js +0 -38
  983. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/KeyBlock.js +0 -16
  984. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/LabeledStatement.js +0 -24
  985. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/MemberExpression.js +0 -23
  986. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/PropertyDefinition.js +0 -36
  987. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/RegularElement.js +0 -104
  988. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/RenderTag.js +0 -35
  989. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/SlotElement.js +0 -54
  990. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/SnippetBlock.js +0 -28
  991. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/SpreadAttribute.js +0 -10
  992. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/SvelteBoundary.js +0 -17
  993. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/SvelteComponent.js +0 -12
  994. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/SvelteElement.js +0 -75
  995. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/SvelteFragment.js +0 -11
  996. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/SvelteHead.js +0 -16
  997. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/SvelteSelf.js +0 -12
  998. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/TitleElement.js +0 -17
  999. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/UpdateExpression.js +0 -26
  1000. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/VariableDeclaration.js +0 -193
  1001. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/shared/component.js +0 -310
  1002. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.js +0 -445
  1003. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.js +0 -243
  1004. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/shared/assignments.js +0 -74
  1005. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/3-transform/utils.js +0 -488
  1006. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/bindings.js +0 -227
  1007. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/css.js +0 -14
  1008. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/nodes.js +0 -66
  1009. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/patterns.js +0 -23
  1010. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/phases/scope.js +0 -826
  1011. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/preprocess/decode_sourcemap.js +0 -96
  1012. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/preprocess/index.js +0 -368
  1013. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/preprocess/replace_in_code.js +0 -72
  1014. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/state.js +0 -107
  1015. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/utils/assert.js +0 -9
  1016. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/utils/ast.js +0 -584
  1017. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/utils/builders.js +0 -660
  1018. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/utils/compile_diagnostic.js +0 -107
  1019. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/utils/extract_svelte_ignore.js +0 -104
  1020. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/utils/mapped_code.js +0 -451
  1021. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/utils/push_array.js +0 -13
  1022. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/utils/sanitize_template_string.js +0 -7
  1023. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/utils/slot.js +0 -20
  1024. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/utils/string.js +0 -9
  1025. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/validate-options.js +0 -335
  1026. data/lib/svelte_on_rails/node_modules/svelte/src/compiler/warnings.js +0 -815
  1027. data/lib/svelte_on_rails/node_modules/svelte/src/constants.js +0 -58
  1028. data/lib/svelte_on_rails/node_modules/svelte/src/easing/index.js +0 -286
  1029. data/lib/svelte_on_rails/node_modules/svelte/src/escaping.js +0 -26
  1030. data/lib/svelte_on_rails/node_modules/svelte/src/events/index.js +0 -1
  1031. data/lib/svelte_on_rails/node_modules/svelte/src/html-tree-validation.js +0 -240
  1032. data/lib/svelte_on_rails/node_modules/svelte/src/index-client.js +0 -214
  1033. data/lib/svelte_on_rails/node_modules/svelte/src/index-server.js +0 -40
  1034. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/constants.js +0 -27
  1035. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/context.js +0 -206
  1036. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dev/assign.js +0 -78
  1037. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dev/console-log.js +0 -35
  1038. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dev/css.js +0 -31
  1039. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dev/elements.js +0 -60
  1040. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dev/equality.js +0 -101
  1041. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dev/hmr.js +0 -78
  1042. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dev/inspect.js +0 -36
  1043. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dev/legacy.js +0 -25
  1044. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dev/ownership.js +0 -80
  1045. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dev/tracing.js +0 -179
  1046. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dev/validation.js +0 -15
  1047. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/blocks/await.js +0 -190
  1048. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/blocks/boundary.js +0 -133
  1049. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/blocks/css-props.js +0 -33
  1050. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/blocks/each.js +0 -609
  1051. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/blocks/html.js +0 -122
  1052. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/blocks/if.js +0 -130
  1053. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/blocks/key.js +0 -43
  1054. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/blocks/slot.js +0 -44
  1055. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/blocks/snippet.js +0 -114
  1056. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/blocks/svelte-component.js +0 -43
  1057. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/blocks/svelte-element.js +0 -165
  1058. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/blocks/svelte-head.js +0 -67
  1059. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/css.js +0 -32
  1060. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/actions.js +0 -43
  1061. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/attributes.js +0 -550
  1062. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/bindings/document.js +0 -17
  1063. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/bindings/input.js +0 -275
  1064. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/bindings/media.js +0 -217
  1065. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/bindings/navigator.js +0 -11
  1066. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/bindings/props.js +0 -22
  1067. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/bindings/select.js +0 -146
  1068. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/bindings/shared.js +0 -76
  1069. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/bindings/size.js +0 -108
  1070. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/bindings/this.js +0 -61
  1071. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/bindings/universal.js +0 -75
  1072. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/bindings/window.js +0 -66
  1073. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/class.js +0 -51
  1074. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/custom-element.js +0 -338
  1075. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/events.js +0 -329
  1076. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/misc.js +0 -58
  1077. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/style.js +0 -57
  1078. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/elements/transitions.js +0 -471
  1079. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/hydration.js +0 -105
  1080. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/legacy/event-modifiers.js +0 -128
  1081. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/legacy/lifecycle.js +0 -82
  1082. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/legacy/misc.js +0 -68
  1083. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/operations.js +0 -206
  1084. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/reconciler.js +0 -6
  1085. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/task.js +0 -60
  1086. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/dom/template.js +0 -273
  1087. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/errors.js +0 -322
  1088. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/index.js +0 -163
  1089. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/loop.js +0 -48
  1090. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/proxy.js +0 -319
  1091. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/reactivity/deriveds.js +0 -184
  1092. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/reactivity/effects.js +0 -618
  1093. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/reactivity/equality.js +0 -30
  1094. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/reactivity/props.js +0 -427
  1095. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/reactivity/sources.js +0 -291
  1096. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/reactivity/store.js +0 -198
  1097. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/render.js +0 -306
  1098. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/runtime.js +0 -1140
  1099. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/timing.js +0 -16
  1100. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/validate.js +0 -83
  1101. data/lib/svelte_on_rails/node_modules/svelte/src/internal/client/warnings.js +0 -183
  1102. data/lib/svelte_on_rails/node_modules/svelte/src/internal/disclose-version.js +0 -6
  1103. data/lib/svelte_on_rails/node_modules/svelte/src/internal/flags/index.js +0 -10
  1104. data/lib/svelte_on_rails/node_modules/svelte/src/internal/flags/legacy.js +0 -3
  1105. data/lib/svelte_on_rails/node_modules/svelte/src/internal/flags/tracing.js +0 -3
  1106. data/lib/svelte_on_rails/node_modules/svelte/src/internal/index.js +0 -5
  1107. data/lib/svelte_on_rails/node_modules/svelte/src/internal/server/blocks/html.js +0 -11
  1108. data/lib/svelte_on_rails/node_modules/svelte/src/internal/server/blocks/snippet.js +0 -22
  1109. data/lib/svelte_on_rails/node_modules/svelte/src/internal/server/context.js +0 -96
  1110. data/lib/svelte_on_rails/node_modules/svelte/src/internal/server/dev.js +0 -111
  1111. data/lib/svelte_on_rails/node_modules/svelte/src/internal/server/errors.js +0 -13
  1112. data/lib/svelte_on_rails/node_modules/svelte/src/internal/server/hydration.js +0 -6
  1113. data/lib/svelte_on_rails/node_modules/svelte/src/internal/server/index.js +0 -515
  1114. data/lib/svelte_on_rails/node_modules/svelte/src/internal/server/payload.js +0 -64
  1115. data/lib/svelte_on_rails/node_modules/svelte/src/internal/shared/attributes.js +0 -219
  1116. data/lib/svelte_on_rails/node_modules/svelte/src/internal/shared/clone.js +0 -128
  1117. data/lib/svelte_on_rails/node_modules/svelte/src/internal/shared/errors.js +0 -80
  1118. data/lib/svelte_on_rails/node_modules/svelte/src/internal/shared/utils.js +0 -83
  1119. data/lib/svelte_on_rails/node_modules/svelte/src/internal/shared/validate.js +0 -37
  1120. data/lib/svelte_on_rails/node_modules/svelte/src/internal/shared/warnings.js +0 -36
  1121. data/lib/svelte_on_rails/node_modules/svelte/src/legacy/legacy-client.js +0 -276
  1122. data/lib/svelte_on_rails/node_modules/svelte/src/legacy/legacy-server.js +0 -66
  1123. data/lib/svelte_on_rails/node_modules/svelte/src/motion/index.js +0 -32
  1124. data/lib/svelte_on_rails/node_modules/svelte/src/motion/spring.js +0 -358
  1125. data/lib/svelte_on_rails/node_modules/svelte/src/motion/tweened.js +0 -298
  1126. data/lib/svelte_on_rails/node_modules/svelte/src/motion/utils.js +0 -7
  1127. data/lib/svelte_on_rails/node_modules/svelte/src/reactivity/create-subscriber.js +0 -81
  1128. data/lib/svelte_on_rails/node_modules/svelte/src/reactivity/date.js +0 -79
  1129. data/lib/svelte_on_rails/node_modules/svelte/src/reactivity/index-client.js +0 -7
  1130. data/lib/svelte_on_rails/node_modules/svelte/src/reactivity/index-server.js +0 -23
  1131. data/lib/svelte_on_rails/node_modules/svelte/src/reactivity/map.js +0 -192
  1132. data/lib/svelte_on_rails/node_modules/svelte/src/reactivity/media-query.js +0 -37
  1133. data/lib/svelte_on_rails/node_modules/svelte/src/reactivity/reactive-value.js +0 -24
  1134. data/lib/svelte_on_rails/node_modules/svelte/src/reactivity/set.js +0 -158
  1135. data/lib/svelte_on_rails/node_modules/svelte/src/reactivity/url-search-params.js +0 -146
  1136. data/lib/svelte_on_rails/node_modules/svelte/src/reactivity/url.js +0 -165
  1137. data/lib/svelte_on_rails/node_modules/svelte/src/reactivity/utils.js +0 -7
  1138. data/lib/svelte_on_rails/node_modules/svelte/src/reactivity/window/index.js +0 -156
  1139. data/lib/svelte_on_rails/node_modules/svelte/src/server/index.js +0 -1
  1140. data/lib/svelte_on_rails/node_modules/svelte/src/store/index-client.js +0 -169
  1141. data/lib/svelte_on_rails/node_modules/svelte/src/store/index-server.js +0 -101
  1142. data/lib/svelte_on_rails/node_modules/svelte/src/store/shared/index.js +0 -209
  1143. data/lib/svelte_on_rails/node_modules/svelte/src/store/utils.js +0 -36
  1144. data/lib/svelte_on_rails/node_modules/svelte/src/transition/index.js +0 -300
  1145. data/lib/svelte_on_rails/node_modules/svelte/src/utils.js +0 -474
  1146. data/lib/svelte_on_rails/node_modules/svelte/src/version.js +0 -8
  1147. data/lib/svelte_on_rails/node_modules/svelte/store.d.ts +0 -1
  1148. data/lib/svelte_on_rails/node_modules/svelte/svelte-html.d.ts +0 -256
  1149. data/lib/svelte_on_rails/node_modules/svelte/transition.d.ts +0 -1
  1150. data/lib/svelte_on_rails/node_modules/svelte/types/compiler/interfaces.d.ts +0 -1
  1151. data/lib/svelte_on_rails/node_modules/svelte/types/compiler/preprocess.d.ts +0 -1
  1152. data/lib/svelte_on_rails/node_modules/svelte/types/index.d.ts +0 -3182
  1153. data/lib/svelte_on_rails/node_modules/svelte/types/index.d.ts.map +0 -254
  1154. data/lib/svelte_on_rails/node_modules/svelte-preprocess/LICENSE +0 -7
  1155. data/lib/svelte_on_rails/node_modules/svelte-preprocess/README.md +0 -207
  1156. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/autoProcess.d.ts +0 -3
  1157. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/autoProcess.js +0 -202
  1158. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/index.d.ts +0 -15
  1159. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/index.js +0 -35
  1160. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/errors.d.ts +0 -2
  1161. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/errors.js +0 -11
  1162. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/globalifySelector.d.ts +0 -1
  1163. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/globalifySelector.js +0 -42
  1164. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/language.d.ts +0 -11
  1165. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/language.js +0 -94
  1166. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/markup.d.ts +0 -9
  1167. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/markup.js +0 -53
  1168. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/prepareContent.d.ts +0 -4
  1169. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/prepareContent.js +0 -34
  1170. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/tagInfo.d.ts +0 -10
  1171. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/tagInfo.js +0 -58
  1172. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/utils.d.ts +0 -17
  1173. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/modules/utils.js +0 -104
  1174. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/babel.d.ts +0 -4
  1175. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/babel.js +0 -50
  1176. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/coffeescript.d.ts +0 -4
  1177. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/coffeescript.js +0 -59
  1178. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/globalStyle.d.ts +0 -4
  1179. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/globalStyle.js +0 -41
  1180. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/less.d.ts +0 -4
  1181. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/less.js +0 -53
  1182. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/postcss.d.ts +0 -5
  1183. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/postcss.js +0 -50
  1184. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/pug.d.ts +0 -4
  1185. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/pug.js +0 -45
  1186. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/replace.d.ts +0 -4
  1187. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/replace.js +0 -36
  1188. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/scss.d.ts +0 -4
  1189. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/scss.js +0 -61
  1190. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/stylus.d.ts +0 -4
  1191. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/stylus.js +0 -59
  1192. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/typescript.d.ts +0 -4
  1193. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/processors/typescript.js +0 -54
  1194. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/babel.d.ts +0 -3
  1195. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/babel.js +0 -38
  1196. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/coffeescript.d.ts +0 -3
  1197. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/coffeescript.js +0 -24
  1198. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/globalStyle.d.ts +0 -3
  1199. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/globalStyle.js +0 -69
  1200. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/less.d.ts +0 -3
  1201. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/less.js +0 -27
  1202. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/postcss.d.ts +0 -4
  1203. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/postcss.js +0 -84
  1204. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/pug.d.ts +0 -3
  1205. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/pug.js +0 -121
  1206. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/replace.d.ts +0 -3
  1207. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/replace.js +0 -16
  1208. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/scss.d.ts +0 -3
  1209. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/scss.js +0 -106
  1210. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/stylus.d.ts +0 -3
  1211. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/stylus.js +0 -39
  1212. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/typescript.d.ts +0 -11
  1213. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/transformers/typescript.js +0 -145
  1214. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/types/index.d.ts +0 -63
  1215. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/types/index.js +0 -28
  1216. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/types/options.d.ts +0 -58
  1217. data/lib/svelte_on_rails/node_modules/svelte-preprocess/dist/types/options.js +0 -2
  1218. data/lib/svelte_on_rails/node_modules/svelte-preprocess/package.json +0 -132
  1219. data/lib/svelte_on_rails/node_modules/typescript/LICENSE.txt +0 -55
  1220. data/lib/svelte_on_rails/node_modules/typescript/README.md +0 -50
  1221. data/lib/svelte_on_rails/node_modules/typescript/SECURITY.md +0 -41
  1222. data/lib/svelte_on_rails/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  1223. data/lib/svelte_on_rails/node_modules/typescript/bin/tsc +0 -2
  1224. data/lib/svelte_on_rails/node_modules/typescript/bin/tsserver +0 -2
  1225. data/lib/svelte_on_rails/node_modules/typescript/lib/_tsc.js +0 -132810
  1226. data/lib/svelte_on_rails/node_modules/typescript/lib/_tsserver.js +0 -659
  1227. data/lib/svelte_on_rails/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  1228. data/lib/svelte_on_rails/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2105
  1229. data/lib/svelte_on_rails/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2105
  1230. data/lib/svelte_on_rails/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2105
  1231. data/lib/svelte_on_rails/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2105
  1232. data/lib/svelte_on_rails/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2105
  1233. data/lib/svelte_on_rails/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2105
  1234. data/lib/svelte_on_rails/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2105
  1235. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.d.ts +0 -22
  1236. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  1237. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  1238. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  1239. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.dom.d.ts +0 -29610
  1240. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -493
  1241. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  1242. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  1243. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  1244. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  1245. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  1246. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  1247. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  1248. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  1249. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  1250. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  1251. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  1252. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  1253. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  1254. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  1255. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  1256. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  1257. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  1258. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  1259. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  1260. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  1261. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  1262. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  1263. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  1264. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  1265. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  1266. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  1267. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  1268. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  1269. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  1270. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  1271. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  1272. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  1273. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  1274. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  1275. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  1276. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  1277. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  1278. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  1279. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  1280. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  1281. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  1282. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  1283. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  1284. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  1285. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  1286. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  1287. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  1288. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  1289. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  1290. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  1291. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  1292. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  1293. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  1294. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  1295. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  1296. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  1297. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  1298. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -121
  1299. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  1300. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  1301. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  1302. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  1303. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  1304. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  1305. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  1306. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  1307. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  1308. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  1309. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  1310. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  1311. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  1312. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  1313. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  1314. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  1315. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  1316. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es5.d.ts +0 -4594
  1317. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  1318. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  1319. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  1320. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.esnext.d.ts +0 -27
  1321. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  1322. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  1323. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -443
  1324. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  1325. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  1326. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  1327. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  1328. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  1329. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  1330. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.webworker.d.ts +0 -9894
  1331. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  1332. data/lib/svelte_on_rails/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -287
  1333. data/lib/svelte_on_rails/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2105
  1334. data/lib/svelte_on_rails/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2105
  1335. data/lib/svelte_on_rails/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2105
  1336. data/lib/svelte_on_rails/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2105
  1337. data/lib/svelte_on_rails/node_modules/typescript/lib/tsc.js +0 -8
  1338. data/lib/svelte_on_rails/node_modules/typescript/lib/tsserver.js +0 -8
  1339. data/lib/svelte_on_rails/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  1340. data/lib/svelte_on_rails/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  1341. data/lib/svelte_on_rails/node_modules/typescript/lib/typesMap.json +0 -497
  1342. data/lib/svelte_on_rails/node_modules/typescript/lib/typescript.d.ts +0 -11399
  1343. data/lib/svelte_on_rails/node_modules/typescript/lib/typescript.js +0 -199120
  1344. data/lib/svelte_on_rails/node_modules/typescript/lib/typingsInstaller.js +0 -8
  1345. data/lib/svelte_on_rails/node_modules/typescript/lib/watchGuard.js +0 -53
  1346. data/lib/svelte_on_rails/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2105
  1347. data/lib/svelte_on_rails/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2105
  1348. data/lib/svelte_on_rails/node_modules/typescript/package.json +0 -120
  1349. data/lib/svelte_on_rails/node_modules/zimmerframe/LICENSE +0 -21
  1350. data/lib/svelte_on_rails/node_modules/zimmerframe/README.md +0 -180
  1351. data/lib/svelte_on_rails/node_modules/zimmerframe/package.json +0 -34
  1352. data/lib/svelte_on_rails/node_modules/zimmerframe/src/index.d.ts +0 -2
  1353. data/lib/svelte_on_rails/node_modules/zimmerframe/src/types.d.ts +0 -21
  1354. data/lib/svelte_on_rails/node_modules/zimmerframe/src/walk.js +0 -159
  1355. data/lib/svelte_on_rails/node_modules/zimmerframe/types/index.d.ts +0 -28
  1356. data/lib/svelte_on_rails/node_modules/zimmerframe/types/index.d.ts.map +0 -19
  1357. data/lib/svelte_on_rails/package-lock.json +0 -949
  1358. data/lib/svelte_on_rails/package.json +0 -15
@@ -1,4594 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
-
17
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="decorators" />
20
- /// <reference lib="decorators.legacy" />
21
-
22
- /////////////////////////////
23
- /// ECMAScript APIs
24
- /////////////////////////////
25
-
26
- declare var NaN: number;
27
- declare var Infinity: number;
28
-
29
- /**
30
- * Evaluates JavaScript code and executes it.
31
- * @param x A String value that contains valid JavaScript code.
32
- */
33
- declare function eval(x: string): any;
34
-
35
- /**
36
- * Converts a string to an integer.
37
- * @param string A string to convert into a number.
38
- * @param radix A value between 2 and 36 that specifies the base of the number in `string`.
39
- * If this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.
40
- * All other strings are considered decimal.
41
- */
42
- declare function parseInt(string: string, radix?: number): number;
43
-
44
- /**
45
- * Converts a string to a floating-point number.
46
- * @param string A string that contains a floating-point number.
47
- */
48
- declare function parseFloat(string: string): number;
49
-
50
- /**
51
- * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number).
52
- * @param number A numeric value.
53
- */
54
- declare function isNaN(number: number): boolean;
55
-
56
- /**
57
- * Determines whether a supplied number is finite.
58
- * @param number Any numeric value.
59
- */
60
- declare function isFinite(number: number): boolean;
61
-
62
- /**
63
- * Gets the unencoded version of an encoded Uniform Resource Identifier (URI).
64
- * @param encodedURI A value representing an encoded URI.
65
- */
66
- declare function decodeURI(encodedURI: string): string;
67
-
68
- /**
69
- * Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).
70
- * @param encodedURIComponent A value representing an encoded URI component.
71
- */
72
- declare function decodeURIComponent(encodedURIComponent: string): string;
73
-
74
- /**
75
- * Encodes a text string as a valid Uniform Resource Identifier (URI)
76
- * @param uri A value representing an unencoded URI.
77
- */
78
- declare function encodeURI(uri: string): string;
79
-
80
- /**
81
- * Encodes a text string as a valid component of a Uniform Resource Identifier (URI).
82
- * @param uriComponent A value representing an unencoded URI component.
83
- */
84
- declare function encodeURIComponent(uriComponent: string | number | boolean): string;
85
-
86
- /**
87
- * Computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.
88
- * @deprecated A legacy feature for browser compatibility
89
- * @param string A string value
90
- */
91
- declare function escape(string: string): string;
92
-
93
- /**
94
- * Computes a new string in which hexadecimal escape sequences are replaced with the character that it represents.
95
- * @deprecated A legacy feature for browser compatibility
96
- * @param string A string value
97
- */
98
- declare function unescape(string: string): string;
99
-
100
- interface Symbol {
101
- /** Returns a string representation of an object. */
102
- toString(): string;
103
-
104
- /** Returns the primitive value of the specified object. */
105
- valueOf(): symbol;
106
- }
107
-
108
- declare type PropertyKey = string | number | symbol;
109
-
110
- interface PropertyDescriptor {
111
- configurable?: boolean;
112
- enumerable?: boolean;
113
- value?: any;
114
- writable?: boolean;
115
- get?(): any;
116
- set?(v: any): void;
117
- }
118
-
119
- interface PropertyDescriptorMap {
120
- [key: PropertyKey]: PropertyDescriptor;
121
- }
122
-
123
- interface Object {
124
- /** The initial value of Object.prototype.constructor is the standard built-in Object constructor. */
125
- constructor: Function;
126
-
127
- /** Returns a string representation of an object. */
128
- toString(): string;
129
-
130
- /** Returns a date converted to a string using the current locale. */
131
- toLocaleString(): string;
132
-
133
- /** Returns the primitive value of the specified object. */
134
- valueOf(): Object;
135
-
136
- /**
137
- * Determines whether an object has a property with the specified name.
138
- * @param v A property name.
139
- */
140
- hasOwnProperty(v: PropertyKey): boolean;
141
-
142
- /**
143
- * Determines whether an object exists in another object's prototype chain.
144
- * @param v Another object whose prototype chain is to be checked.
145
- */
146
- isPrototypeOf(v: Object): boolean;
147
-
148
- /**
149
- * Determines whether a specified property is enumerable.
150
- * @param v A property name.
151
- */
152
- propertyIsEnumerable(v: PropertyKey): boolean;
153
- }
154
-
155
- interface ObjectConstructor {
156
- new (value?: any): Object;
157
- (): any;
158
- (value: any): any;
159
-
160
- /** A reference to the prototype for a class of objects. */
161
- readonly prototype: Object;
162
-
163
- /**
164
- * Returns the prototype of an object.
165
- * @param o The object that references the prototype.
166
- */
167
- getPrototypeOf(o: any): any;
168
-
169
- /**
170
- * Gets the own property descriptor of the specified object.
171
- * An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.
172
- * @param o Object that contains the property.
173
- * @param p Name of the property.
174
- */
175
- getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
176
-
177
- /**
178
- * Returns the names of the own properties of an object. The own properties of an object are those that are defined directly
179
- * on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.
180
- * @param o Object that contains the own properties.
181
- */
182
- getOwnPropertyNames(o: any): string[];
183
-
184
- /**
185
- * Creates an object that has the specified prototype or that has null prototype.
186
- * @param o Object to use as a prototype. May be null.
187
- */
188
- create(o: object | null): any;
189
-
190
- /**
191
- * Creates an object that has the specified prototype, and that optionally contains specified properties.
192
- * @param o Object to use as a prototype. May be null
193
- * @param properties JavaScript object that contains one or more property descriptors.
194
- */
195
- create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
196
-
197
- /**
198
- * Adds a property to an object, or modifies attributes of an existing property.
199
- * @param o Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.
200
- * @param p The property name.
201
- * @param attributes Descriptor for the property. It can be for a data property or an accessor property.
202
- */
203
- defineProperty<T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T;
204
-
205
- /**
206
- * Adds one or more properties to an object, and/or modifies attributes of existing properties.
207
- * @param o Object on which to add or modify the properties. This can be a native JavaScript object or a DOM object.
208
- * @param properties JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property.
209
- */
210
- defineProperties<T>(o: T, properties: PropertyDescriptorMap & ThisType<any>): T;
211
-
212
- /**
213
- * Prevents the modification of attributes of existing properties, and prevents the addition of new properties.
214
- * @param o Object on which to lock the attributes.
215
- */
216
- seal<T>(o: T): T;
217
-
218
- /**
219
- * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
220
- * @param f Object on which to lock the attributes.
221
- */
222
- freeze<T extends Function>(f: T): T;
223
-
224
- /**
225
- * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
226
- * @param o Object on which to lock the attributes.
227
- */
228
- freeze<T extends { [idx: string]: U | null | undefined | object; }, U extends string | bigint | number | boolean | symbol>(o: T): Readonly<T>;
229
-
230
- /**
231
- * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
232
- * @param o Object on which to lock the attributes.
233
- */
234
- freeze<T>(o: T): Readonly<T>;
235
-
236
- /**
237
- * Prevents the addition of new properties to an object.
238
- * @param o Object to make non-extensible.
239
- */
240
- preventExtensions<T>(o: T): T;
241
-
242
- /**
243
- * Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.
244
- * @param o Object to test.
245
- */
246
- isSealed(o: any): boolean;
247
-
248
- /**
249
- * Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.
250
- * @param o Object to test.
251
- */
252
- isFrozen(o: any): boolean;
253
-
254
- /**
255
- * Returns a value that indicates whether new properties can be added to an object.
256
- * @param o Object to test.
257
- */
258
- isExtensible(o: any): boolean;
259
-
260
- /**
261
- * Returns the names of the enumerable string properties and methods of an object.
262
- * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
263
- */
264
- keys(o: object): string[];
265
- }
266
-
267
- /**
268
- * Provides functionality common to all JavaScript objects.
269
- */
270
- declare var Object: ObjectConstructor;
271
-
272
- /**
273
- * Creates a new function.
274
- */
275
- interface Function {
276
- /**
277
- * Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.
278
- * @param thisArg The object to be used as the this object.
279
- * @param argArray A set of arguments to be passed to the function.
280
- */
281
- apply(this: Function, thisArg: any, argArray?: any): any;
282
-
283
- /**
284
- * Calls a method of an object, substituting another object for the current object.
285
- * @param thisArg The object to be used as the current object.
286
- * @param argArray A list of arguments to be passed to the method.
287
- */
288
- call(this: Function, thisArg: any, ...argArray: any[]): any;
289
-
290
- /**
291
- * For a given function, creates a bound function that has the same body as the original function.
292
- * The this object of the bound function is associated with the specified object, and has the specified initial parameters.
293
- * @param thisArg An object to which the this keyword can refer inside the new function.
294
- * @param argArray A list of arguments to be passed to the new function.
295
- */
296
- bind(this: Function, thisArg: any, ...argArray: any[]): any;
297
-
298
- /** Returns a string representation of a function. */
299
- toString(): string;
300
-
301
- prototype: any;
302
- readonly length: number;
303
-
304
- // Non-standard extensions
305
- arguments: any;
306
- caller: Function;
307
- }
308
-
309
- interface FunctionConstructor {
310
- /**
311
- * Creates a new function.
312
- * @param args A list of arguments the function accepts.
313
- */
314
- new (...args: string[]): Function;
315
- (...args: string[]): Function;
316
- readonly prototype: Function;
317
- }
318
-
319
- declare var Function: FunctionConstructor;
320
-
321
- /**
322
- * Extracts the type of the 'this' parameter of a function type, or 'unknown' if the function type has no 'this' parameter.
323
- */
324
- type ThisParameterType<T> = T extends (this: infer U, ...args: never) => any ? U : unknown;
325
-
326
- /**
327
- * Removes the 'this' parameter from a function type.
328
- */
329
- type OmitThisParameter<T> = unknown extends ThisParameterType<T> ? T : T extends (...args: infer A) => infer R ? (...args: A) => R : T;
330
-
331
- interface CallableFunction extends Function {
332
- /**
333
- * Calls the function with the specified object as the this value and the elements of specified array as the arguments.
334
- * @param thisArg The object to be used as the this object.
335
- */
336
- apply<T, R>(this: (this: T) => R, thisArg: T): R;
337
-
338
- /**
339
- * Calls the function with the specified object as the this value and the elements of specified array as the arguments.
340
- * @param thisArg The object to be used as the this object.
341
- * @param args An array of argument values to be passed to the function.
342
- */
343
- apply<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, args: A): R;
344
-
345
- /**
346
- * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.
347
- * @param thisArg The object to be used as the this object.
348
- * @param args Argument values to be passed to the function.
349
- */
350
- call<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, ...args: A): R;
351
-
352
- /**
353
- * For a given function, creates a bound function that has the same body as the original function.
354
- * The this object of the bound function is associated with the specified object, and has the specified initial parameters.
355
- * @param thisArg The object to be used as the this object.
356
- */
357
- bind<T>(this: T, thisArg: ThisParameterType<T>): OmitThisParameter<T>;
358
-
359
- /**
360
- * For a given function, creates a bound function that has the same body as the original function.
361
- * The this object of the bound function is associated with the specified object, and has the specified initial parameters.
362
- * @param thisArg The object to be used as the this object.
363
- * @param args Arguments to bind to the parameters of the function.
364
- */
365
- bind<T, A extends any[], B extends any[], R>(this: (this: T, ...args: [...A, ...B]) => R, thisArg: T, ...args: A): (...args: B) => R;
366
- }
367
-
368
- interface NewableFunction extends Function {
369
- /**
370
- * Calls the function with the specified object as the this value and the elements of specified array as the arguments.
371
- * @param thisArg The object to be used as the this object.
372
- */
373
- apply<T>(this: new () => T, thisArg: T): void;
374
- /**
375
- * Calls the function with the specified object as the this value and the elements of specified array as the arguments.
376
- * @param thisArg The object to be used as the this object.
377
- * @param args An array of argument values to be passed to the function.
378
- */
379
- apply<T, A extends any[]>(this: new (...args: A) => T, thisArg: T, args: A): void;
380
-
381
- /**
382
- * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.
383
- * @param thisArg The object to be used as the this object.
384
- * @param args Argument values to be passed to the function.
385
- */
386
- call<T, A extends any[]>(this: new (...args: A) => T, thisArg: T, ...args: A): void;
387
-
388
- /**
389
- * For a given function, creates a bound function that has the same body as the original function.
390
- * The this object of the bound function is associated with the specified object, and has the specified initial parameters.
391
- * @param thisArg The object to be used as the this object.
392
- */
393
- bind<T>(this: T, thisArg: any): T;
394
-
395
- /**
396
- * For a given function, creates a bound function that has the same body as the original function.
397
- * The this object of the bound function is associated with the specified object, and has the specified initial parameters.
398
- * @param thisArg The object to be used as the this object.
399
- * @param args Arguments to bind to the parameters of the function.
400
- */
401
- bind<A extends any[], B extends any[], R>(this: new (...args: [...A, ...B]) => R, thisArg: any, ...args: A): new (...args: B) => R;
402
- }
403
-
404
- interface IArguments {
405
- [index: number]: any;
406
- length: number;
407
- callee: Function;
408
- }
409
-
410
- interface String {
411
- /** Returns a string representation of a string. */
412
- toString(): string;
413
-
414
- /**
415
- * Returns the character at the specified index.
416
- * @param pos The zero-based index of the desired character.
417
- */
418
- charAt(pos: number): string;
419
-
420
- /**
421
- * Returns the Unicode value of the character at the specified location.
422
- * @param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.
423
- */
424
- charCodeAt(index: number): number;
425
-
426
- /**
427
- * Returns a string that contains the concatenation of two or more strings.
428
- * @param strings The strings to append to the end of the string.
429
- */
430
- concat(...strings: string[]): string;
431
-
432
- /**
433
- * Returns the position of the first occurrence of a substring.
434
- * @param searchString The substring to search for in the string
435
- * @param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.
436
- */
437
- indexOf(searchString: string, position?: number): number;
438
-
439
- /**
440
- * Returns the last occurrence of a substring in the string.
441
- * @param searchString The substring to search for.
442
- * @param position The index at which to begin searching. If omitted, the search begins at the end of the string.
443
- */
444
- lastIndexOf(searchString: string, position?: number): number;
445
-
446
- /**
447
- * Determines whether two strings are equivalent in the current locale.
448
- * @param that String to compare to target string
449
- */
450
- localeCompare(that: string): number;
451
-
452
- /**
453
- * Matches a string with a regular expression, and returns an array containing the results of that search.
454
- * @param regexp A variable name or string literal containing the regular expression pattern and flags.
455
- */
456
- match(regexp: string | RegExp): RegExpMatchArray | null;
457
-
458
- /**
459
- * Replaces text in a string, using a regular expression or search string.
460
- * @param searchValue A string or regular expression to search for.
461
- * @param replaceValue A string containing the text to replace. When the {@linkcode searchValue} is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of {@linkcode searchValue} is replaced.
462
- */
463
- replace(searchValue: string | RegExp, replaceValue: string): string;
464
-
465
- /**
466
- * Replaces text in a string, using a regular expression or search string.
467
- * @param searchValue A string to search for.
468
- * @param replacer A function that returns the replacement text.
469
- */
470
- replace(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
471
-
472
- /**
473
- * Finds the first substring match in a regular expression search.
474
- * @param regexp The regular expression pattern and applicable flags.
475
- */
476
- search(regexp: string | RegExp): number;
477
-
478
- /**
479
- * Returns a section of a string.
480
- * @param start The index to the beginning of the specified portion of stringObj.
481
- * @param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.
482
- * If this value is not specified, the substring continues to the end of stringObj.
483
- */
484
- slice(start?: number, end?: number): string;
485
-
486
- /**
487
- * Split a string into substrings using the specified separator and return them as an array.
488
- * @param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.
489
- * @param limit A value used to limit the number of elements returned in the array.
490
- */
491
- split(separator: string | RegExp, limit?: number): string[];
492
-
493
- /**
494
- * Returns the substring at the specified location within a String object.
495
- * @param start The zero-based index number indicating the beginning of the substring.
496
- * @param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.
497
- * If end is omitted, the characters from start through the end of the original string are returned.
498
- */
499
- substring(start: number, end?: number): string;
500
-
501
- /** Converts all the alphabetic characters in a string to lowercase. */
502
- toLowerCase(): string;
503
-
504
- /** Converts all alphabetic characters to lowercase, taking into account the host environment's current locale. */
505
- toLocaleLowerCase(locales?: string | string[]): string;
506
-
507
- /** Converts all the alphabetic characters in a string to uppercase. */
508
- toUpperCase(): string;
509
-
510
- /** Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale. */
511
- toLocaleUpperCase(locales?: string | string[]): string;
512
-
513
- /** Removes the leading and trailing white space and line terminator characters from a string. */
514
- trim(): string;
515
-
516
- /** Returns the length of a String object. */
517
- readonly length: number;
518
-
519
- // IE extensions
520
- /**
521
- * Gets a substring beginning at the specified location and having the specified length.
522
- * @deprecated A legacy feature for browser compatibility
523
- * @param from The starting position of the desired substring. The index of the first character in the string is zero.
524
- * @param length The number of characters to include in the returned substring.
525
- */
526
- substr(from: number, length?: number): string;
527
-
528
- /** Returns the primitive value of the specified object. */
529
- valueOf(): string;
530
-
531
- readonly [index: number]: string;
532
- }
533
-
534
- interface StringConstructor {
535
- new (value?: any): String;
536
- (value?: any): string;
537
- readonly prototype: String;
538
- fromCharCode(...codes: number[]): string;
539
- }
540
-
541
- /**
542
- * Allows manipulation and formatting of text strings and determination and location of substrings within strings.
543
- */
544
- declare var String: StringConstructor;
545
-
546
- interface Boolean {
547
- /** Returns the primitive value of the specified object. */
548
- valueOf(): boolean;
549
- }
550
-
551
- interface BooleanConstructor {
552
- new (value?: any): Boolean;
553
- <T>(value?: T): boolean;
554
- readonly prototype: Boolean;
555
- }
556
-
557
- declare var Boolean: BooleanConstructor;
558
-
559
- interface Number {
560
- /**
561
- * Returns a string representation of an object.
562
- * @param radix Specifies a radix for converting numeric values to strings. This value is only used for numbers.
563
- */
564
- toString(radix?: number): string;
565
-
566
- /**
567
- * Returns a string representing a number in fixed-point notation.
568
- * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.
569
- */
570
- toFixed(fractionDigits?: number): string;
571
-
572
- /**
573
- * Returns a string containing a number represented in exponential notation.
574
- * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.
575
- */
576
- toExponential(fractionDigits?: number): string;
577
-
578
- /**
579
- * Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.
580
- * @param precision Number of significant digits. Must be in the range 1 - 21, inclusive.
581
- */
582
- toPrecision(precision?: number): string;
583
-
584
- /** Returns the primitive value of the specified object. */
585
- valueOf(): number;
586
- }
587
-
588
- interface NumberConstructor {
589
- new (value?: any): Number;
590
- (value?: any): number;
591
- readonly prototype: Number;
592
-
593
- /** The largest number that can be represented in JavaScript. Equal to approximately 1.79E+308. */
594
- readonly MAX_VALUE: number;
595
-
596
- /** The closest number to zero that can be represented in JavaScript. Equal to approximately 5.00E-324. */
597
- readonly MIN_VALUE: number;
598
-
599
- /**
600
- * A value that is not a number.
601
- * In equality comparisons, NaN does not equal any value, including itself. To test whether a value is equivalent to NaN, use the isNaN function.
602
- */
603
- readonly NaN: number;
604
-
605
- /**
606
- * A value that is less than the largest negative number that can be represented in JavaScript.
607
- * JavaScript displays NEGATIVE_INFINITY values as -infinity.
608
- */
609
- readonly NEGATIVE_INFINITY: number;
610
-
611
- /**
612
- * A value greater than the largest number that can be represented in JavaScript.
613
- * JavaScript displays POSITIVE_INFINITY values as infinity.
614
- */
615
- readonly POSITIVE_INFINITY: number;
616
- }
617
-
618
- /** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */
619
- declare var Number: NumberConstructor;
620
-
621
- interface TemplateStringsArray extends ReadonlyArray<string> {
622
- readonly raw: readonly string[];
623
- }
624
-
625
- /**
626
- * The type of `import.meta`.
627
- *
628
- * If you need to declare that a given property exists on `import.meta`,
629
- * this type may be augmented via interface merging.
630
- */
631
- interface ImportMeta {
632
- }
633
-
634
- /**
635
- * The type for the optional second argument to `import()`.
636
- *
637
- * If your host environment supports additional options, this type may be
638
- * augmented via interface merging.
639
- */
640
- interface ImportCallOptions {
641
- /** @deprecated*/ assert?: ImportAssertions;
642
- with?: ImportAttributes;
643
- }
644
-
645
- /**
646
- * The type for the `assert` property of the optional second argument to `import()`.
647
- * @deprecated
648
- */
649
- interface ImportAssertions {
650
- [key: string]: string;
651
- }
652
-
653
- /**
654
- * The type for the `with` property of the optional second argument to `import()`.
655
- */
656
- interface ImportAttributes {
657
- [key: string]: string;
658
- }
659
-
660
- interface Math {
661
- /** The mathematical constant e. This is Euler's number, the base of natural logarithms. */
662
- readonly E: number;
663
- /** The natural logarithm of 10. */
664
- readonly LN10: number;
665
- /** The natural logarithm of 2. */
666
- readonly LN2: number;
667
- /** The base-2 logarithm of e. */
668
- readonly LOG2E: number;
669
- /** The base-10 logarithm of e. */
670
- readonly LOG10E: number;
671
- /** Pi. This is the ratio of the circumference of a circle to its diameter. */
672
- readonly PI: number;
673
- /** The square root of 0.5, or, equivalently, one divided by the square root of 2. */
674
- readonly SQRT1_2: number;
675
- /** The square root of 2. */
676
- readonly SQRT2: number;
677
- /**
678
- * Returns the absolute value of a number (the value without regard to whether it is positive or negative).
679
- * For example, the absolute value of -5 is the same as the absolute value of 5.
680
- * @param x A numeric expression for which the absolute value is needed.
681
- */
682
- abs(x: number): number;
683
- /**
684
- * Returns the arc cosine (or inverse cosine) of a number.
685
- * @param x A numeric expression.
686
- */
687
- acos(x: number): number;
688
- /**
689
- * Returns the arcsine of a number.
690
- * @param x A numeric expression.
691
- */
692
- asin(x: number): number;
693
- /**
694
- * Returns the arctangent of a number.
695
- * @param x A numeric expression for which the arctangent is needed.
696
- */
697
- atan(x: number): number;
698
- /**
699
- * Returns the angle (in radians) between the X axis and the line going through both the origin and the given point.
700
- * @param y A numeric expression representing the cartesian y-coordinate.
701
- * @param x A numeric expression representing the cartesian x-coordinate.
702
- */
703
- atan2(y: number, x: number): number;
704
- /**
705
- * Returns the smallest integer greater than or equal to its numeric argument.
706
- * @param x A numeric expression.
707
- */
708
- ceil(x: number): number;
709
- /**
710
- * Returns the cosine of a number.
711
- * @param x A numeric expression that contains an angle measured in radians.
712
- */
713
- cos(x: number): number;
714
- /**
715
- * Returns e (the base of natural logarithms) raised to a power.
716
- * @param x A numeric expression representing the power of e.
717
- */
718
- exp(x: number): number;
719
- /**
720
- * Returns the greatest integer less than or equal to its numeric argument.
721
- * @param x A numeric expression.
722
- */
723
- floor(x: number): number;
724
- /**
725
- * Returns the natural logarithm (base e) of a number.
726
- * @param x A numeric expression.
727
- */
728
- log(x: number): number;
729
- /**
730
- * Returns the larger of a set of supplied numeric expressions.
731
- * @param values Numeric expressions to be evaluated.
732
- */
733
- max(...values: number[]): number;
734
- /**
735
- * Returns the smaller of a set of supplied numeric expressions.
736
- * @param values Numeric expressions to be evaluated.
737
- */
738
- min(...values: number[]): number;
739
- /**
740
- * Returns the value of a base expression taken to a specified power.
741
- * @param x The base value of the expression.
742
- * @param y The exponent value of the expression.
743
- */
744
- pow(x: number, y: number): number;
745
- /** Returns a pseudorandom number between 0 and 1. */
746
- random(): number;
747
- /**
748
- * Returns a supplied numeric expression rounded to the nearest integer.
749
- * @param x The value to be rounded to the nearest integer.
750
- */
751
- round(x: number): number;
752
- /**
753
- * Returns the sine of a number.
754
- * @param x A numeric expression that contains an angle measured in radians.
755
- */
756
- sin(x: number): number;
757
- /**
758
- * Returns the square root of a number.
759
- * @param x A numeric expression.
760
- */
761
- sqrt(x: number): number;
762
- /**
763
- * Returns the tangent of a number.
764
- * @param x A numeric expression that contains an angle measured in radians.
765
- */
766
- tan(x: number): number;
767
- }
768
- /** An intrinsic object that provides basic mathematics functionality and constants. */
769
- declare var Math: Math;
770
-
771
- /** Enables basic storage and retrieval of dates and times. */
772
- interface Date {
773
- /** Returns a string representation of a date. The format of the string depends on the locale. */
774
- toString(): string;
775
- /** Returns a date as a string value. */
776
- toDateString(): string;
777
- /** Returns a time as a string value. */
778
- toTimeString(): string;
779
- /** Returns a value as a string value appropriate to the host environment's current locale. */
780
- toLocaleString(): string;
781
- /** Returns a date as a string value appropriate to the host environment's current locale. */
782
- toLocaleDateString(): string;
783
- /** Returns a time as a string value appropriate to the host environment's current locale. */
784
- toLocaleTimeString(): string;
785
- /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */
786
- valueOf(): number;
787
- /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */
788
- getTime(): number;
789
- /** Gets the year, using local time. */
790
- getFullYear(): number;
791
- /** Gets the year using Universal Coordinated Time (UTC). */
792
- getUTCFullYear(): number;
793
- /** Gets the month, using local time. */
794
- getMonth(): number;
795
- /** Gets the month of a Date object using Universal Coordinated Time (UTC). */
796
- getUTCMonth(): number;
797
- /** Gets the day-of-the-month, using local time. */
798
- getDate(): number;
799
- /** Gets the day-of-the-month, using Universal Coordinated Time (UTC). */
800
- getUTCDate(): number;
801
- /** Gets the day of the week, using local time. */
802
- getDay(): number;
803
- /** Gets the day of the week using Universal Coordinated Time (UTC). */
804
- getUTCDay(): number;
805
- /** Gets the hours in a date, using local time. */
806
- getHours(): number;
807
- /** Gets the hours value in a Date object using Universal Coordinated Time (UTC). */
808
- getUTCHours(): number;
809
- /** Gets the minutes of a Date object, using local time. */
810
- getMinutes(): number;
811
- /** Gets the minutes of a Date object using Universal Coordinated Time (UTC). */
812
- getUTCMinutes(): number;
813
- /** Gets the seconds of a Date object, using local time. */
814
- getSeconds(): number;
815
- /** Gets the seconds of a Date object using Universal Coordinated Time (UTC). */
816
- getUTCSeconds(): number;
817
- /** Gets the milliseconds of a Date, using local time. */
818
- getMilliseconds(): number;
819
- /** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
820
- getUTCMilliseconds(): number;
821
- /** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
822
- getTimezoneOffset(): number;
823
- /**
824
- * Sets the date and time value in the Date object.
825
- * @param time A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT.
826
- */
827
- setTime(time: number): number;
828
- /**
829
- * Sets the milliseconds value in the Date object using local time.
830
- * @param ms A numeric value equal to the millisecond value.
831
- */
832
- setMilliseconds(ms: number): number;
833
- /**
834
- * Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).
835
- * @param ms A numeric value equal to the millisecond value.
836
- */
837
- setUTCMilliseconds(ms: number): number;
838
-
839
- /**
840
- * Sets the seconds value in the Date object using local time.
841
- * @param sec A numeric value equal to the seconds value.
842
- * @param ms A numeric value equal to the milliseconds value.
843
- */
844
- setSeconds(sec: number, ms?: number): number;
845
- /**
846
- * Sets the seconds value in the Date object using Universal Coordinated Time (UTC).
847
- * @param sec A numeric value equal to the seconds value.
848
- * @param ms A numeric value equal to the milliseconds value.
849
- */
850
- setUTCSeconds(sec: number, ms?: number): number;
851
- /**
852
- * Sets the minutes value in the Date object using local time.
853
- * @param min A numeric value equal to the minutes value.
854
- * @param sec A numeric value equal to the seconds value.
855
- * @param ms A numeric value equal to the milliseconds value.
856
- */
857
- setMinutes(min: number, sec?: number, ms?: number): number;
858
- /**
859
- * Sets the minutes value in the Date object using Universal Coordinated Time (UTC).
860
- * @param min A numeric value equal to the minutes value.
861
- * @param sec A numeric value equal to the seconds value.
862
- * @param ms A numeric value equal to the milliseconds value.
863
- */
864
- setUTCMinutes(min: number, sec?: number, ms?: number): number;
865
- /**
866
- * Sets the hour value in the Date object using local time.
867
- * @param hours A numeric value equal to the hours value.
868
- * @param min A numeric value equal to the minutes value.
869
- * @param sec A numeric value equal to the seconds value.
870
- * @param ms A numeric value equal to the milliseconds value.
871
- */
872
- setHours(hours: number, min?: number, sec?: number, ms?: number): number;
873
- /**
874
- * Sets the hours value in the Date object using Universal Coordinated Time (UTC).
875
- * @param hours A numeric value equal to the hours value.
876
- * @param min A numeric value equal to the minutes value.
877
- * @param sec A numeric value equal to the seconds value.
878
- * @param ms A numeric value equal to the milliseconds value.
879
- */
880
- setUTCHours(hours: number, min?: number, sec?: number, ms?: number): number;
881
- /**
882
- * Sets the numeric day-of-the-month value of the Date object using local time.
883
- * @param date A numeric value equal to the day of the month.
884
- */
885
- setDate(date: number): number;
886
- /**
887
- * Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC).
888
- * @param date A numeric value equal to the day of the month.
889
- */
890
- setUTCDate(date: number): number;
891
- /**
892
- * Sets the month value in the Date object using local time.
893
- * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.
894
- * @param date A numeric value representing the day of the month. If this value is not supplied, the value from a call to the getDate method is used.
895
- */
896
- setMonth(month: number, date?: number): number;
897
- /**
898
- * Sets the month value in the Date object using Universal Coordinated Time (UTC).
899
- * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.
900
- * @param date A numeric value representing the day of the month. If it is not supplied, the value from a call to the getUTCDate method is used.
901
- */
902
- setUTCMonth(month: number, date?: number): number;
903
- /**
904
- * Sets the year of the Date object using local time.
905
- * @param year A numeric value for the year.
906
- * @param month A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified.
907
- * @param date A numeric value equal for the day of the month.
908
- */
909
- setFullYear(year: number, month?: number, date?: number): number;
910
- /**
911
- * Sets the year value in the Date object using Universal Coordinated Time (UTC).
912
- * @param year A numeric value equal to the year.
913
- * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. Must be supplied if numDate is supplied.
914
- * @param date A numeric value equal to the day of the month.
915
- */
916
- setUTCFullYear(year: number, month?: number, date?: number): number;
917
- /** Returns a date converted to a string using Universal Coordinated Time (UTC). */
918
- toUTCString(): string;
919
- /** Returns a date as a string value in ISO format. */
920
- toISOString(): string;
921
- /** Used by the JSON.stringify method to enable the transformation of an object's data for JavaScript Object Notation (JSON) serialization. */
922
- toJSON(key?: any): string;
923
- }
924
-
925
- interface DateConstructor {
926
- new (): Date;
927
- new (value: number | string): Date;
928
- /**
929
- * Creates a new Date.
930
- * @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.
931
- * @param monthIndex The month as a number between 0 and 11 (January to December).
932
- * @param date The date as a number between 1 and 31.
933
- * @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.
934
- * @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.
935
- * @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.
936
- * @param ms A number from 0 to 999 that specifies the milliseconds.
937
- */
938
- new (year: number, monthIndex: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): Date;
939
- (): string;
940
- readonly prototype: Date;
941
- /**
942
- * Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.
943
- * @param s A date string
944
- */
945
- parse(s: string): number;
946
- /**
947
- * Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.
948
- * @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.
949
- * @param monthIndex The month as a number between 0 and 11 (January to December).
950
- * @param date The date as a number between 1 and 31.
951
- * @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.
952
- * @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.
953
- * @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.
954
- * @param ms A number from 0 to 999 that specifies the milliseconds.
955
- */
956
- UTC(year: number, monthIndex: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;
957
- /** Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC). */
958
- now(): number;
959
- }
960
-
961
- declare var Date: DateConstructor;
962
-
963
- interface RegExpMatchArray extends Array<string> {
964
- /**
965
- * The index of the search at which the result was found.
966
- */
967
- index?: number;
968
- /**
969
- * A copy of the search string.
970
- */
971
- input?: string;
972
- /**
973
- * The first match. This will always be present because `null` will be returned if there are no matches.
974
- */
975
- 0: string;
976
- }
977
-
978
- interface RegExpExecArray extends Array<string> {
979
- /**
980
- * The index of the search at which the result was found.
981
- */
982
- index: number;
983
- /**
984
- * A copy of the search string.
985
- */
986
- input: string;
987
- /**
988
- * The first match. This will always be present because `null` will be returned if there are no matches.
989
- */
990
- 0: string;
991
- }
992
-
993
- interface RegExp {
994
- /**
995
- * Executes a search on a string using a regular expression pattern, and returns an array containing the results of that search.
996
- * @param string The String object or string literal on which to perform the search.
997
- */
998
- exec(string: string): RegExpExecArray | null;
999
-
1000
- /**
1001
- * Returns a Boolean value that indicates whether or not a pattern exists in a searched string.
1002
- * @param string String on which to perform the search.
1003
- */
1004
- test(string: string): boolean;
1005
-
1006
- /** Returns a copy of the text of the regular expression pattern. Read-only. The regExp argument is a Regular expression object. It can be a variable name or a literal. */
1007
- readonly source: string;
1008
-
1009
- /** Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Default is false. Read-only. */
1010
- readonly global: boolean;
1011
-
1012
- /** Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression. Default is false. Read-only. */
1013
- readonly ignoreCase: boolean;
1014
-
1015
- /** Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression. Default is false. Read-only. */
1016
- readonly multiline: boolean;
1017
-
1018
- lastIndex: number;
1019
-
1020
- // Non-standard extensions
1021
- /** @deprecated A legacy feature for browser compatibility */
1022
- compile(pattern: string, flags?: string): this;
1023
- }
1024
-
1025
- interface RegExpConstructor {
1026
- new (pattern: RegExp | string): RegExp;
1027
- new (pattern: string, flags?: string): RegExp;
1028
- (pattern: RegExp | string): RegExp;
1029
- (pattern: string, flags?: string): RegExp;
1030
- readonly "prototype": RegExp;
1031
-
1032
- // Non-standard extensions
1033
- /** @deprecated A legacy feature for browser compatibility */
1034
- "$1": string;
1035
- /** @deprecated A legacy feature for browser compatibility */
1036
- "$2": string;
1037
- /** @deprecated A legacy feature for browser compatibility */
1038
- "$3": string;
1039
- /** @deprecated A legacy feature for browser compatibility */
1040
- "$4": string;
1041
- /** @deprecated A legacy feature for browser compatibility */
1042
- "$5": string;
1043
- /** @deprecated A legacy feature for browser compatibility */
1044
- "$6": string;
1045
- /** @deprecated A legacy feature for browser compatibility */
1046
- "$7": string;
1047
- /** @deprecated A legacy feature for browser compatibility */
1048
- "$8": string;
1049
- /** @deprecated A legacy feature for browser compatibility */
1050
- "$9": string;
1051
- /** @deprecated A legacy feature for browser compatibility */
1052
- "input": string;
1053
- /** @deprecated A legacy feature for browser compatibility */
1054
- "$_": string;
1055
- /** @deprecated A legacy feature for browser compatibility */
1056
- "lastMatch": string;
1057
- /** @deprecated A legacy feature for browser compatibility */
1058
- "$&": string;
1059
- /** @deprecated A legacy feature for browser compatibility */
1060
- "lastParen": string;
1061
- /** @deprecated A legacy feature for browser compatibility */
1062
- "$+": string;
1063
- /** @deprecated A legacy feature for browser compatibility */
1064
- "leftContext": string;
1065
- /** @deprecated A legacy feature for browser compatibility */
1066
- "$`": string;
1067
- /** @deprecated A legacy feature for browser compatibility */
1068
- "rightContext": string;
1069
- /** @deprecated A legacy feature for browser compatibility */
1070
- "$'": string;
1071
- }
1072
-
1073
- declare var RegExp: RegExpConstructor;
1074
-
1075
- interface Error {
1076
- name: string;
1077
- message: string;
1078
- stack?: string;
1079
- }
1080
-
1081
- interface ErrorConstructor {
1082
- new (message?: string): Error;
1083
- (message?: string): Error;
1084
- readonly prototype: Error;
1085
- }
1086
-
1087
- declare var Error: ErrorConstructor;
1088
-
1089
- interface EvalError extends Error {
1090
- }
1091
-
1092
- interface EvalErrorConstructor extends ErrorConstructor {
1093
- new (message?: string): EvalError;
1094
- (message?: string): EvalError;
1095
- readonly prototype: EvalError;
1096
- }
1097
-
1098
- declare var EvalError: EvalErrorConstructor;
1099
-
1100
- interface RangeError extends Error {
1101
- }
1102
-
1103
- interface RangeErrorConstructor extends ErrorConstructor {
1104
- new (message?: string): RangeError;
1105
- (message?: string): RangeError;
1106
- readonly prototype: RangeError;
1107
- }
1108
-
1109
- declare var RangeError: RangeErrorConstructor;
1110
-
1111
- interface ReferenceError extends Error {
1112
- }
1113
-
1114
- interface ReferenceErrorConstructor extends ErrorConstructor {
1115
- new (message?: string): ReferenceError;
1116
- (message?: string): ReferenceError;
1117
- readonly prototype: ReferenceError;
1118
- }
1119
-
1120
- declare var ReferenceError: ReferenceErrorConstructor;
1121
-
1122
- interface SyntaxError extends Error {
1123
- }
1124
-
1125
- interface SyntaxErrorConstructor extends ErrorConstructor {
1126
- new (message?: string): SyntaxError;
1127
- (message?: string): SyntaxError;
1128
- readonly prototype: SyntaxError;
1129
- }
1130
-
1131
- declare var SyntaxError: SyntaxErrorConstructor;
1132
-
1133
- interface TypeError extends Error {
1134
- }
1135
-
1136
- interface TypeErrorConstructor extends ErrorConstructor {
1137
- new (message?: string): TypeError;
1138
- (message?: string): TypeError;
1139
- readonly prototype: TypeError;
1140
- }
1141
-
1142
- declare var TypeError: TypeErrorConstructor;
1143
-
1144
- interface URIError extends Error {
1145
- }
1146
-
1147
- interface URIErrorConstructor extends ErrorConstructor {
1148
- new (message?: string): URIError;
1149
- (message?: string): URIError;
1150
- readonly prototype: URIError;
1151
- }
1152
-
1153
- declare var URIError: URIErrorConstructor;
1154
-
1155
- interface JSON {
1156
- /**
1157
- * Converts a JavaScript Object Notation (JSON) string into an object.
1158
- * @param text A valid JSON string.
1159
- * @param reviver A function that transforms the results. This function is called for each member of the object.
1160
- * If a member contains nested objects, the nested objects are transformed before the parent object is.
1161
- */
1162
- parse(text: string, reviver?: (this: any, key: string, value: any) => any): any;
1163
- /**
1164
- * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
1165
- * @param value A JavaScript value, usually an object or array, to be converted.
1166
- * @param replacer A function that transforms the results.
1167
- * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
1168
- */
1169
- stringify(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
1170
- /**
1171
- * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
1172
- * @param value A JavaScript value, usually an object or array, to be converted.
1173
- * @param replacer An array of strings and numbers that acts as an approved list for selecting the object properties that will be stringified.
1174
- * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
1175
- */
1176
- stringify(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
1177
- }
1178
-
1179
- /**
1180
- * An intrinsic object that provides functions to convert JavaScript values to and from the JavaScript Object Notation (JSON) format.
1181
- */
1182
- declare var JSON: JSON;
1183
-
1184
- /////////////////////////////
1185
- /// ECMAScript Array API (specially handled by compiler)
1186
- /////////////////////////////
1187
-
1188
- interface ReadonlyArray<T> {
1189
- /**
1190
- * Gets the length of the array. This is a number one higher than the highest element defined in an array.
1191
- */
1192
- readonly length: number;
1193
- /**
1194
- * Returns a string representation of an array.
1195
- */
1196
- toString(): string;
1197
- /**
1198
- * Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.
1199
- */
1200
- toLocaleString(): string;
1201
- /**
1202
- * Combines two or more arrays.
1203
- * @param items Additional items to add to the end of array1.
1204
- */
1205
- concat(...items: ConcatArray<T>[]): T[];
1206
- /**
1207
- * Combines two or more arrays.
1208
- * @param items Additional items to add to the end of array1.
1209
- */
1210
- concat(...items: (T | ConcatArray<T>)[]): T[];
1211
- /**
1212
- * Adds all the elements of an array separated by the specified separator string.
1213
- * @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.
1214
- */
1215
- join(separator?: string): string;
1216
- /**
1217
- * Returns a section of an array.
1218
- * @param start The beginning of the specified portion of the array.
1219
- * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
1220
- */
1221
- slice(start?: number, end?: number): T[];
1222
- /**
1223
- * Returns the index of the first occurrence of a value in an array.
1224
- * @param searchElement The value to locate in the array.
1225
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.
1226
- */
1227
- indexOf(searchElement: T, fromIndex?: number): number;
1228
- /**
1229
- * Returns the index of the last occurrence of a specified value in an array.
1230
- * @param searchElement The value to locate in the array.
1231
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.
1232
- */
1233
- lastIndexOf(searchElement: T, fromIndex?: number): number;
1234
- /**
1235
- * Determines whether all the members of an array satisfy the specified test.
1236
- * @param predicate A function that accepts up to three arguments. The every method calls
1237
- * the predicate function for each element in the array until the predicate returns a value
1238
- * which is coercible to the Boolean value false, or until the end of the array.
1239
- * @param thisArg An object to which the this keyword can refer in the predicate function.
1240
- * If thisArg is omitted, undefined is used as the this value.
1241
- */
1242
- every<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): this is readonly S[];
1243
- /**
1244
- * Determines whether all the members of an array satisfy the specified test.
1245
- * @param predicate A function that accepts up to three arguments. The every method calls
1246
- * the predicate function for each element in the array until the predicate returns a value
1247
- * which is coercible to the Boolean value false, or until the end of the array.
1248
- * @param thisArg An object to which the this keyword can refer in the predicate function.
1249
- * If thisArg is omitted, undefined is used as the this value.
1250
- */
1251
- every(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;
1252
- /**
1253
- * Determines whether the specified callback function returns true for any element of an array.
1254
- * @param predicate A function that accepts up to three arguments. The some method calls
1255
- * the predicate function for each element in the array until the predicate returns a value
1256
- * which is coercible to the Boolean value true, or until the end of the array.
1257
- * @param thisArg An object to which the this keyword can refer in the predicate function.
1258
- * If thisArg is omitted, undefined is used as the this value.
1259
- */
1260
- some(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;
1261
- /**
1262
- * Performs the specified action for each element in an array.
1263
- * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
1264
- * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
1265
- */
1266
- forEach(callbackfn: (value: T, index: number, array: readonly T[]) => void, thisArg?: any): void;
1267
- /**
1268
- * Calls a defined callback function on each element of an array, and returns an array that contains the results.
1269
- * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
1270
- * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
1271
- */
1272
- map<U>(callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any): U[];
1273
- /**
1274
- * Returns the elements of an array that meet the condition specified in a callback function.
1275
- * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
1276
- * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
1277
- */
1278
- filter<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S[];
1279
- /**
1280
- * Returns the elements of an array that meet the condition specified in a callback function.
1281
- * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
1282
- * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
1283
- */
1284
- filter(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T[];
1285
- /**
1286
- * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
1287
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
1288
- * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
1289
- */
1290
- reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;
1291
- reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;
1292
- /**
1293
- * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
1294
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
1295
- * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
1296
- */
1297
- reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;
1298
- /**
1299
- * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
1300
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
1301
- * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
1302
- */
1303
- reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;
1304
- reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;
1305
- /**
1306
- * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
1307
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
1308
- * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
1309
- */
1310
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;
1311
-
1312
- readonly [n: number]: T;
1313
- }
1314
-
1315
- interface ConcatArray<T> {
1316
- readonly length: number;
1317
- readonly [n: number]: T;
1318
- join(separator?: string): string;
1319
- slice(start?: number, end?: number): T[];
1320
- }
1321
-
1322
- interface Array<T> {
1323
- /**
1324
- * Gets or sets the length of the array. This is a number one higher than the highest index in the array.
1325
- */
1326
- length: number;
1327
- /**
1328
- * Returns a string representation of an array.
1329
- */
1330
- toString(): string;
1331
- /**
1332
- * Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.
1333
- */
1334
- toLocaleString(): string;
1335
- /**
1336
- * Removes the last element from an array and returns it.
1337
- * If the array is empty, undefined is returned and the array is not modified.
1338
- */
1339
- pop(): T | undefined;
1340
- /**
1341
- * Appends new elements to the end of an array, and returns the new length of the array.
1342
- * @param items New elements to add to the array.
1343
- */
1344
- push(...items: T[]): number;
1345
- /**
1346
- * Combines two or more arrays.
1347
- * This method returns a new array without modifying any existing arrays.
1348
- * @param items Additional arrays and/or items to add to the end of the array.
1349
- */
1350
- concat(...items: ConcatArray<T>[]): T[];
1351
- /**
1352
- * Combines two or more arrays.
1353
- * This method returns a new array without modifying any existing arrays.
1354
- * @param items Additional arrays and/or items to add to the end of the array.
1355
- */
1356
- concat(...items: (T | ConcatArray<T>)[]): T[];
1357
- /**
1358
- * Adds all the elements of an array into a string, separated by the specified separator string.
1359
- * @param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.
1360
- */
1361
- join(separator?: string): string;
1362
- /**
1363
- * Reverses the elements in an array in place.
1364
- * This method mutates the array and returns a reference to the same array.
1365
- */
1366
- reverse(): T[];
1367
- /**
1368
- * Removes the first element from an array and returns it.
1369
- * If the array is empty, undefined is returned and the array is not modified.
1370
- */
1371
- shift(): T | undefined;
1372
- /**
1373
- * Returns a copy of a section of an array.
1374
- * For both start and end, a negative index can be used to indicate an offset from the end of the array.
1375
- * For example, -2 refers to the second to last element of the array.
1376
- * @param start The beginning index of the specified portion of the array.
1377
- * If start is undefined, then the slice begins at index 0.
1378
- * @param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
1379
- * If end is undefined, then the slice extends to the end of the array.
1380
- */
1381
- slice(start?: number, end?: number): T[];
1382
- /**
1383
- * Sorts an array in place.
1384
- * This method mutates the array and returns a reference to the same array.
1385
- * @param compareFn Function used to determine the order of the elements. It is expected to return
1386
- * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
1387
- * value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order.
1388
- * ```ts
1389
- * [11,2,22,1].sort((a, b) => a - b)
1390
- * ```
1391
- */
1392
- sort(compareFn?: (a: T, b: T) => number): this;
1393
- /**
1394
- * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
1395
- * @param start The zero-based location in the array from which to start removing elements.
1396
- * @param deleteCount The number of elements to remove.
1397
- * @returns An array containing the elements that were deleted.
1398
- */
1399
- splice(start: number, deleteCount?: number): T[];
1400
- /**
1401
- * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
1402
- * @param start The zero-based location in the array from which to start removing elements.
1403
- * @param deleteCount The number of elements to remove.
1404
- * @param items Elements to insert into the array in place of the deleted elements.
1405
- * @returns An array containing the elements that were deleted.
1406
- */
1407
- splice(start: number, deleteCount: number, ...items: T[]): T[];
1408
- /**
1409
- * Inserts new elements at the start of an array, and returns the new length of the array.
1410
- * @param items Elements to insert at the start of the array.
1411
- */
1412
- unshift(...items: T[]): number;
1413
- /**
1414
- * Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
1415
- * @param searchElement The value to locate in the array.
1416
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.
1417
- */
1418
- indexOf(searchElement: T, fromIndex?: number): number;
1419
- /**
1420
- * Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
1421
- * @param searchElement The value to locate in the array.
1422
- * @param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.
1423
- */
1424
- lastIndexOf(searchElement: T, fromIndex?: number): number;
1425
- /**
1426
- * Determines whether all the members of an array satisfy the specified test.
1427
- * @param predicate A function that accepts up to three arguments. The every method calls
1428
- * the predicate function for each element in the array until the predicate returns a value
1429
- * which is coercible to the Boolean value false, or until the end of the array.
1430
- * @param thisArg An object to which the this keyword can refer in the predicate function.
1431
- * If thisArg is omitted, undefined is used as the this value.
1432
- */
1433
- every<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): this is S[];
1434
- /**
1435
- * Determines whether all the members of an array satisfy the specified test.
1436
- * @param predicate A function that accepts up to three arguments. The every method calls
1437
- * the predicate function for each element in the array until the predicate returns a value
1438
- * which is coercible to the Boolean value false, or until the end of the array.
1439
- * @param thisArg An object to which the this keyword can refer in the predicate function.
1440
- * If thisArg is omitted, undefined is used as the this value.
1441
- */
1442
- every(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;
1443
- /**
1444
- * Determines whether the specified callback function returns true for any element of an array.
1445
- * @param predicate A function that accepts up to three arguments. The some method calls
1446
- * the predicate function for each element in the array until the predicate returns a value
1447
- * which is coercible to the Boolean value true, or until the end of the array.
1448
- * @param thisArg An object to which the this keyword can refer in the predicate function.
1449
- * If thisArg is omitted, undefined is used as the this value.
1450
- */
1451
- some(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;
1452
- /**
1453
- * Performs the specified action for each element in an array.
1454
- * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
1455
- * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
1456
- */
1457
- forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;
1458
- /**
1459
- * Calls a defined callback function on each element of an array, and returns an array that contains the results.
1460
- * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
1461
- * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
1462
- */
1463
- map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];
1464
- /**
1465
- * Returns the elements of an array that meet the condition specified in a callback function.
1466
- * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
1467
- * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
1468
- */
1469
- filter<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S[];
1470
- /**
1471
- * Returns the elements of an array that meet the condition specified in a callback function.
1472
- * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
1473
- * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
1474
- */
1475
- filter(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T[];
1476
- /**
1477
- * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
1478
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
1479
- * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
1480
- */
1481
- reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;
1482
- reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;
1483
- /**
1484
- * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
1485
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
1486
- * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
1487
- */
1488
- reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;
1489
- /**
1490
- * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
1491
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
1492
- * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
1493
- */
1494
- reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;
1495
- reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;
1496
- /**
1497
- * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
1498
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
1499
- * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
1500
- */
1501
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;
1502
-
1503
- [n: number]: T;
1504
- }
1505
-
1506
- interface ArrayConstructor {
1507
- new (arrayLength?: number): any[];
1508
- new <T>(arrayLength: number): T[];
1509
- new <T>(...items: T[]): T[];
1510
- (arrayLength?: number): any[];
1511
- <T>(arrayLength: number): T[];
1512
- <T>(...items: T[]): T[];
1513
- isArray(arg: any): arg is any[];
1514
- readonly prototype: any[];
1515
- }
1516
-
1517
- declare var Array: ArrayConstructor;
1518
-
1519
- interface TypedPropertyDescriptor<T> {
1520
- enumerable?: boolean;
1521
- configurable?: boolean;
1522
- writable?: boolean;
1523
- value?: T;
1524
- get?: () => T;
1525
- set?: (value: T) => void;
1526
- }
1527
-
1528
- declare type PromiseConstructorLike = new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void) => PromiseLike<T>;
1529
-
1530
- interface PromiseLike<T> {
1531
- /**
1532
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1533
- * @param onfulfilled The callback to execute when the Promise is resolved.
1534
- * @param onrejected The callback to execute when the Promise is rejected.
1535
- * @returns A Promise for the completion of which ever callback is executed.
1536
- */
1537
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
1538
- }
1539
-
1540
- /**
1541
- * Represents the completion of an asynchronous operation
1542
- */
1543
- interface Promise<T> {
1544
- /**
1545
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1546
- * @param onfulfilled The callback to execute when the Promise is resolved.
1547
- * @param onrejected The callback to execute when the Promise is rejected.
1548
- * @returns A Promise for the completion of which ever callback is executed.
1549
- */
1550
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
1551
-
1552
- /**
1553
- * Attaches a callback for only the rejection of the Promise.
1554
- * @param onrejected The callback to execute when the Promise is rejected.
1555
- * @returns A Promise for the completion of the callback.
1556
- */
1557
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>;
1558
- }
1559
-
1560
- /**
1561
- * Recursively unwraps the "awaited type" of a type. Non-promise "thenables" should resolve to `never`. This emulates the behavior of `await`.
1562
- */
1563
- type Awaited<T> = T extends null | undefined ? T : // special case for `null | undefined` when not in `--strictNullChecks` mode
1564
- T extends object & { then(onfulfilled: infer F, ...args: infer _): any; } ? // `await` only unwraps object types with a callable `then`. Non-object types are not unwrapped
1565
- F extends ((value: infer V, ...args: infer _) => any) ? // if the argument to `then` is callable, extracts the first argument
1566
- Awaited<V> : // recursively unwrap the value
1567
- never : // the argument to `then` was not callable
1568
- T; // non-object or non-thenable
1569
-
1570
- interface ArrayLike<T> {
1571
- readonly length: number;
1572
- readonly [n: number]: T;
1573
- }
1574
-
1575
- /**
1576
- * Make all properties in T optional
1577
- */
1578
- type Partial<T> = {
1579
- [P in keyof T]?: T[P];
1580
- };
1581
-
1582
- /**
1583
- * Make all properties in T required
1584
- */
1585
- type Required<T> = {
1586
- [P in keyof T]-?: T[P];
1587
- };
1588
-
1589
- /**
1590
- * Make all properties in T readonly
1591
- */
1592
- type Readonly<T> = {
1593
- readonly [P in keyof T]: T[P];
1594
- };
1595
-
1596
- /**
1597
- * From T, pick a set of properties whose keys are in the union K
1598
- */
1599
- type Pick<T, K extends keyof T> = {
1600
- [P in K]: T[P];
1601
- };
1602
-
1603
- /**
1604
- * Construct a type with a set of properties K of type T
1605
- */
1606
- type Record<K extends keyof any, T> = {
1607
- [P in K]: T;
1608
- };
1609
-
1610
- /**
1611
- * Exclude from T those types that are assignable to U
1612
- */
1613
- type Exclude<T, U> = T extends U ? never : T;
1614
-
1615
- /**
1616
- * Extract from T those types that are assignable to U
1617
- */
1618
- type Extract<T, U> = T extends U ? T : never;
1619
-
1620
- /**
1621
- * Construct a type with the properties of T except for those in type K.
1622
- */
1623
- type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
1624
-
1625
- /**
1626
- * Exclude null and undefined from T
1627
- */
1628
- type NonNullable<T> = T & {};
1629
-
1630
- /**
1631
- * Obtain the parameters of a function type in a tuple
1632
- */
1633
- type Parameters<T extends (...args: any) => any> = T extends (...args: infer P) => any ? P : never;
1634
-
1635
- /**
1636
- * Obtain the parameters of a constructor function type in a tuple
1637
- */
1638
- type ConstructorParameters<T extends abstract new (...args: any) => any> = T extends abstract new (...args: infer P) => any ? P : never;
1639
-
1640
- /**
1641
- * Obtain the return type of a function type
1642
- */
1643
- type ReturnType<T extends (...args: any) => any> = T extends (...args: any) => infer R ? R : any;
1644
-
1645
- /**
1646
- * Obtain the return type of a constructor function type
1647
- */
1648
- type InstanceType<T extends abstract new (...args: any) => any> = T extends abstract new (...args: any) => infer R ? R : any;
1649
-
1650
- /**
1651
- * Convert string literal type to uppercase
1652
- */
1653
- type Uppercase<S extends string> = intrinsic;
1654
-
1655
- /**
1656
- * Convert string literal type to lowercase
1657
- */
1658
- type Lowercase<S extends string> = intrinsic;
1659
-
1660
- /**
1661
- * Convert first character of string literal type to uppercase
1662
- */
1663
- type Capitalize<S extends string> = intrinsic;
1664
-
1665
- /**
1666
- * Convert first character of string literal type to lowercase
1667
- */
1668
- type Uncapitalize<S extends string> = intrinsic;
1669
-
1670
- /**
1671
- * Marker for non-inference type position
1672
- */
1673
- type NoInfer<T> = intrinsic;
1674
-
1675
- /**
1676
- * Marker for contextual 'this' type
1677
- */
1678
- interface ThisType<T> {}
1679
-
1680
- /**
1681
- * Stores types to be used with WeakSet, WeakMap, WeakRef, and FinalizationRegistry
1682
- */
1683
- interface WeakKeyTypes {
1684
- object: object;
1685
- }
1686
-
1687
- type WeakKey = WeakKeyTypes[keyof WeakKeyTypes];
1688
-
1689
- /**
1690
- * Represents a raw buffer of binary data, which is used to store data for the
1691
- * different typed arrays. ArrayBuffers cannot be read from or written to directly,
1692
- * but can be passed to a typed array or DataView Object to interpret the raw
1693
- * buffer as needed.
1694
- */
1695
- interface ArrayBuffer {
1696
- /**
1697
- * Read-only. The length of the ArrayBuffer (in bytes).
1698
- */
1699
- readonly byteLength: number;
1700
-
1701
- /**
1702
- * Returns a section of an ArrayBuffer.
1703
- */
1704
- slice(begin?: number, end?: number): ArrayBuffer;
1705
- }
1706
-
1707
- /**
1708
- * Allowed ArrayBuffer types for the buffer of an ArrayBufferView and related Typed Arrays.
1709
- */
1710
- interface ArrayBufferTypes {
1711
- ArrayBuffer: ArrayBuffer;
1712
- }
1713
- type ArrayBufferLike = ArrayBufferTypes[keyof ArrayBufferTypes];
1714
-
1715
- interface ArrayBufferConstructor {
1716
- readonly prototype: ArrayBuffer;
1717
- new (byteLength: number): ArrayBuffer;
1718
- isView(arg: any): arg is ArrayBufferView;
1719
- }
1720
- declare var ArrayBuffer: ArrayBufferConstructor;
1721
-
1722
- interface ArrayBufferView<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
1723
- /**
1724
- * The ArrayBuffer instance referenced by the array.
1725
- */
1726
- readonly buffer: TArrayBuffer;
1727
-
1728
- /**
1729
- * The length in bytes of the array.
1730
- */
1731
- readonly byteLength: number;
1732
-
1733
- /**
1734
- * The offset in bytes of the array.
1735
- */
1736
- readonly byteOffset: number;
1737
- }
1738
-
1739
- interface DataView<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
1740
- readonly buffer: TArrayBuffer;
1741
- readonly byteLength: number;
1742
- readonly byteOffset: number;
1743
- /**
1744
- * Gets the Float32 value at the specified byte offset from the start of the view. There is
1745
- * no alignment constraint; multi-byte values may be fetched from any offset.
1746
- * @param byteOffset The place in the buffer at which the value should be retrieved.
1747
- * @param littleEndian If false or undefined, a big-endian value should be read.
1748
- */
1749
- getFloat32(byteOffset: number, littleEndian?: boolean): number;
1750
-
1751
- /**
1752
- * Gets the Float64 value at the specified byte offset from the start of the view. There is
1753
- * no alignment constraint; multi-byte values may be fetched from any offset.
1754
- * @param byteOffset The place in the buffer at which the value should be retrieved.
1755
- * @param littleEndian If false or undefined, a big-endian value should be read.
1756
- */
1757
- getFloat64(byteOffset: number, littleEndian?: boolean): number;
1758
-
1759
- /**
1760
- * Gets the Int8 value at the specified byte offset from the start of the view. There is
1761
- * no alignment constraint; multi-byte values may be fetched from any offset.
1762
- * @param byteOffset The place in the buffer at which the value should be retrieved.
1763
- */
1764
- getInt8(byteOffset: number): number;
1765
-
1766
- /**
1767
- * Gets the Int16 value at the specified byte offset from the start of the view. There is
1768
- * no alignment constraint; multi-byte values may be fetched from any offset.
1769
- * @param byteOffset The place in the buffer at which the value should be retrieved.
1770
- * @param littleEndian If false or undefined, a big-endian value should be read.
1771
- */
1772
- getInt16(byteOffset: number, littleEndian?: boolean): number;
1773
- /**
1774
- * Gets the Int32 value at the specified byte offset from the start of the view. There is
1775
- * no alignment constraint; multi-byte values may be fetched from any offset.
1776
- * @param byteOffset The place in the buffer at which the value should be retrieved.
1777
- * @param littleEndian If false or undefined, a big-endian value should be read.
1778
- */
1779
- getInt32(byteOffset: number, littleEndian?: boolean): number;
1780
-
1781
- /**
1782
- * Gets the Uint8 value at the specified byte offset from the start of the view. There is
1783
- * no alignment constraint; multi-byte values may be fetched from any offset.
1784
- * @param byteOffset The place in the buffer at which the value should be retrieved.
1785
- */
1786
- getUint8(byteOffset: number): number;
1787
-
1788
- /**
1789
- * Gets the Uint16 value at the specified byte offset from the start of the view. There is
1790
- * no alignment constraint; multi-byte values may be fetched from any offset.
1791
- * @param byteOffset The place in the buffer at which the value should be retrieved.
1792
- * @param littleEndian If false or undefined, a big-endian value should be read.
1793
- */
1794
- getUint16(byteOffset: number, littleEndian?: boolean): number;
1795
-
1796
- /**
1797
- * Gets the Uint32 value at the specified byte offset from the start of the view. There is
1798
- * no alignment constraint; multi-byte values may be fetched from any offset.
1799
- * @param byteOffset The place in the buffer at which the value should be retrieved.
1800
- * @param littleEndian If false or undefined, a big-endian value should be read.
1801
- */
1802
- getUint32(byteOffset: number, littleEndian?: boolean): number;
1803
-
1804
- /**
1805
- * Stores an Float32 value at the specified byte offset from the start of the view.
1806
- * @param byteOffset The place in the buffer at which the value should be set.
1807
- * @param value The value to set.
1808
- * @param littleEndian If false or undefined, a big-endian value should be written.
1809
- */
1810
- setFloat32(byteOffset: number, value: number, littleEndian?: boolean): void;
1811
-
1812
- /**
1813
- * Stores an Float64 value at the specified byte offset from the start of the view.
1814
- * @param byteOffset The place in the buffer at which the value should be set.
1815
- * @param value The value to set.
1816
- * @param littleEndian If false or undefined, a big-endian value should be written.
1817
- */
1818
- setFloat64(byteOffset: number, value: number, littleEndian?: boolean): void;
1819
-
1820
- /**
1821
- * Stores an Int8 value at the specified byte offset from the start of the view.
1822
- * @param byteOffset The place in the buffer at which the value should be set.
1823
- * @param value The value to set.
1824
- */
1825
- setInt8(byteOffset: number, value: number): void;
1826
-
1827
- /**
1828
- * Stores an Int16 value at the specified byte offset from the start of the view.
1829
- * @param byteOffset The place in the buffer at which the value should be set.
1830
- * @param value The value to set.
1831
- * @param littleEndian If false or undefined, a big-endian value should be written.
1832
- */
1833
- setInt16(byteOffset: number, value: number, littleEndian?: boolean): void;
1834
-
1835
- /**
1836
- * Stores an Int32 value at the specified byte offset from the start of the view.
1837
- * @param byteOffset The place in the buffer at which the value should be set.
1838
- * @param value The value to set.
1839
- * @param littleEndian If false or undefined, a big-endian value should be written.
1840
- */
1841
- setInt32(byteOffset: number, value: number, littleEndian?: boolean): void;
1842
-
1843
- /**
1844
- * Stores an Uint8 value at the specified byte offset from the start of the view.
1845
- * @param byteOffset The place in the buffer at which the value should be set.
1846
- * @param value The value to set.
1847
- */
1848
- setUint8(byteOffset: number, value: number): void;
1849
-
1850
- /**
1851
- * Stores an Uint16 value at the specified byte offset from the start of the view.
1852
- * @param byteOffset The place in the buffer at which the value should be set.
1853
- * @param value The value to set.
1854
- * @param littleEndian If false or undefined, a big-endian value should be written.
1855
- */
1856
- setUint16(byteOffset: number, value: number, littleEndian?: boolean): void;
1857
-
1858
- /**
1859
- * Stores an Uint32 value at the specified byte offset from the start of the view.
1860
- * @param byteOffset The place in the buffer at which the value should be set.
1861
- * @param value The value to set.
1862
- * @param littleEndian If false or undefined, a big-endian value should be written.
1863
- */
1864
- setUint32(byteOffset: number, value: number, littleEndian?: boolean): void;
1865
- }
1866
- interface DataViewConstructor {
1867
- readonly prototype: DataView<ArrayBufferLike>;
1868
- new <TArrayBuffer extends ArrayBufferLike & { BYTES_PER_ELEMENT?: never; }>(buffer: TArrayBuffer, byteOffset?: number, byteLength?: number): DataView<TArrayBuffer>;
1869
- }
1870
- declare var DataView: DataViewConstructor;
1871
-
1872
- /**
1873
- * A typed array of 8-bit integer values. The contents are initialized to 0. If the requested
1874
- * number of bytes could not be allocated an exception is raised.
1875
- */
1876
- interface Int8Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
1877
- /**
1878
- * The size in bytes of each element in the array.
1879
- */
1880
- readonly BYTES_PER_ELEMENT: number;
1881
-
1882
- /**
1883
- * The ArrayBuffer instance referenced by the array.
1884
- */
1885
- readonly buffer: TArrayBuffer;
1886
-
1887
- /**
1888
- * The length in bytes of the array.
1889
- */
1890
- readonly byteLength: number;
1891
-
1892
- /**
1893
- * The offset in bytes of the array.
1894
- */
1895
- readonly byteOffset: number;
1896
-
1897
- /**
1898
- * Returns the this object after copying a section of the array identified by start and end
1899
- * to the same array starting at position target
1900
- * @param target If target is negative, it is treated as length+target where length is the
1901
- * length of the array.
1902
- * @param start If start is negative, it is treated as length+start. If end is negative, it
1903
- * is treated as length+end.
1904
- * @param end If not specified, length of the this object is used as its default value.
1905
- */
1906
- copyWithin(target: number, start: number, end?: number): this;
1907
-
1908
- /**
1909
- * Determines whether all the members of an array satisfy the specified test.
1910
- * @param predicate A function that accepts up to three arguments. The every method calls
1911
- * the predicate function for each element in the array until the predicate returns a value
1912
- * which is coercible to the Boolean value false, or until the end of the array.
1913
- * @param thisArg An object to which the this keyword can refer in the predicate function.
1914
- * If thisArg is omitted, undefined is used as the this value.
1915
- */
1916
- every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
1917
-
1918
- /**
1919
- * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
1920
- * @param value value to fill array section with
1921
- * @param start index to start filling the array at. If start is negative, it is treated as
1922
- * length+start where length is the length of the array.
1923
- * @param end index to stop filling the array at. If end is negative, it is treated as
1924
- * length+end.
1925
- */
1926
- fill(value: number, start?: number, end?: number): this;
1927
-
1928
- /**
1929
- * Returns the elements of an array that meet the condition specified in a callback function.
1930
- * @param predicate A function that accepts up to three arguments. The filter method calls
1931
- * the predicate function one time for each element in the array.
1932
- * @param thisArg An object to which the this keyword can refer in the predicate function.
1933
- * If thisArg is omitted, undefined is used as the this value.
1934
- */
1935
- filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Int8Array<ArrayBuffer>;
1936
-
1937
- /**
1938
- * Returns the value of the first element in the array where predicate is true, and undefined
1939
- * otherwise.
1940
- * @param predicate find calls predicate once for each element of the array, in ascending
1941
- * order, until it finds one where predicate returns true. If such an element is found, find
1942
- * immediately returns that element value. Otherwise, find returns undefined.
1943
- * @param thisArg If provided, it will be used as the this value for each invocation of
1944
- * predicate. If it is not provided, undefined is used instead.
1945
- */
1946
- find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined;
1947
-
1948
- /**
1949
- * Returns the index of the first element in the array where predicate is true, and -1
1950
- * otherwise.
1951
- * @param predicate find calls predicate once for each element of the array, in ascending
1952
- * order, until it finds one where predicate returns true. If such an element is found,
1953
- * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
1954
- * @param thisArg If provided, it will be used as the this value for each invocation of
1955
- * predicate. If it is not provided, undefined is used instead.
1956
- */
1957
- findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number;
1958
-
1959
- /**
1960
- * Performs the specified action for each element in an array.
1961
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
1962
- * callbackfn function one time for each element in the array.
1963
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
1964
- * If thisArg is omitted, undefined is used as the this value.
1965
- */
1966
- forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
1967
-
1968
- /**
1969
- * Returns the index of the first occurrence of a value in an array.
1970
- * @param searchElement The value to locate in the array.
1971
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
1972
- * search starts at index 0.
1973
- */
1974
- indexOf(searchElement: number, fromIndex?: number): number;
1975
-
1976
- /**
1977
- * Adds all the elements of an array separated by the specified separator string.
1978
- * @param separator A string used to separate one element of an array from the next in the
1979
- * resulting String. If omitted, the array elements are separated with a comma.
1980
- */
1981
- join(separator?: string): string;
1982
-
1983
- /**
1984
- * Returns the index of the last occurrence of a value in an array.
1985
- * @param searchElement The value to locate in the array.
1986
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
1987
- * search starts at index 0.
1988
- */
1989
- lastIndexOf(searchElement: number, fromIndex?: number): number;
1990
-
1991
- /**
1992
- * The length of the array.
1993
- */
1994
- readonly length: number;
1995
-
1996
- /**
1997
- * Calls a defined callback function on each element of an array, and returns an array that
1998
- * contains the results.
1999
- * @param callbackfn A function that accepts up to three arguments. The map method calls the
2000
- * callbackfn function one time for each element in the array.
2001
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2002
- * If thisArg is omitted, undefined is used as the this value.
2003
- */
2004
- map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Int8Array<ArrayBuffer>;
2005
-
2006
- /**
2007
- * Calls the specified callback function for all the elements in an array. The return value of
2008
- * the callback function is the accumulated result, and is provided as an argument in the next
2009
- * call to the callback function.
2010
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
2011
- * callbackfn function one time for each element in the array.
2012
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2013
- * the accumulation. The first call to the callbackfn function provides this value as an argument
2014
- * instead of an array value.
2015
- */
2016
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
2017
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
2018
-
2019
- /**
2020
- * Calls the specified callback function for all the elements in an array. The return value of
2021
- * the callback function is the accumulated result, and is provided as an argument in the next
2022
- * call to the callback function.
2023
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
2024
- * callbackfn function one time for each element in the array.
2025
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2026
- * the accumulation. The first call to the callbackfn function provides this value as an argument
2027
- * instead of an array value.
2028
- */
2029
- reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
2030
-
2031
- /**
2032
- * Calls the specified callback function for all the elements in an array, in descending order.
2033
- * The return value of the callback function is the accumulated result, and is provided as an
2034
- * argument in the next call to the callback function.
2035
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
2036
- * the callbackfn function one time for each element in the array.
2037
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2038
- * the accumulation. The first call to the callbackfn function provides this value as an
2039
- * argument instead of an array value.
2040
- */
2041
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
2042
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
2043
-
2044
- /**
2045
- * Calls the specified callback function for all the elements in an array, in descending order.
2046
- * The return value of the callback function is the accumulated result, and is provided as an
2047
- * argument in the next call to the callback function.
2048
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
2049
- * the callbackfn function one time for each element in the array.
2050
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2051
- * the accumulation. The first call to the callbackfn function provides this value as an argument
2052
- * instead of an array value.
2053
- */
2054
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
2055
-
2056
- /**
2057
- * Reverses the elements in an Array.
2058
- */
2059
- reverse(): this;
2060
-
2061
- /**
2062
- * Sets a value or an array of values.
2063
- * @param array A typed or untyped array of values to set.
2064
- * @param offset The index in the current array at which the values are to be written.
2065
- */
2066
- set(array: ArrayLike<number>, offset?: number): void;
2067
-
2068
- /**
2069
- * Returns a section of an array.
2070
- * @param start The beginning of the specified portion of the array.
2071
- * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
2072
- */
2073
- slice(start?: number, end?: number): Int8Array<ArrayBuffer>;
2074
-
2075
- /**
2076
- * Determines whether the specified callback function returns true for any element of an array.
2077
- * @param predicate A function that accepts up to three arguments. The some method calls
2078
- * the predicate function for each element in the array until the predicate returns a value
2079
- * which is coercible to the Boolean value true, or until the end of the array.
2080
- * @param thisArg An object to which the this keyword can refer in the predicate function.
2081
- * If thisArg is omitted, undefined is used as the this value.
2082
- */
2083
- some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
2084
-
2085
- /**
2086
- * Sorts an array.
2087
- * @param compareFn Function used to determine the order of the elements. It is expected to return
2088
- * a negative value if first argument is less than second argument, zero if they're equal and a positive
2089
- * value otherwise. If omitted, the elements are sorted in ascending order.
2090
- * ```ts
2091
- * [11,2,22,1].sort((a, b) => a - b)
2092
- * ```
2093
- */
2094
- sort(compareFn?: (a: number, b: number) => number): this;
2095
-
2096
- /**
2097
- * Gets a new Int8Array view of the ArrayBuffer store for this array, referencing the elements
2098
- * at begin, inclusive, up to end, exclusive.
2099
- * @param begin The index of the beginning of the array.
2100
- * @param end The index of the end of the array.
2101
- */
2102
- subarray(begin?: number, end?: number): Int8Array<TArrayBuffer>;
2103
-
2104
- /**
2105
- * Converts a number to a string by using the current locale.
2106
- */
2107
- toLocaleString(): string;
2108
-
2109
- /**
2110
- * Returns a string representation of an array.
2111
- */
2112
- toString(): string;
2113
-
2114
- /** Returns the primitive value of the specified object. */
2115
- valueOf(): this;
2116
-
2117
- [index: number]: number;
2118
- }
2119
- interface Int8ArrayConstructor {
2120
- readonly prototype: Int8Array<ArrayBufferLike>;
2121
- new (length: number): Int8Array<ArrayBuffer>;
2122
- new (array: ArrayLike<number>): Int8Array<ArrayBuffer>;
2123
- new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Int8Array<TArrayBuffer>;
2124
- new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Int8Array<ArrayBuffer>;
2125
- new (array: ArrayLike<number> | ArrayBuffer): Int8Array<ArrayBuffer>;
2126
-
2127
- /**
2128
- * The size in bytes of each element in the array.
2129
- */
2130
- readonly BYTES_PER_ELEMENT: number;
2131
-
2132
- /**
2133
- * Returns a new array from a set of elements.
2134
- * @param items A set of elements to include in the new array object.
2135
- */
2136
- of(...items: number[]): Int8Array<ArrayBuffer>;
2137
-
2138
- /**
2139
- * Creates an array from an array-like or iterable object.
2140
- * @param arrayLike An array-like object to convert to an array.
2141
- */
2142
- from(arrayLike: ArrayLike<number>): Int8Array<ArrayBuffer>;
2143
-
2144
- /**
2145
- * Creates an array from an array-like or iterable object.
2146
- * @param arrayLike An array-like object to convert to an array.
2147
- * @param mapfn A mapping function to call on every element of the array.
2148
- * @param thisArg Value of 'this' used to invoke the mapfn.
2149
- */
2150
- from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array<ArrayBuffer>;
2151
- }
2152
- declare var Int8Array: Int8ArrayConstructor;
2153
-
2154
- /**
2155
- * A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the
2156
- * requested number of bytes could not be allocated an exception is raised.
2157
- */
2158
- interface Uint8Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
2159
- /**
2160
- * The size in bytes of each element in the array.
2161
- */
2162
- readonly BYTES_PER_ELEMENT: number;
2163
-
2164
- /**
2165
- * The ArrayBuffer instance referenced by the array.
2166
- */
2167
- readonly buffer: TArrayBuffer;
2168
-
2169
- /**
2170
- * The length in bytes of the array.
2171
- */
2172
- readonly byteLength: number;
2173
-
2174
- /**
2175
- * The offset in bytes of the array.
2176
- */
2177
- readonly byteOffset: number;
2178
-
2179
- /**
2180
- * Returns the this object after copying a section of the array identified by start and end
2181
- * to the same array starting at position target
2182
- * @param target If target is negative, it is treated as length+target where length is the
2183
- * length of the array.
2184
- * @param start If start is negative, it is treated as length+start. If end is negative, it
2185
- * is treated as length+end.
2186
- * @param end If not specified, length of the this object is used as its default value.
2187
- */
2188
- copyWithin(target: number, start: number, end?: number): this;
2189
-
2190
- /**
2191
- * Determines whether all the members of an array satisfy the specified test.
2192
- * @param predicate A function that accepts up to three arguments. The every method calls
2193
- * the predicate function for each element in the array until the predicate returns a value
2194
- * which is coercible to the Boolean value false, or until the end of the array.
2195
- * @param thisArg An object to which the this keyword can refer in the predicate function.
2196
- * If thisArg is omitted, undefined is used as the this value.
2197
- */
2198
- every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
2199
-
2200
- /**
2201
- * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
2202
- * @param value value to fill array section with
2203
- * @param start index to start filling the array at. If start is negative, it is treated as
2204
- * length+start where length is the length of the array.
2205
- * @param end index to stop filling the array at. If end is negative, it is treated as
2206
- * length+end.
2207
- */
2208
- fill(value: number, start?: number, end?: number): this;
2209
-
2210
- /**
2211
- * Returns the elements of an array that meet the condition specified in a callback function.
2212
- * @param predicate A function that accepts up to three arguments. The filter method calls
2213
- * the predicate function one time for each element in the array.
2214
- * @param thisArg An object to which the this keyword can refer in the predicate function.
2215
- * If thisArg is omitted, undefined is used as the this value.
2216
- */
2217
- filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Uint8Array<ArrayBuffer>;
2218
-
2219
- /**
2220
- * Returns the value of the first element in the array where predicate is true, and undefined
2221
- * otherwise.
2222
- * @param predicate find calls predicate once for each element of the array, in ascending
2223
- * order, until it finds one where predicate returns true. If such an element is found, find
2224
- * immediately returns that element value. Otherwise, find returns undefined.
2225
- * @param thisArg If provided, it will be used as the this value for each invocation of
2226
- * predicate. If it is not provided, undefined is used instead.
2227
- */
2228
- find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined;
2229
-
2230
- /**
2231
- * Returns the index of the first element in the array where predicate is true, and -1
2232
- * otherwise.
2233
- * @param predicate find calls predicate once for each element of the array, in ascending
2234
- * order, until it finds one where predicate returns true. If such an element is found,
2235
- * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
2236
- * @param thisArg If provided, it will be used as the this value for each invocation of
2237
- * predicate. If it is not provided, undefined is used instead.
2238
- */
2239
- findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number;
2240
-
2241
- /**
2242
- * Performs the specified action for each element in an array.
2243
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
2244
- * callbackfn function one time for each element in the array.
2245
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2246
- * If thisArg is omitted, undefined is used as the this value.
2247
- */
2248
- forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
2249
-
2250
- /**
2251
- * Returns the index of the first occurrence of a value in an array.
2252
- * @param searchElement The value to locate in the array.
2253
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
2254
- * search starts at index 0.
2255
- */
2256
- indexOf(searchElement: number, fromIndex?: number): number;
2257
-
2258
- /**
2259
- * Adds all the elements of an array separated by the specified separator string.
2260
- * @param separator A string used to separate one element of an array from the next in the
2261
- * resulting String. If omitted, the array elements are separated with a comma.
2262
- */
2263
- join(separator?: string): string;
2264
-
2265
- /**
2266
- * Returns the index of the last occurrence of a value in an array.
2267
- * @param searchElement The value to locate in the array.
2268
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
2269
- * search starts at index 0.
2270
- */
2271
- lastIndexOf(searchElement: number, fromIndex?: number): number;
2272
-
2273
- /**
2274
- * The length of the array.
2275
- */
2276
- readonly length: number;
2277
-
2278
- /**
2279
- * Calls a defined callback function on each element of an array, and returns an array that
2280
- * contains the results.
2281
- * @param callbackfn A function that accepts up to three arguments. The map method calls the
2282
- * callbackfn function one time for each element in the array.
2283
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2284
- * If thisArg is omitted, undefined is used as the this value.
2285
- */
2286
- map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
2287
-
2288
- /**
2289
- * Calls the specified callback function for all the elements in an array. The return value of
2290
- * the callback function is the accumulated result, and is provided as an argument in the next
2291
- * call to the callback function.
2292
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
2293
- * callbackfn function one time for each element in the array.
2294
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2295
- * the accumulation. The first call to the callbackfn function provides this value as an argument
2296
- * instead of an array value.
2297
- */
2298
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
2299
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
2300
-
2301
- /**
2302
- * Calls the specified callback function for all the elements in an array. The return value of
2303
- * the callback function is the accumulated result, and is provided as an argument in the next
2304
- * call to the callback function.
2305
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
2306
- * callbackfn function one time for each element in the array.
2307
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2308
- * the accumulation. The first call to the callbackfn function provides this value as an argument
2309
- * instead of an array value.
2310
- */
2311
- reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
2312
-
2313
- /**
2314
- * Calls the specified callback function for all the elements in an array, in descending order.
2315
- * The return value of the callback function is the accumulated result, and is provided as an
2316
- * argument in the next call to the callback function.
2317
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
2318
- * the callbackfn function one time for each element in the array.
2319
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2320
- * the accumulation. The first call to the callbackfn function provides this value as an
2321
- * argument instead of an array value.
2322
- */
2323
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
2324
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
2325
-
2326
- /**
2327
- * Calls the specified callback function for all the elements in an array, in descending order.
2328
- * The return value of the callback function is the accumulated result, and is provided as an
2329
- * argument in the next call to the callback function.
2330
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
2331
- * the callbackfn function one time for each element in the array.
2332
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2333
- * the accumulation. The first call to the callbackfn function provides this value as an argument
2334
- * instead of an array value.
2335
- */
2336
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
2337
-
2338
- /**
2339
- * Reverses the elements in an Array.
2340
- */
2341
- reverse(): this;
2342
-
2343
- /**
2344
- * Sets a value or an array of values.
2345
- * @param array A typed or untyped array of values to set.
2346
- * @param offset The index in the current array at which the values are to be written.
2347
- */
2348
- set(array: ArrayLike<number>, offset?: number): void;
2349
-
2350
- /**
2351
- * Returns a section of an array.
2352
- * @param start The beginning of the specified portion of the array.
2353
- * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
2354
- */
2355
- slice(start?: number, end?: number): Uint8Array<ArrayBuffer>;
2356
-
2357
- /**
2358
- * Determines whether the specified callback function returns true for any element of an array.
2359
- * @param predicate A function that accepts up to three arguments. The some method calls
2360
- * the predicate function for each element in the array until the predicate returns a value
2361
- * which is coercible to the Boolean value true, or until the end of the array.
2362
- * @param thisArg An object to which the this keyword can refer in the predicate function.
2363
- * If thisArg is omitted, undefined is used as the this value.
2364
- */
2365
- some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
2366
-
2367
- /**
2368
- * Sorts an array.
2369
- * @param compareFn Function used to determine the order of the elements. It is expected to return
2370
- * a negative value if first argument is less than second argument, zero if they're equal and a positive
2371
- * value otherwise. If omitted, the elements are sorted in ascending order.
2372
- * ```ts
2373
- * [11,2,22,1].sort((a, b) => a - b)
2374
- * ```
2375
- */
2376
- sort(compareFn?: (a: number, b: number) => number): this;
2377
-
2378
- /**
2379
- * Gets a new Uint8Array view of the ArrayBuffer store for this array, referencing the elements
2380
- * at begin, inclusive, up to end, exclusive.
2381
- * @param begin The index of the beginning of the array.
2382
- * @param end The index of the end of the array.
2383
- */
2384
- subarray(begin?: number, end?: number): Uint8Array<TArrayBuffer>;
2385
-
2386
- /**
2387
- * Converts a number to a string by using the current locale.
2388
- */
2389
- toLocaleString(): string;
2390
-
2391
- /**
2392
- * Returns a string representation of an array.
2393
- */
2394
- toString(): string;
2395
-
2396
- /** Returns the primitive value of the specified object. */
2397
- valueOf(): this;
2398
-
2399
- [index: number]: number;
2400
- }
2401
- interface Uint8ArrayConstructor {
2402
- readonly prototype: Uint8Array<ArrayBufferLike>;
2403
- new (length: number): Uint8Array<ArrayBuffer>;
2404
- new (array: ArrayLike<number>): Uint8Array<ArrayBuffer>;
2405
- new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Uint8Array<TArrayBuffer>;
2406
- new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint8Array<ArrayBuffer>;
2407
- new (array: ArrayLike<number> | ArrayBuffer): Uint8Array<ArrayBuffer>;
2408
-
2409
- /**
2410
- * The size in bytes of each element in the array.
2411
- */
2412
- readonly BYTES_PER_ELEMENT: number;
2413
-
2414
- /**
2415
- * Returns a new array from a set of elements.
2416
- * @param items A set of elements to include in the new array object.
2417
- */
2418
- of(...items: number[]): Uint8Array<ArrayBuffer>;
2419
-
2420
- /**
2421
- * Creates an array from an array-like or iterable object.
2422
- * @param arrayLike An array-like object to convert to an array.
2423
- */
2424
- from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
2425
-
2426
- /**
2427
- * Creates an array from an array-like or iterable object.
2428
- * @param arrayLike An array-like object to convert to an array.
2429
- * @param mapfn A mapping function to call on every element of the array.
2430
- * @param thisArg Value of 'this' used to invoke the mapfn.
2431
- */
2432
- from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
2433
- }
2434
- declare var Uint8Array: Uint8ArrayConstructor;
2435
-
2436
- /**
2437
- * A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.
2438
- * If the requested number of bytes could not be allocated an exception is raised.
2439
- */
2440
- interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
2441
- /**
2442
- * The size in bytes of each element in the array.
2443
- */
2444
- readonly BYTES_PER_ELEMENT: number;
2445
-
2446
- /**
2447
- * The ArrayBuffer instance referenced by the array.
2448
- */
2449
- readonly buffer: TArrayBuffer;
2450
-
2451
- /**
2452
- * The length in bytes of the array.
2453
- */
2454
- readonly byteLength: number;
2455
-
2456
- /**
2457
- * The offset in bytes of the array.
2458
- */
2459
- readonly byteOffset: number;
2460
-
2461
- /**
2462
- * Returns the this object after copying a section of the array identified by start and end
2463
- * to the same array starting at position target
2464
- * @param target If target is negative, it is treated as length+target where length is the
2465
- * length of the array.
2466
- * @param start If start is negative, it is treated as length+start. If end is negative, it
2467
- * is treated as length+end.
2468
- * @param end If not specified, length of the this object is used as its default value.
2469
- */
2470
- copyWithin(target: number, start: number, end?: number): this;
2471
-
2472
- /**
2473
- * Determines whether all the members of an array satisfy the specified test.
2474
- * @param predicate A function that accepts up to three arguments. The every method calls
2475
- * the predicate function for each element in the array until the predicate returns a value
2476
- * which is coercible to the Boolean value false, or until the end of the array.
2477
- * @param thisArg An object to which the this keyword can refer in the predicate function.
2478
- * If thisArg is omitted, undefined is used as the this value.
2479
- */
2480
- every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
2481
-
2482
- /**
2483
- * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
2484
- * @param value value to fill array section with
2485
- * @param start index to start filling the array at. If start is negative, it is treated as
2486
- * length+start where length is the length of the array.
2487
- * @param end index to stop filling the array at. If end is negative, it is treated as
2488
- * length+end.
2489
- */
2490
- fill(value: number, start?: number, end?: number): this;
2491
-
2492
- /**
2493
- * Returns the elements of an array that meet the condition specified in a callback function.
2494
- * @param predicate A function that accepts up to three arguments. The filter method calls
2495
- * the predicate function one time for each element in the array.
2496
- * @param thisArg An object to which the this keyword can refer in the predicate function.
2497
- * If thisArg is omitted, undefined is used as the this value.
2498
- */
2499
- filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Uint8ClampedArray<ArrayBuffer>;
2500
-
2501
- /**
2502
- * Returns the value of the first element in the array where predicate is true, and undefined
2503
- * otherwise.
2504
- * @param predicate find calls predicate once for each element of the array, in ascending
2505
- * order, until it finds one where predicate returns true. If such an element is found, find
2506
- * immediately returns that element value. Otherwise, find returns undefined.
2507
- * @param thisArg If provided, it will be used as the this value for each invocation of
2508
- * predicate. If it is not provided, undefined is used instead.
2509
- */
2510
- find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined;
2511
-
2512
- /**
2513
- * Returns the index of the first element in the array where predicate is true, and -1
2514
- * otherwise.
2515
- * @param predicate find calls predicate once for each element of the array, in ascending
2516
- * order, until it finds one where predicate returns true. If such an element is found,
2517
- * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
2518
- * @param thisArg If provided, it will be used as the this value for each invocation of
2519
- * predicate. If it is not provided, undefined is used instead.
2520
- */
2521
- findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number;
2522
-
2523
- /**
2524
- * Performs the specified action for each element in an array.
2525
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
2526
- * callbackfn function one time for each element in the array.
2527
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2528
- * If thisArg is omitted, undefined is used as the this value.
2529
- */
2530
- forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
2531
-
2532
- /**
2533
- * Returns the index of the first occurrence of a value in an array.
2534
- * @param searchElement The value to locate in the array.
2535
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
2536
- * search starts at index 0.
2537
- */
2538
- indexOf(searchElement: number, fromIndex?: number): number;
2539
-
2540
- /**
2541
- * Adds all the elements of an array separated by the specified separator string.
2542
- * @param separator A string used to separate one element of an array from the next in the
2543
- * resulting String. If omitted, the array elements are separated with a comma.
2544
- */
2545
- join(separator?: string): string;
2546
-
2547
- /**
2548
- * Returns the index of the last occurrence of a value in an array.
2549
- * @param searchElement The value to locate in the array.
2550
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
2551
- * search starts at index 0.
2552
- */
2553
- lastIndexOf(searchElement: number, fromIndex?: number): number;
2554
-
2555
- /**
2556
- * The length of the array.
2557
- */
2558
- readonly length: number;
2559
-
2560
- /**
2561
- * Calls a defined callback function on each element of an array, and returns an array that
2562
- * contains the results.
2563
- * @param callbackfn A function that accepts up to three arguments. The map method calls the
2564
- * callbackfn function one time for each element in the array.
2565
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2566
- * If thisArg is omitted, undefined is used as the this value.
2567
- */
2568
- map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Uint8ClampedArray<ArrayBuffer>;
2569
-
2570
- /**
2571
- * Calls the specified callback function for all the elements in an array. The return value of
2572
- * the callback function is the accumulated result, and is provided as an argument in the next
2573
- * call to the callback function.
2574
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
2575
- * callbackfn function one time for each element in the array.
2576
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2577
- * the accumulation. The first call to the callbackfn function provides this value as an argument
2578
- * instead of an array value.
2579
- */
2580
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
2581
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
2582
-
2583
- /**
2584
- * Calls the specified callback function for all the elements in an array. The return value of
2585
- * the callback function is the accumulated result, and is provided as an argument in the next
2586
- * call to the callback function.
2587
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
2588
- * callbackfn function one time for each element in the array.
2589
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2590
- * the accumulation. The first call to the callbackfn function provides this value as an argument
2591
- * instead of an array value.
2592
- */
2593
- reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
2594
-
2595
- /**
2596
- * Calls the specified callback function for all the elements in an array, in descending order.
2597
- * The return value of the callback function is the accumulated result, and is provided as an
2598
- * argument in the next call to the callback function.
2599
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
2600
- * the callbackfn function one time for each element in the array.
2601
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2602
- * the accumulation. The first call to the callbackfn function provides this value as an
2603
- * argument instead of an array value.
2604
- */
2605
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
2606
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
2607
-
2608
- /**
2609
- * Calls the specified callback function for all the elements in an array, in descending order.
2610
- * The return value of the callback function is the accumulated result, and is provided as an
2611
- * argument in the next call to the callback function.
2612
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
2613
- * the callbackfn function one time for each element in the array.
2614
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2615
- * the accumulation. The first call to the callbackfn function provides this value as an argument
2616
- * instead of an array value.
2617
- */
2618
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
2619
-
2620
- /**
2621
- * Reverses the elements in an Array.
2622
- */
2623
- reverse(): this;
2624
-
2625
- /**
2626
- * Sets a value or an array of values.
2627
- * @param array A typed or untyped array of values to set.
2628
- * @param offset The index in the current array at which the values are to be written.
2629
- */
2630
- set(array: ArrayLike<number>, offset?: number): void;
2631
-
2632
- /**
2633
- * Returns a section of an array.
2634
- * @param start The beginning of the specified portion of the array.
2635
- * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
2636
- */
2637
- slice(start?: number, end?: number): Uint8ClampedArray<ArrayBuffer>;
2638
-
2639
- /**
2640
- * Determines whether the specified callback function returns true for any element of an array.
2641
- * @param predicate A function that accepts up to three arguments. The some method calls
2642
- * the predicate function for each element in the array until the predicate returns a value
2643
- * which is coercible to the Boolean value true, or until the end of the array.
2644
- * @param thisArg An object to which the this keyword can refer in the predicate function.
2645
- * If thisArg is omitted, undefined is used as the this value.
2646
- */
2647
- some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
2648
-
2649
- /**
2650
- * Sorts an array.
2651
- * @param compareFn Function used to determine the order of the elements. It is expected to return
2652
- * a negative value if first argument is less than second argument, zero if they're equal and a positive
2653
- * value otherwise. If omitted, the elements are sorted in ascending order.
2654
- * ```ts
2655
- * [11,2,22,1].sort((a, b) => a - b)
2656
- * ```
2657
- */
2658
- sort(compareFn?: (a: number, b: number) => number): this;
2659
-
2660
- /**
2661
- * Gets a new Uint8ClampedArray view of the ArrayBuffer store for this array, referencing the elements
2662
- * at begin, inclusive, up to end, exclusive.
2663
- * @param begin The index of the beginning of the array.
2664
- * @param end The index of the end of the array.
2665
- */
2666
- subarray(begin?: number, end?: number): Uint8ClampedArray<TArrayBuffer>;
2667
-
2668
- /**
2669
- * Converts a number to a string by using the current locale.
2670
- */
2671
- toLocaleString(): string;
2672
-
2673
- /**
2674
- * Returns a string representation of an array.
2675
- */
2676
- toString(): string;
2677
-
2678
- /** Returns the primitive value of the specified object. */
2679
- valueOf(): this;
2680
-
2681
- [index: number]: number;
2682
- }
2683
- interface Uint8ClampedArrayConstructor {
2684
- readonly prototype: Uint8ClampedArray<ArrayBufferLike>;
2685
- new (length: number): Uint8ClampedArray<ArrayBuffer>;
2686
- new (array: ArrayLike<number>): Uint8ClampedArray<ArrayBuffer>;
2687
- new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Uint8ClampedArray<TArrayBuffer>;
2688
- new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint8ClampedArray<ArrayBuffer>;
2689
- new (array: ArrayLike<number> | ArrayBuffer): Uint8ClampedArray<ArrayBuffer>;
2690
-
2691
- /**
2692
- * The size in bytes of each element in the array.
2693
- */
2694
- readonly BYTES_PER_ELEMENT: number;
2695
-
2696
- /**
2697
- * Returns a new array from a set of elements.
2698
- * @param items A set of elements to include in the new array object.
2699
- */
2700
- of(...items: number[]): Uint8ClampedArray<ArrayBuffer>;
2701
-
2702
- /**
2703
- * Creates an array from an array-like or iterable object.
2704
- * @param arrayLike An array-like object to convert to an array.
2705
- */
2706
- from(arrayLike: ArrayLike<number>): Uint8ClampedArray<ArrayBuffer>;
2707
-
2708
- /**
2709
- * Creates an array from an array-like or iterable object.
2710
- * @param arrayLike An array-like object to convert to an array.
2711
- * @param mapfn A mapping function to call on every element of the array.
2712
- * @param thisArg Value of 'this' used to invoke the mapfn.
2713
- */
2714
- from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray<ArrayBuffer>;
2715
- }
2716
- declare var Uint8ClampedArray: Uint8ClampedArrayConstructor;
2717
-
2718
- /**
2719
- * A typed array of 16-bit signed integer values. The contents are initialized to 0. If the
2720
- * requested number of bytes could not be allocated an exception is raised.
2721
- */
2722
- interface Int16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
2723
- /**
2724
- * The size in bytes of each element in the array.
2725
- */
2726
- readonly BYTES_PER_ELEMENT: number;
2727
-
2728
- /**
2729
- * The ArrayBuffer instance referenced by the array.
2730
- */
2731
- readonly buffer: TArrayBuffer;
2732
-
2733
- /**
2734
- * The length in bytes of the array.
2735
- */
2736
- readonly byteLength: number;
2737
-
2738
- /**
2739
- * The offset in bytes of the array.
2740
- */
2741
- readonly byteOffset: number;
2742
-
2743
- /**
2744
- * Returns the this object after copying a section of the array identified by start and end
2745
- * to the same array starting at position target
2746
- * @param target If target is negative, it is treated as length+target where length is the
2747
- * length of the array.
2748
- * @param start If start is negative, it is treated as length+start. If end is negative, it
2749
- * is treated as length+end.
2750
- * @param end If not specified, length of the this object is used as its default value.
2751
- */
2752
- copyWithin(target: number, start: number, end?: number): this;
2753
-
2754
- /**
2755
- * Determines whether all the members of an array satisfy the specified test.
2756
- * @param predicate A function that accepts up to three arguments. The every method calls
2757
- * the predicate function for each element in the array until the predicate returns a value
2758
- * which is coercible to the Boolean value false, or until the end of the array.
2759
- * @param thisArg An object to which the this keyword can refer in the predicate function.
2760
- * If thisArg is omitted, undefined is used as the this value.
2761
- */
2762
- every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
2763
-
2764
- /**
2765
- * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
2766
- * @param value value to fill array section with
2767
- * @param start index to start filling the array at. If start is negative, it is treated as
2768
- * length+start where length is the length of the array.
2769
- * @param end index to stop filling the array at. If end is negative, it is treated as
2770
- * length+end.
2771
- */
2772
- fill(value: number, start?: number, end?: number): this;
2773
-
2774
- /**
2775
- * Returns the elements of an array that meet the condition specified in a callback function.
2776
- * @param predicate A function that accepts up to three arguments. The filter method calls
2777
- * the predicate function one time for each element in the array.
2778
- * @param thisArg An object to which the this keyword can refer in the predicate function.
2779
- * If thisArg is omitted, undefined is used as the this value.
2780
- */
2781
- filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Int16Array<ArrayBuffer>;
2782
-
2783
- /**
2784
- * Returns the value of the first element in the array where predicate is true, and undefined
2785
- * otherwise.
2786
- * @param predicate find calls predicate once for each element of the array, in ascending
2787
- * order, until it finds one where predicate returns true. If such an element is found, find
2788
- * immediately returns that element value. Otherwise, find returns undefined.
2789
- * @param thisArg If provided, it will be used as the this value for each invocation of
2790
- * predicate. If it is not provided, undefined is used instead.
2791
- */
2792
- find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined;
2793
-
2794
- /**
2795
- * Returns the index of the first element in the array where predicate is true, and -1
2796
- * otherwise.
2797
- * @param predicate find calls predicate once for each element of the array, in ascending
2798
- * order, until it finds one where predicate returns true. If such an element is found,
2799
- * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
2800
- * @param thisArg If provided, it will be used as the this value for each invocation of
2801
- * predicate. If it is not provided, undefined is used instead.
2802
- */
2803
- findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number;
2804
-
2805
- /**
2806
- * Performs the specified action for each element in an array.
2807
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
2808
- * callbackfn function one time for each element in the array.
2809
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2810
- * If thisArg is omitted, undefined is used as the this value.
2811
- */
2812
- forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
2813
- /**
2814
- * Returns the index of the first occurrence of a value in an array.
2815
- * @param searchElement The value to locate in the array.
2816
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
2817
- * search starts at index 0.
2818
- */
2819
- indexOf(searchElement: number, fromIndex?: number): number;
2820
-
2821
- /**
2822
- * Adds all the elements of an array separated by the specified separator string.
2823
- * @param separator A string used to separate one element of an array from the next in the
2824
- * resulting String. If omitted, the array elements are separated with a comma.
2825
- */
2826
- join(separator?: string): string;
2827
-
2828
- /**
2829
- * Returns the index of the last occurrence of a value in an array.
2830
- * @param searchElement The value to locate in the array.
2831
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
2832
- * search starts at index 0.
2833
- */
2834
- lastIndexOf(searchElement: number, fromIndex?: number): number;
2835
-
2836
- /**
2837
- * The length of the array.
2838
- */
2839
- readonly length: number;
2840
-
2841
- /**
2842
- * Calls a defined callback function on each element of an array, and returns an array that
2843
- * contains the results.
2844
- * @param callbackfn A function that accepts up to three arguments. The map method calls the
2845
- * callbackfn function one time for each element in the array.
2846
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2847
- * If thisArg is omitted, undefined is used as the this value.
2848
- */
2849
- map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Int16Array<ArrayBuffer>;
2850
-
2851
- /**
2852
- * Calls the specified callback function for all the elements in an array. The return value of
2853
- * the callback function is the accumulated result, and is provided as an argument in the next
2854
- * call to the callback function.
2855
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
2856
- * callbackfn function one time for each element in the array.
2857
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2858
- * the accumulation. The first call to the callbackfn function provides this value as an argument
2859
- * instead of an array value.
2860
- */
2861
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
2862
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
2863
-
2864
- /**
2865
- * Calls the specified callback function for all the elements in an array. The return value of
2866
- * the callback function is the accumulated result, and is provided as an argument in the next
2867
- * call to the callback function.
2868
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
2869
- * callbackfn function one time for each element in the array.
2870
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2871
- * the accumulation. The first call to the callbackfn function provides this value as an argument
2872
- * instead of an array value.
2873
- */
2874
- reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
2875
-
2876
- /**
2877
- * Calls the specified callback function for all the elements in an array, in descending order.
2878
- * The return value of the callback function is the accumulated result, and is provided as an
2879
- * argument in the next call to the callback function.
2880
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
2881
- * the callbackfn function one time for each element in the array.
2882
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2883
- * the accumulation. The first call to the callbackfn function provides this value as an
2884
- * argument instead of an array value.
2885
- */
2886
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
2887
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
2888
-
2889
- /**
2890
- * Calls the specified callback function for all the elements in an array, in descending order.
2891
- * The return value of the callback function is the accumulated result, and is provided as an
2892
- * argument in the next call to the callback function.
2893
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
2894
- * the callbackfn function one time for each element in the array.
2895
- * @param initialValue If initialValue is specified, it is used as the initial value to start
2896
- * the accumulation. The first call to the callbackfn function provides this value as an argument
2897
- * instead of an array value.
2898
- */
2899
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
2900
-
2901
- /**
2902
- * Reverses the elements in an Array.
2903
- */
2904
- reverse(): this;
2905
-
2906
- /**
2907
- * Sets a value or an array of values.
2908
- * @param array A typed or untyped array of values to set.
2909
- * @param offset The index in the current array at which the values are to be written.
2910
- */
2911
- set(array: ArrayLike<number>, offset?: number): void;
2912
-
2913
- /**
2914
- * Returns a section of an array.
2915
- * @param start The beginning of the specified portion of the array.
2916
- * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
2917
- */
2918
- slice(start?: number, end?: number): Int16Array<ArrayBuffer>;
2919
-
2920
- /**
2921
- * Determines whether the specified callback function returns true for any element of an array.
2922
- * @param predicate A function that accepts up to three arguments. The some method calls
2923
- * the predicate function for each element in the array until the predicate returns a value
2924
- * which is coercible to the Boolean value true, or until the end of the array.
2925
- * @param thisArg An object to which the this keyword can refer in the predicate function.
2926
- * If thisArg is omitted, undefined is used as the this value.
2927
- */
2928
- some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
2929
-
2930
- /**
2931
- * Sorts an array.
2932
- * @param compareFn Function used to determine the order of the elements. It is expected to return
2933
- * a negative value if first argument is less than second argument, zero if they're equal and a positive
2934
- * value otherwise. If omitted, the elements are sorted in ascending order.
2935
- * ```ts
2936
- * [11,2,22,1].sort((a, b) => a - b)
2937
- * ```
2938
- */
2939
- sort(compareFn?: (a: number, b: number) => number): this;
2940
-
2941
- /**
2942
- * Gets a new Int16Array view of the ArrayBuffer store for this array, referencing the elements
2943
- * at begin, inclusive, up to end, exclusive.
2944
- * @param begin The index of the beginning of the array.
2945
- * @param end The index of the end of the array.
2946
- */
2947
- subarray(begin?: number, end?: number): Int16Array<TArrayBuffer>;
2948
-
2949
- /**
2950
- * Converts a number to a string by using the current locale.
2951
- */
2952
- toLocaleString(): string;
2953
-
2954
- /**
2955
- * Returns a string representation of an array.
2956
- */
2957
- toString(): string;
2958
-
2959
- /** Returns the primitive value of the specified object. */
2960
- valueOf(): this;
2961
-
2962
- [index: number]: number;
2963
- }
2964
- interface Int16ArrayConstructor {
2965
- readonly prototype: Int16Array<ArrayBufferLike>;
2966
- new (length: number): Int16Array<ArrayBuffer>;
2967
- new (array: ArrayLike<number>): Int16Array<ArrayBuffer>;
2968
- new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Int16Array<TArrayBuffer>;
2969
- new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Int16Array<ArrayBuffer>;
2970
- new (array: ArrayLike<number> | ArrayBuffer): Int16Array<ArrayBuffer>;
2971
-
2972
- /**
2973
- * The size in bytes of each element in the array.
2974
- */
2975
- readonly BYTES_PER_ELEMENT: number;
2976
-
2977
- /**
2978
- * Returns a new array from a set of elements.
2979
- * @param items A set of elements to include in the new array object.
2980
- */
2981
- of(...items: number[]): Int16Array<ArrayBuffer>;
2982
-
2983
- /**
2984
- * Creates an array from an array-like or iterable object.
2985
- * @param arrayLike An array-like object to convert to an array.
2986
- */
2987
- from(arrayLike: ArrayLike<number>): Int16Array<ArrayBuffer>;
2988
-
2989
- /**
2990
- * Creates an array from an array-like or iterable object.
2991
- * @param arrayLike An array-like object to convert to an array.
2992
- * @param mapfn A mapping function to call on every element of the array.
2993
- * @param thisArg Value of 'this' used to invoke the mapfn.
2994
- */
2995
- from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array<ArrayBuffer>;
2996
- }
2997
- declare var Int16Array: Int16ArrayConstructor;
2998
-
2999
- /**
3000
- * A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the
3001
- * requested number of bytes could not be allocated an exception is raised.
3002
- */
3003
- interface Uint16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
3004
- /**
3005
- * The size in bytes of each element in the array.
3006
- */
3007
- readonly BYTES_PER_ELEMENT: number;
3008
-
3009
- /**
3010
- * The ArrayBuffer instance referenced by the array.
3011
- */
3012
- readonly buffer: TArrayBuffer;
3013
-
3014
- /**
3015
- * The length in bytes of the array.
3016
- */
3017
- readonly byteLength: number;
3018
-
3019
- /**
3020
- * The offset in bytes of the array.
3021
- */
3022
- readonly byteOffset: number;
3023
-
3024
- /**
3025
- * Returns the this object after copying a section of the array identified by start and end
3026
- * to the same array starting at position target
3027
- * @param target If target is negative, it is treated as length+target where length is the
3028
- * length of the array.
3029
- * @param start If start is negative, it is treated as length+start. If end is negative, it
3030
- * is treated as length+end.
3031
- * @param end If not specified, length of the this object is used as its default value.
3032
- */
3033
- copyWithin(target: number, start: number, end?: number): this;
3034
-
3035
- /**
3036
- * Determines whether all the members of an array satisfy the specified test.
3037
- * @param predicate A function that accepts up to three arguments. The every method calls
3038
- * the predicate function for each element in the array until the predicate returns a value
3039
- * which is coercible to the Boolean value false, or until the end of the array.
3040
- * @param thisArg An object to which the this keyword can refer in the predicate function.
3041
- * If thisArg is omitted, undefined is used as the this value.
3042
- */
3043
- every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
3044
-
3045
- /**
3046
- * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
3047
- * @param value value to fill array section with
3048
- * @param start index to start filling the array at. If start is negative, it is treated as
3049
- * length+start where length is the length of the array.
3050
- * @param end index to stop filling the array at. If end is negative, it is treated as
3051
- * length+end.
3052
- */
3053
- fill(value: number, start?: number, end?: number): this;
3054
-
3055
- /**
3056
- * Returns the elements of an array that meet the condition specified in a callback function.
3057
- * @param predicate A function that accepts up to three arguments. The filter method calls
3058
- * the predicate function one time for each element in the array.
3059
- * @param thisArg An object to which the this keyword can refer in the predicate function.
3060
- * If thisArg is omitted, undefined is used as the this value.
3061
- */
3062
- filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Uint16Array<ArrayBuffer>;
3063
-
3064
- /**
3065
- * Returns the value of the first element in the array where predicate is true, and undefined
3066
- * otherwise.
3067
- * @param predicate find calls predicate once for each element of the array, in ascending
3068
- * order, until it finds one where predicate returns true. If such an element is found, find
3069
- * immediately returns that element value. Otherwise, find returns undefined.
3070
- * @param thisArg If provided, it will be used as the this value for each invocation of
3071
- * predicate. If it is not provided, undefined is used instead.
3072
- */
3073
- find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined;
3074
-
3075
- /**
3076
- * Returns the index of the first element in the array where predicate is true, and -1
3077
- * otherwise.
3078
- * @param predicate find calls predicate once for each element of the array, in ascending
3079
- * order, until it finds one where predicate returns true. If such an element is found,
3080
- * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
3081
- * @param thisArg If provided, it will be used as the this value for each invocation of
3082
- * predicate. If it is not provided, undefined is used instead.
3083
- */
3084
- findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number;
3085
-
3086
- /**
3087
- * Performs the specified action for each element in an array.
3088
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
3089
- * callbackfn function one time for each element in the array.
3090
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3091
- * If thisArg is omitted, undefined is used as the this value.
3092
- */
3093
- forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
3094
-
3095
- /**
3096
- * Returns the index of the first occurrence of a value in an array.
3097
- * @param searchElement The value to locate in the array.
3098
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
3099
- * search starts at index 0.
3100
- */
3101
- indexOf(searchElement: number, fromIndex?: number): number;
3102
-
3103
- /**
3104
- * Adds all the elements of an array separated by the specified separator string.
3105
- * @param separator A string used to separate one element of an array from the next in the
3106
- * resulting String. If omitted, the array elements are separated with a comma.
3107
- */
3108
- join(separator?: string): string;
3109
-
3110
- /**
3111
- * Returns the index of the last occurrence of a value in an array.
3112
- * @param searchElement The value to locate in the array.
3113
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
3114
- * search starts at index 0.
3115
- */
3116
- lastIndexOf(searchElement: number, fromIndex?: number): number;
3117
-
3118
- /**
3119
- * The length of the array.
3120
- */
3121
- readonly length: number;
3122
-
3123
- /**
3124
- * Calls a defined callback function on each element of an array, and returns an array that
3125
- * contains the results.
3126
- * @param callbackfn A function that accepts up to three arguments. The map method calls the
3127
- * callbackfn function one time for each element in the array.
3128
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3129
- * If thisArg is omitted, undefined is used as the this value.
3130
- */
3131
- map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Uint16Array<ArrayBuffer>;
3132
-
3133
- /**
3134
- * Calls the specified callback function for all the elements in an array. The return value of
3135
- * the callback function is the accumulated result, and is provided as an argument in the next
3136
- * call to the callback function.
3137
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
3138
- * callbackfn function one time for each element in the array.
3139
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3140
- * the accumulation. The first call to the callbackfn function provides this value as an argument
3141
- * instead of an array value.
3142
- */
3143
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
3144
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
3145
-
3146
- /**
3147
- * Calls the specified callback function for all the elements in an array. The return value of
3148
- * the callback function is the accumulated result, and is provided as an argument in the next
3149
- * call to the callback function.
3150
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
3151
- * callbackfn function one time for each element in the array.
3152
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3153
- * the accumulation. The first call to the callbackfn function provides this value as an argument
3154
- * instead of an array value.
3155
- */
3156
- reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
3157
-
3158
- /**
3159
- * Calls the specified callback function for all the elements in an array, in descending order.
3160
- * The return value of the callback function is the accumulated result, and is provided as an
3161
- * argument in the next call to the callback function.
3162
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
3163
- * the callbackfn function one time for each element in the array.
3164
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3165
- * the accumulation. The first call to the callbackfn function provides this value as an
3166
- * argument instead of an array value.
3167
- */
3168
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
3169
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
3170
-
3171
- /**
3172
- * Calls the specified callback function for all the elements in an array, in descending order.
3173
- * The return value of the callback function is the accumulated result, and is provided as an
3174
- * argument in the next call to the callback function.
3175
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
3176
- * the callbackfn function one time for each element in the array.
3177
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3178
- * the accumulation. The first call to the callbackfn function provides this value as an argument
3179
- * instead of an array value.
3180
- */
3181
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
3182
-
3183
- /**
3184
- * Reverses the elements in an Array.
3185
- */
3186
- reverse(): this;
3187
-
3188
- /**
3189
- * Sets a value or an array of values.
3190
- * @param array A typed or untyped array of values to set.
3191
- * @param offset The index in the current array at which the values are to be written.
3192
- */
3193
- set(array: ArrayLike<number>, offset?: number): void;
3194
-
3195
- /**
3196
- * Returns a section of an array.
3197
- * @param start The beginning of the specified portion of the array.
3198
- * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
3199
- */
3200
- slice(start?: number, end?: number): Uint16Array<ArrayBuffer>;
3201
-
3202
- /**
3203
- * Determines whether the specified callback function returns true for any element of an array.
3204
- * @param predicate A function that accepts up to three arguments. The some method calls
3205
- * the predicate function for each element in the array until the predicate returns a value
3206
- * which is coercible to the Boolean value true, or until the end of the array.
3207
- * @param thisArg An object to which the this keyword can refer in the predicate function.
3208
- * If thisArg is omitted, undefined is used as the this value.
3209
- */
3210
- some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
3211
-
3212
- /**
3213
- * Sorts an array.
3214
- * @param compareFn Function used to determine the order of the elements. It is expected to return
3215
- * a negative value if first argument is less than second argument, zero if they're equal and a positive
3216
- * value otherwise. If omitted, the elements are sorted in ascending order.
3217
- * ```ts
3218
- * [11,2,22,1].sort((a, b) => a - b)
3219
- * ```
3220
- */
3221
- sort(compareFn?: (a: number, b: number) => number): this;
3222
-
3223
- /**
3224
- * Gets a new Uint16Array view of the ArrayBuffer store for this array, referencing the elements
3225
- * at begin, inclusive, up to end, exclusive.
3226
- * @param begin The index of the beginning of the array.
3227
- * @param end The index of the end of the array.
3228
- */
3229
- subarray(begin?: number, end?: number): Uint16Array<TArrayBuffer>;
3230
-
3231
- /**
3232
- * Converts a number to a string by using the current locale.
3233
- */
3234
- toLocaleString(): string;
3235
-
3236
- /**
3237
- * Returns a string representation of an array.
3238
- */
3239
- toString(): string;
3240
-
3241
- /** Returns the primitive value of the specified object. */
3242
- valueOf(): this;
3243
-
3244
- [index: number]: number;
3245
- }
3246
- interface Uint16ArrayConstructor {
3247
- readonly prototype: Uint16Array<ArrayBufferLike>;
3248
- new (length: number): Uint16Array<ArrayBuffer>;
3249
- new (array: ArrayLike<number>): Uint16Array<ArrayBuffer>;
3250
- new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Uint16Array<TArrayBuffer>;
3251
- new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint16Array<ArrayBuffer>;
3252
- new (array: ArrayLike<number> | ArrayBuffer): Uint16Array<ArrayBuffer>;
3253
-
3254
- /**
3255
- * The size in bytes of each element in the array.
3256
- */
3257
- readonly BYTES_PER_ELEMENT: number;
3258
-
3259
- /**
3260
- * Returns a new array from a set of elements.
3261
- * @param items A set of elements to include in the new array object.
3262
- */
3263
- of(...items: number[]): Uint16Array<ArrayBuffer>;
3264
-
3265
- /**
3266
- * Creates an array from an array-like or iterable object.
3267
- * @param arrayLike An array-like object to convert to an array.
3268
- */
3269
- from(arrayLike: ArrayLike<number>): Uint16Array<ArrayBuffer>;
3270
-
3271
- /**
3272
- * Creates an array from an array-like or iterable object.
3273
- * @param arrayLike An array-like object to convert to an array.
3274
- * @param mapfn A mapping function to call on every element of the array.
3275
- * @param thisArg Value of 'this' used to invoke the mapfn.
3276
- */
3277
- from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array<ArrayBuffer>;
3278
- }
3279
- declare var Uint16Array: Uint16ArrayConstructor;
3280
- /**
3281
- * A typed array of 32-bit signed integer values. The contents are initialized to 0. If the
3282
- * requested number of bytes could not be allocated an exception is raised.
3283
- */
3284
- interface Int32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
3285
- /**
3286
- * The size in bytes of each element in the array.
3287
- */
3288
- readonly BYTES_PER_ELEMENT: number;
3289
-
3290
- /**
3291
- * The ArrayBuffer instance referenced by the array.
3292
- */
3293
- readonly buffer: TArrayBuffer;
3294
-
3295
- /**
3296
- * The length in bytes of the array.
3297
- */
3298
- readonly byteLength: number;
3299
-
3300
- /**
3301
- * The offset in bytes of the array.
3302
- */
3303
- readonly byteOffset: number;
3304
-
3305
- /**
3306
- * Returns the this object after copying a section of the array identified by start and end
3307
- * to the same array starting at position target
3308
- * @param target If target is negative, it is treated as length+target where length is the
3309
- * length of the array.
3310
- * @param start If start is negative, it is treated as length+start. If end is negative, it
3311
- * is treated as length+end.
3312
- * @param end If not specified, length of the this object is used as its default value.
3313
- */
3314
- copyWithin(target: number, start: number, end?: number): this;
3315
-
3316
- /**
3317
- * Determines whether all the members of an array satisfy the specified test.
3318
- * @param predicate A function that accepts up to three arguments. The every method calls
3319
- * the predicate function for each element in the array until the predicate returns a value
3320
- * which is coercible to the Boolean value false, or until the end of the array.
3321
- * @param thisArg An object to which the this keyword can refer in the predicate function.
3322
- * If thisArg is omitted, undefined is used as the this value.
3323
- */
3324
- every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
3325
-
3326
- /**
3327
- * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
3328
- * @param value value to fill array section with
3329
- * @param start index to start filling the array at. If start is negative, it is treated as
3330
- * length+start where length is the length of the array.
3331
- * @param end index to stop filling the array at. If end is negative, it is treated as
3332
- * length+end.
3333
- */
3334
- fill(value: number, start?: number, end?: number): this;
3335
-
3336
- /**
3337
- * Returns the elements of an array that meet the condition specified in a callback function.
3338
- * @param predicate A function that accepts up to three arguments. The filter method calls
3339
- * the predicate function one time for each element in the array.
3340
- * @param thisArg An object to which the this keyword can refer in the predicate function.
3341
- * If thisArg is omitted, undefined is used as the this value.
3342
- */
3343
- filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Int32Array<ArrayBuffer>;
3344
-
3345
- /**
3346
- * Returns the value of the first element in the array where predicate is true, and undefined
3347
- * otherwise.
3348
- * @param predicate find calls predicate once for each element of the array, in ascending
3349
- * order, until it finds one where predicate returns true. If such an element is found, find
3350
- * immediately returns that element value. Otherwise, find returns undefined.
3351
- * @param thisArg If provided, it will be used as the this value for each invocation of
3352
- * predicate. If it is not provided, undefined is used instead.
3353
- */
3354
- find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined;
3355
-
3356
- /**
3357
- * Returns the index of the first element in the array where predicate is true, and -1
3358
- * otherwise.
3359
- * @param predicate find calls predicate once for each element of the array, in ascending
3360
- * order, until it finds one where predicate returns true. If such an element is found,
3361
- * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
3362
- * @param thisArg If provided, it will be used as the this value for each invocation of
3363
- * predicate. If it is not provided, undefined is used instead.
3364
- */
3365
- findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number;
3366
-
3367
- /**
3368
- * Performs the specified action for each element in an array.
3369
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
3370
- * callbackfn function one time for each element in the array.
3371
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3372
- * If thisArg is omitted, undefined is used as the this value.
3373
- */
3374
- forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
3375
-
3376
- /**
3377
- * Returns the index of the first occurrence of a value in an array.
3378
- * @param searchElement The value to locate in the array.
3379
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
3380
- * search starts at index 0.
3381
- */
3382
- indexOf(searchElement: number, fromIndex?: number): number;
3383
-
3384
- /**
3385
- * Adds all the elements of an array separated by the specified separator string.
3386
- * @param separator A string used to separate one element of an array from the next in the
3387
- * resulting String. If omitted, the array elements are separated with a comma.
3388
- */
3389
- join(separator?: string): string;
3390
-
3391
- /**
3392
- * Returns the index of the last occurrence of a value in an array.
3393
- * @param searchElement The value to locate in the array.
3394
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
3395
- * search starts at index 0.
3396
- */
3397
- lastIndexOf(searchElement: number, fromIndex?: number): number;
3398
-
3399
- /**
3400
- * The length of the array.
3401
- */
3402
- readonly length: number;
3403
-
3404
- /**
3405
- * Calls a defined callback function on each element of an array, and returns an array that
3406
- * contains the results.
3407
- * @param callbackfn A function that accepts up to three arguments. The map method calls the
3408
- * callbackfn function one time for each element in the array.
3409
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3410
- * If thisArg is omitted, undefined is used as the this value.
3411
- */
3412
- map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Int32Array<ArrayBuffer>;
3413
-
3414
- /**
3415
- * Calls the specified callback function for all the elements in an array. The return value of
3416
- * the callback function is the accumulated result, and is provided as an argument in the next
3417
- * call to the callback function.
3418
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
3419
- * callbackfn function one time for each element in the array.
3420
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3421
- * the accumulation. The first call to the callbackfn function provides this value as an argument
3422
- * instead of an array value.
3423
- */
3424
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
3425
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
3426
-
3427
- /**
3428
- * Calls the specified callback function for all the elements in an array. The return value of
3429
- * the callback function is the accumulated result, and is provided as an argument in the next
3430
- * call to the callback function.
3431
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
3432
- * callbackfn function one time for each element in the array.
3433
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3434
- * the accumulation. The first call to the callbackfn function provides this value as an argument
3435
- * instead of an array value.
3436
- */
3437
- reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
3438
-
3439
- /**
3440
- * Calls the specified callback function for all the elements in an array, in descending order.
3441
- * The return value of the callback function is the accumulated result, and is provided as an
3442
- * argument in the next call to the callback function.
3443
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
3444
- * the callbackfn function one time for each element in the array.
3445
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3446
- * the accumulation. The first call to the callbackfn function provides this value as an
3447
- * argument instead of an array value.
3448
- */
3449
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
3450
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
3451
-
3452
- /**
3453
- * Calls the specified callback function for all the elements in an array, in descending order.
3454
- * The return value of the callback function is the accumulated result, and is provided as an
3455
- * argument in the next call to the callback function.
3456
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
3457
- * the callbackfn function one time for each element in the array.
3458
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3459
- * the accumulation. The first call to the callbackfn function provides this value as an argument
3460
- * instead of an array value.
3461
- */
3462
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
3463
-
3464
- /**
3465
- * Reverses the elements in an Array.
3466
- */
3467
- reverse(): this;
3468
-
3469
- /**
3470
- * Sets a value or an array of values.
3471
- * @param array A typed or untyped array of values to set.
3472
- * @param offset The index in the current array at which the values are to be written.
3473
- */
3474
- set(array: ArrayLike<number>, offset?: number): void;
3475
-
3476
- /**
3477
- * Returns a section of an array.
3478
- * @param start The beginning of the specified portion of the array.
3479
- * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
3480
- */
3481
- slice(start?: number, end?: number): Int32Array<ArrayBuffer>;
3482
-
3483
- /**
3484
- * Determines whether the specified callback function returns true for any element of an array.
3485
- * @param predicate A function that accepts up to three arguments. The some method calls
3486
- * the predicate function for each element in the array until the predicate returns a value
3487
- * which is coercible to the Boolean value true, or until the end of the array.
3488
- * @param thisArg An object to which the this keyword can refer in the predicate function.
3489
- * If thisArg is omitted, undefined is used as the this value.
3490
- */
3491
- some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
3492
-
3493
- /**
3494
- * Sorts an array.
3495
- * @param compareFn Function used to determine the order of the elements. It is expected to return
3496
- * a negative value if first argument is less than second argument, zero if they're equal and a positive
3497
- * value otherwise. If omitted, the elements are sorted in ascending order.
3498
- * ```ts
3499
- * [11,2,22,1].sort((a, b) => a - b)
3500
- * ```
3501
- */
3502
- sort(compareFn?: (a: number, b: number) => number): this;
3503
-
3504
- /**
3505
- * Gets a new Int32Array view of the ArrayBuffer store for this array, referencing the elements
3506
- * at begin, inclusive, up to end, exclusive.
3507
- * @param begin The index of the beginning of the array.
3508
- * @param end The index of the end of the array.
3509
- */
3510
- subarray(begin?: number, end?: number): Int32Array<TArrayBuffer>;
3511
-
3512
- /**
3513
- * Converts a number to a string by using the current locale.
3514
- */
3515
- toLocaleString(): string;
3516
-
3517
- /**
3518
- * Returns a string representation of an array.
3519
- */
3520
- toString(): string;
3521
-
3522
- /** Returns the primitive value of the specified object. */
3523
- valueOf(): this;
3524
-
3525
- [index: number]: number;
3526
- }
3527
- interface Int32ArrayConstructor {
3528
- readonly prototype: Int32Array<ArrayBufferLike>;
3529
- new (length: number): Int32Array<ArrayBuffer>;
3530
- new (array: ArrayLike<number>): Int32Array<ArrayBuffer>;
3531
- new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Int32Array<TArrayBuffer>;
3532
- new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Int32Array<ArrayBuffer>;
3533
- new (array: ArrayLike<number> | ArrayBuffer): Int32Array<ArrayBuffer>;
3534
-
3535
- /**
3536
- * The size in bytes of each element in the array.
3537
- */
3538
- readonly BYTES_PER_ELEMENT: number;
3539
-
3540
- /**
3541
- * Returns a new array from a set of elements.
3542
- * @param items A set of elements to include in the new array object.
3543
- */
3544
- of(...items: number[]): Int32Array<ArrayBuffer>;
3545
-
3546
- /**
3547
- * Creates an array from an array-like or iterable object.
3548
- * @param arrayLike An array-like object to convert to an array.
3549
- */
3550
- from(arrayLike: ArrayLike<number>): Int32Array<ArrayBuffer>;
3551
-
3552
- /**
3553
- * Creates an array from an array-like or iterable object.
3554
- * @param arrayLike An array-like object to convert to an array.
3555
- * @param mapfn A mapping function to call on every element of the array.
3556
- * @param thisArg Value of 'this' used to invoke the mapfn.
3557
- */
3558
- from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array<ArrayBuffer>;
3559
- }
3560
- declare var Int32Array: Int32ArrayConstructor;
3561
-
3562
- /**
3563
- * A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the
3564
- * requested number of bytes could not be allocated an exception is raised.
3565
- */
3566
- interface Uint32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
3567
- /**
3568
- * The size in bytes of each element in the array.
3569
- */
3570
- readonly BYTES_PER_ELEMENT: number;
3571
-
3572
- /**
3573
- * The ArrayBuffer instance referenced by the array.
3574
- */
3575
- readonly buffer: TArrayBuffer;
3576
-
3577
- /**
3578
- * The length in bytes of the array.
3579
- */
3580
- readonly byteLength: number;
3581
-
3582
- /**
3583
- * The offset in bytes of the array.
3584
- */
3585
- readonly byteOffset: number;
3586
-
3587
- /**
3588
- * Returns the this object after copying a section of the array identified by start and end
3589
- * to the same array starting at position target
3590
- * @param target If target is negative, it is treated as length+target where length is the
3591
- * length of the array.
3592
- * @param start If start is negative, it is treated as length+start. If end is negative, it
3593
- * is treated as length+end.
3594
- * @param end If not specified, length of the this object is used as its default value.
3595
- */
3596
- copyWithin(target: number, start: number, end?: number): this;
3597
-
3598
- /**
3599
- * Determines whether all the members of an array satisfy the specified test.
3600
- * @param predicate A function that accepts up to three arguments. The every method calls
3601
- * the predicate function for each element in the array until the predicate returns a value
3602
- * which is coercible to the Boolean value false, or until the end of the array.
3603
- * @param thisArg An object to which the this keyword can refer in the predicate function.
3604
- * If thisArg is omitted, undefined is used as the this value.
3605
- */
3606
- every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
3607
-
3608
- /**
3609
- * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
3610
- * @param value value to fill array section with
3611
- * @param start index to start filling the array at. If start is negative, it is treated as
3612
- * length+start where length is the length of the array.
3613
- * @param end index to stop filling the array at. If end is negative, it is treated as
3614
- * length+end.
3615
- */
3616
- fill(value: number, start?: number, end?: number): this;
3617
-
3618
- /**
3619
- * Returns the elements of an array that meet the condition specified in a callback function.
3620
- * @param predicate A function that accepts up to three arguments. The filter method calls
3621
- * the predicate function one time for each element in the array.
3622
- * @param thisArg An object to which the this keyword can refer in the predicate function.
3623
- * If thisArg is omitted, undefined is used as the this value.
3624
- */
3625
- filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Uint32Array<ArrayBuffer>;
3626
-
3627
- /**
3628
- * Returns the value of the first element in the array where predicate is true, and undefined
3629
- * otherwise.
3630
- * @param predicate find calls predicate once for each element of the array, in ascending
3631
- * order, until it finds one where predicate returns true. If such an element is found, find
3632
- * immediately returns that element value. Otherwise, find returns undefined.
3633
- * @param thisArg If provided, it will be used as the this value for each invocation of
3634
- * predicate. If it is not provided, undefined is used instead.
3635
- */
3636
- find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined;
3637
-
3638
- /**
3639
- * Returns the index of the first element in the array where predicate is true, and -1
3640
- * otherwise.
3641
- * @param predicate find calls predicate once for each element of the array, in ascending
3642
- * order, until it finds one where predicate returns true. If such an element is found,
3643
- * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
3644
- * @param thisArg If provided, it will be used as the this value for each invocation of
3645
- * predicate. If it is not provided, undefined is used instead.
3646
- */
3647
- findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number;
3648
-
3649
- /**
3650
- * Performs the specified action for each element in an array.
3651
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
3652
- * callbackfn function one time for each element in the array.
3653
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3654
- * If thisArg is omitted, undefined is used as the this value.
3655
- */
3656
- forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
3657
- /**
3658
- * Returns the index of the first occurrence of a value in an array.
3659
- * @param searchElement The value to locate in the array.
3660
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
3661
- * search starts at index 0.
3662
- */
3663
- indexOf(searchElement: number, fromIndex?: number): number;
3664
-
3665
- /**
3666
- * Adds all the elements of an array separated by the specified separator string.
3667
- * @param separator A string used to separate one element of an array from the next in the
3668
- * resulting String. If omitted, the array elements are separated with a comma.
3669
- */
3670
- join(separator?: string): string;
3671
-
3672
- /**
3673
- * Returns the index of the last occurrence of a value in an array.
3674
- * @param searchElement The value to locate in the array.
3675
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
3676
- * search starts at index 0.
3677
- */
3678
- lastIndexOf(searchElement: number, fromIndex?: number): number;
3679
-
3680
- /**
3681
- * The length of the array.
3682
- */
3683
- readonly length: number;
3684
-
3685
- /**
3686
- * Calls a defined callback function on each element of an array, and returns an array that
3687
- * contains the results.
3688
- * @param callbackfn A function that accepts up to three arguments. The map method calls the
3689
- * callbackfn function one time for each element in the array.
3690
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3691
- * If thisArg is omitted, undefined is used as the this value.
3692
- */
3693
- map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Uint32Array<ArrayBuffer>;
3694
-
3695
- /**
3696
- * Calls the specified callback function for all the elements in an array. The return value of
3697
- * the callback function is the accumulated result, and is provided as an argument in the next
3698
- * call to the callback function.
3699
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
3700
- * callbackfn function one time for each element in the array.
3701
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3702
- * the accumulation. The first call to the callbackfn function provides this value as an argument
3703
- * instead of an array value.
3704
- */
3705
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
3706
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
3707
-
3708
- /**
3709
- * Calls the specified callback function for all the elements in an array. The return value of
3710
- * the callback function is the accumulated result, and is provided as an argument in the next
3711
- * call to the callback function.
3712
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
3713
- * callbackfn function one time for each element in the array.
3714
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3715
- * the accumulation. The first call to the callbackfn function provides this value as an argument
3716
- * instead of an array value.
3717
- */
3718
- reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
3719
-
3720
- /**
3721
- * Calls the specified callback function for all the elements in an array, in descending order.
3722
- * The return value of the callback function is the accumulated result, and is provided as an
3723
- * argument in the next call to the callback function.
3724
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
3725
- * the callbackfn function one time for each element in the array.
3726
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3727
- * the accumulation. The first call to the callbackfn function provides this value as an
3728
- * argument instead of an array value.
3729
- */
3730
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
3731
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
3732
-
3733
- /**
3734
- * Calls the specified callback function for all the elements in an array, in descending order.
3735
- * The return value of the callback function is the accumulated result, and is provided as an
3736
- * argument in the next call to the callback function.
3737
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
3738
- * the callbackfn function one time for each element in the array.
3739
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3740
- * the accumulation. The first call to the callbackfn function provides this value as an argument
3741
- * instead of an array value.
3742
- */
3743
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
3744
-
3745
- /**
3746
- * Reverses the elements in an Array.
3747
- */
3748
- reverse(): this;
3749
-
3750
- /**
3751
- * Sets a value or an array of values.
3752
- * @param array A typed or untyped array of values to set.
3753
- * @param offset The index in the current array at which the values are to be written.
3754
- */
3755
- set(array: ArrayLike<number>, offset?: number): void;
3756
-
3757
- /**
3758
- * Returns a section of an array.
3759
- * @param start The beginning of the specified portion of the array.
3760
- * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
3761
- */
3762
- slice(start?: number, end?: number): Uint32Array<ArrayBuffer>;
3763
-
3764
- /**
3765
- * Determines whether the specified callback function returns true for any element of an array.
3766
- * @param predicate A function that accepts up to three arguments. The some method calls
3767
- * the predicate function for each element in the array until the predicate returns a value
3768
- * which is coercible to the Boolean value true, or until the end of the array.
3769
- * @param thisArg An object to which the this keyword can refer in the predicate function.
3770
- * If thisArg is omitted, undefined is used as the this value.
3771
- */
3772
- some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
3773
-
3774
- /**
3775
- * Sorts an array.
3776
- * @param compareFn Function used to determine the order of the elements. It is expected to return
3777
- * a negative value if first argument is less than second argument, zero if they're equal and a positive
3778
- * value otherwise. If omitted, the elements are sorted in ascending order.
3779
- * ```ts
3780
- * [11,2,22,1].sort((a, b) => a - b)
3781
- * ```
3782
- */
3783
- sort(compareFn?: (a: number, b: number) => number): this;
3784
-
3785
- /**
3786
- * Gets a new Uint32Array view of the ArrayBuffer store for this array, referencing the elements
3787
- * at begin, inclusive, up to end, exclusive.
3788
- * @param begin The index of the beginning of the array.
3789
- * @param end The index of the end of the array.
3790
- */
3791
- subarray(begin?: number, end?: number): Uint32Array<TArrayBuffer>;
3792
-
3793
- /**
3794
- * Converts a number to a string by using the current locale.
3795
- */
3796
- toLocaleString(): string;
3797
-
3798
- /**
3799
- * Returns a string representation of an array.
3800
- */
3801
- toString(): string;
3802
-
3803
- /** Returns the primitive value of the specified object. */
3804
- valueOf(): this;
3805
-
3806
- [index: number]: number;
3807
- }
3808
- interface Uint32ArrayConstructor {
3809
- readonly prototype: Uint32Array<ArrayBufferLike>;
3810
- new (length: number): Uint32Array<ArrayBuffer>;
3811
- new (array: ArrayLike<number>): Uint32Array<ArrayBuffer>;
3812
- new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Uint32Array<TArrayBuffer>;
3813
- new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint32Array<ArrayBuffer>;
3814
- new (array: ArrayLike<number> | ArrayBuffer): Uint32Array<ArrayBuffer>;
3815
-
3816
- /**
3817
- * The size in bytes of each element in the array.
3818
- */
3819
- readonly BYTES_PER_ELEMENT: number;
3820
-
3821
- /**
3822
- * Returns a new array from a set of elements.
3823
- * @param items A set of elements to include in the new array object.
3824
- */
3825
- of(...items: number[]): Uint32Array<ArrayBuffer>;
3826
-
3827
- /**
3828
- * Creates an array from an array-like or iterable object.
3829
- * @param arrayLike An array-like object to convert to an array.
3830
- */
3831
- from(arrayLike: ArrayLike<number>): Uint32Array<ArrayBuffer>;
3832
-
3833
- /**
3834
- * Creates an array from an array-like or iterable object.
3835
- * @param arrayLike An array-like object to convert to an array.
3836
- * @param mapfn A mapping function to call on every element of the array.
3837
- * @param thisArg Value of 'this' used to invoke the mapfn.
3838
- */
3839
- from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array<ArrayBuffer>;
3840
- }
3841
- declare var Uint32Array: Uint32ArrayConstructor;
3842
-
3843
- /**
3844
- * A typed array of 32-bit float values. The contents are initialized to 0. If the requested number
3845
- * of bytes could not be allocated an exception is raised.
3846
- */
3847
- interface Float32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
3848
- /**
3849
- * The size in bytes of each element in the array.
3850
- */
3851
- readonly BYTES_PER_ELEMENT: number;
3852
-
3853
- /**
3854
- * The ArrayBuffer instance referenced by the array.
3855
- */
3856
- readonly buffer: TArrayBuffer;
3857
-
3858
- /**
3859
- * The length in bytes of the array.
3860
- */
3861
- readonly byteLength: number;
3862
-
3863
- /**
3864
- * The offset in bytes of the array.
3865
- */
3866
- readonly byteOffset: number;
3867
-
3868
- /**
3869
- * Returns the this object after copying a section of the array identified by start and end
3870
- * to the same array starting at position target
3871
- * @param target If target is negative, it is treated as length+target where length is the
3872
- * length of the array.
3873
- * @param start If start is negative, it is treated as length+start. If end is negative, it
3874
- * is treated as length+end.
3875
- * @param end If not specified, length of the this object is used as its default value.
3876
- */
3877
- copyWithin(target: number, start: number, end?: number): this;
3878
-
3879
- /**
3880
- * Determines whether all the members of an array satisfy the specified test.
3881
- * @param predicate A function that accepts up to three arguments. The every method calls
3882
- * the predicate function for each element in the array until the predicate returns a value
3883
- * which is coercible to the Boolean value false, or until the end of the array.
3884
- * @param thisArg An object to which the this keyword can refer in the predicate function.
3885
- * If thisArg is omitted, undefined is used as the this value.
3886
- */
3887
- every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
3888
-
3889
- /**
3890
- * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
3891
- * @param value value to fill array section with
3892
- * @param start index to start filling the array at. If start is negative, it is treated as
3893
- * length+start where length is the length of the array.
3894
- * @param end index to stop filling the array at. If end is negative, it is treated as
3895
- * length+end.
3896
- */
3897
- fill(value: number, start?: number, end?: number): this;
3898
-
3899
- /**
3900
- * Returns the elements of an array that meet the condition specified in a callback function.
3901
- * @param predicate A function that accepts up to three arguments. The filter method calls
3902
- * the predicate function one time for each element in the array.
3903
- * @param thisArg An object to which the this keyword can refer in the predicate function.
3904
- * If thisArg is omitted, undefined is used as the this value.
3905
- */
3906
- filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Float32Array<ArrayBuffer>;
3907
-
3908
- /**
3909
- * Returns the value of the first element in the array where predicate is true, and undefined
3910
- * otherwise.
3911
- * @param predicate find calls predicate once for each element of the array, in ascending
3912
- * order, until it finds one where predicate returns true. If such an element is found, find
3913
- * immediately returns that element value. Otherwise, find returns undefined.
3914
- * @param thisArg If provided, it will be used as the this value for each invocation of
3915
- * predicate. If it is not provided, undefined is used instead.
3916
- */
3917
- find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined;
3918
-
3919
- /**
3920
- * Returns the index of the first element in the array where predicate is true, and -1
3921
- * otherwise.
3922
- * @param predicate find calls predicate once for each element of the array, in ascending
3923
- * order, until it finds one where predicate returns true. If such an element is found,
3924
- * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
3925
- * @param thisArg If provided, it will be used as the this value for each invocation of
3926
- * predicate. If it is not provided, undefined is used instead.
3927
- */
3928
- findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number;
3929
-
3930
- /**
3931
- * Performs the specified action for each element in an array.
3932
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
3933
- * callbackfn function one time for each element in the array.
3934
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3935
- * If thisArg is omitted, undefined is used as the this value.
3936
- */
3937
- forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
3938
-
3939
- /**
3940
- * Returns the index of the first occurrence of a value in an array.
3941
- * @param searchElement The value to locate in the array.
3942
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
3943
- * search starts at index 0.
3944
- */
3945
- indexOf(searchElement: number, fromIndex?: number): number;
3946
-
3947
- /**
3948
- * Adds all the elements of an array separated by the specified separator string.
3949
- * @param separator A string used to separate one element of an array from the next in the
3950
- * resulting String. If omitted, the array elements are separated with a comma.
3951
- */
3952
- join(separator?: string): string;
3953
-
3954
- /**
3955
- * Returns the index of the last occurrence of a value in an array.
3956
- * @param searchElement The value to locate in the array.
3957
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
3958
- * search starts at index 0.
3959
- */
3960
- lastIndexOf(searchElement: number, fromIndex?: number): number;
3961
-
3962
- /**
3963
- * The length of the array.
3964
- */
3965
- readonly length: number;
3966
-
3967
- /**
3968
- * Calls a defined callback function on each element of an array, and returns an array that
3969
- * contains the results.
3970
- * @param callbackfn A function that accepts up to three arguments. The map method calls the
3971
- * callbackfn function one time for each element in the array.
3972
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3973
- * If thisArg is omitted, undefined is used as the this value.
3974
- */
3975
- map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Float32Array<ArrayBuffer>;
3976
-
3977
- /**
3978
- * Calls the specified callback function for all the elements in an array. The return value of
3979
- * the callback function is the accumulated result, and is provided as an argument in the next
3980
- * call to the callback function.
3981
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
3982
- * callbackfn function one time for each element in the array.
3983
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3984
- * the accumulation. The first call to the callbackfn function provides this value as an argument
3985
- * instead of an array value.
3986
- */
3987
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
3988
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
3989
-
3990
- /**
3991
- * Calls the specified callback function for all the elements in an array. The return value of
3992
- * the callback function is the accumulated result, and is provided as an argument in the next
3993
- * call to the callback function.
3994
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
3995
- * callbackfn function one time for each element in the array.
3996
- * @param initialValue If initialValue is specified, it is used as the initial value to start
3997
- * the accumulation. The first call to the callbackfn function provides this value as an argument
3998
- * instead of an array value.
3999
- */
4000
- reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
4001
-
4002
- /**
4003
- * Calls the specified callback function for all the elements in an array, in descending order.
4004
- * The return value of the callback function is the accumulated result, and is provided as an
4005
- * argument in the next call to the callback function.
4006
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
4007
- * the callbackfn function one time for each element in the array.
4008
- * @param initialValue If initialValue is specified, it is used as the initial value to start
4009
- * the accumulation. The first call to the callbackfn function provides this value as an
4010
- * argument instead of an array value.
4011
- */
4012
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
4013
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
4014
-
4015
- /**
4016
- * Calls the specified callback function for all the elements in an array, in descending order.
4017
- * The return value of the callback function is the accumulated result, and is provided as an
4018
- * argument in the next call to the callback function.
4019
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
4020
- * the callbackfn function one time for each element in the array.
4021
- * @param initialValue If initialValue is specified, it is used as the initial value to start
4022
- * the accumulation. The first call to the callbackfn function provides this value as an argument
4023
- * instead of an array value.
4024
- */
4025
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
4026
-
4027
- /**
4028
- * Reverses the elements in an Array.
4029
- */
4030
- reverse(): this;
4031
-
4032
- /**
4033
- * Sets a value or an array of values.
4034
- * @param array A typed or untyped array of values to set.
4035
- * @param offset The index in the current array at which the values are to be written.
4036
- */
4037
- set(array: ArrayLike<number>, offset?: number): void;
4038
-
4039
- /**
4040
- * Returns a section of an array.
4041
- * @param start The beginning of the specified portion of the array.
4042
- * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
4043
- */
4044
- slice(start?: number, end?: number): Float32Array<ArrayBuffer>;
4045
-
4046
- /**
4047
- * Determines whether the specified callback function returns true for any element of an array.
4048
- * @param predicate A function that accepts up to three arguments. The some method calls
4049
- * the predicate function for each element in the array until the predicate returns a value
4050
- * which is coercible to the Boolean value true, or until the end of the array.
4051
- * @param thisArg An object to which the this keyword can refer in the predicate function.
4052
- * If thisArg is omitted, undefined is used as the this value.
4053
- */
4054
- some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
4055
-
4056
- /**
4057
- * Sorts an array.
4058
- * @param compareFn Function used to determine the order of the elements. It is expected to return
4059
- * a negative value if first argument is less than second argument, zero if they're equal and a positive
4060
- * value otherwise. If omitted, the elements are sorted in ascending order.
4061
- * ```ts
4062
- * [11,2,22,1].sort((a, b) => a - b)
4063
- * ```
4064
- */
4065
- sort(compareFn?: (a: number, b: number) => number): this;
4066
-
4067
- /**
4068
- * Gets a new Float32Array view of the ArrayBuffer store for this array, referencing the elements
4069
- * at begin, inclusive, up to end, exclusive.
4070
- * @param begin The index of the beginning of the array.
4071
- * @param end The index of the end of the array.
4072
- */
4073
- subarray(begin?: number, end?: number): Float32Array<TArrayBuffer>;
4074
-
4075
- /**
4076
- * Converts a number to a string by using the current locale.
4077
- */
4078
- toLocaleString(): string;
4079
-
4080
- /**
4081
- * Returns a string representation of an array.
4082
- */
4083
- toString(): string;
4084
-
4085
- /** Returns the primitive value of the specified object. */
4086
- valueOf(): this;
4087
-
4088
- [index: number]: number;
4089
- }
4090
- interface Float32ArrayConstructor {
4091
- readonly prototype: Float32Array<ArrayBufferLike>;
4092
- new (length: number): Float32Array<ArrayBuffer>;
4093
- new (array: ArrayLike<number>): Float32Array<ArrayBuffer>;
4094
- new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Float32Array<TArrayBuffer>;
4095
- new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Float32Array<ArrayBuffer>;
4096
- new (array: ArrayLike<number> | ArrayBuffer): Float32Array<ArrayBuffer>;
4097
-
4098
- /**
4099
- * The size in bytes of each element in the array.
4100
- */
4101
- readonly BYTES_PER_ELEMENT: number;
4102
-
4103
- /**
4104
- * Returns a new array from a set of elements.
4105
- * @param items A set of elements to include in the new array object.
4106
- */
4107
- of(...items: number[]): Float32Array<ArrayBuffer>;
4108
-
4109
- /**
4110
- * Creates an array from an array-like or iterable object.
4111
- * @param arrayLike An array-like object to convert to an array.
4112
- */
4113
- from(arrayLike: ArrayLike<number>): Float32Array<ArrayBuffer>;
4114
-
4115
- /**
4116
- * Creates an array from an array-like or iterable object.
4117
- * @param arrayLike An array-like object to convert to an array.
4118
- * @param mapfn A mapping function to call on every element of the array.
4119
- * @param thisArg Value of 'this' used to invoke the mapfn.
4120
- */
4121
- from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array<ArrayBuffer>;
4122
- }
4123
- declare var Float32Array: Float32ArrayConstructor;
4124
-
4125
- /**
4126
- * A typed array of 64-bit float values. The contents are initialized to 0. If the requested
4127
- * number of bytes could not be allocated an exception is raised.
4128
- */
4129
- interface Float64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
4130
- /**
4131
- * The size in bytes of each element in the array.
4132
- */
4133
- readonly BYTES_PER_ELEMENT: number;
4134
-
4135
- /**
4136
- * The ArrayBuffer instance referenced by the array.
4137
- */
4138
- readonly buffer: TArrayBuffer;
4139
-
4140
- /**
4141
- * The length in bytes of the array.
4142
- */
4143
- readonly byteLength: number;
4144
-
4145
- /**
4146
- * The offset in bytes of the array.
4147
- */
4148
- readonly byteOffset: number;
4149
-
4150
- /**
4151
- * Returns the this object after copying a section of the array identified by start and end
4152
- * to the same array starting at position target
4153
- * @param target If target is negative, it is treated as length+target where length is the
4154
- * length of the array.
4155
- * @param start If start is negative, it is treated as length+start. If end is negative, it
4156
- * is treated as length+end.
4157
- * @param end If not specified, length of the this object is used as its default value.
4158
- */
4159
- copyWithin(target: number, start: number, end?: number): this;
4160
-
4161
- /**
4162
- * Determines whether all the members of an array satisfy the specified test.
4163
- * @param predicate A function that accepts up to three arguments. The every method calls
4164
- * the predicate function for each element in the array until the predicate returns a value
4165
- * which is coercible to the Boolean value false, or until the end of the array.
4166
- * @param thisArg An object to which the this keyword can refer in the predicate function.
4167
- * If thisArg is omitted, undefined is used as the this value.
4168
- */
4169
- every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
4170
-
4171
- /**
4172
- * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
4173
- * @param value value to fill array section with
4174
- * @param start index to start filling the array at. If start is negative, it is treated as
4175
- * length+start where length is the length of the array.
4176
- * @param end index to stop filling the array at. If end is negative, it is treated as
4177
- * length+end.
4178
- */
4179
- fill(value: number, start?: number, end?: number): this;
4180
-
4181
- /**
4182
- * Returns the elements of an array that meet the condition specified in a callback function.
4183
- * @param predicate A function that accepts up to three arguments. The filter method calls
4184
- * the predicate function one time for each element in the array.
4185
- * @param thisArg An object to which the this keyword can refer in the predicate function.
4186
- * If thisArg is omitted, undefined is used as the this value.
4187
- */
4188
- filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Float64Array<ArrayBuffer>;
4189
-
4190
- /**
4191
- * Returns the value of the first element in the array where predicate is true, and undefined
4192
- * otherwise.
4193
- * @param predicate find calls predicate once for each element of the array, in ascending
4194
- * order, until it finds one where predicate returns true. If such an element is found, find
4195
- * immediately returns that element value. Otherwise, find returns undefined.
4196
- * @param thisArg If provided, it will be used as the this value for each invocation of
4197
- * predicate. If it is not provided, undefined is used instead.
4198
- */
4199
- find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined;
4200
-
4201
- /**
4202
- * Returns the index of the first element in the array where predicate is true, and -1
4203
- * otherwise.
4204
- * @param predicate find calls predicate once for each element of the array, in ascending
4205
- * order, until it finds one where predicate returns true. If such an element is found,
4206
- * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
4207
- * @param thisArg If provided, it will be used as the this value for each invocation of
4208
- * predicate. If it is not provided, undefined is used instead.
4209
- */
4210
- findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number;
4211
-
4212
- /**
4213
- * Performs the specified action for each element in an array.
4214
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
4215
- * callbackfn function one time for each element in the array.
4216
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
4217
- * If thisArg is omitted, undefined is used as the this value.
4218
- */
4219
- forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
4220
-
4221
- /**
4222
- * Returns the index of the first occurrence of a value in an array.
4223
- * @param searchElement The value to locate in the array.
4224
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
4225
- * search starts at index 0.
4226
- */
4227
- indexOf(searchElement: number, fromIndex?: number): number;
4228
-
4229
- /**
4230
- * Adds all the elements of an array separated by the specified separator string.
4231
- * @param separator A string used to separate one element of an array from the next in the
4232
- * resulting String. If omitted, the array elements are separated with a comma.
4233
- */
4234
- join(separator?: string): string;
4235
-
4236
- /**
4237
- * Returns the index of the last occurrence of a value in an array.
4238
- * @param searchElement The value to locate in the array.
4239
- * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
4240
- * search starts at index 0.
4241
- */
4242
- lastIndexOf(searchElement: number, fromIndex?: number): number;
4243
-
4244
- /**
4245
- * The length of the array.
4246
- */
4247
- readonly length: number;
4248
-
4249
- /**
4250
- * Calls a defined callback function on each element of an array, and returns an array that
4251
- * contains the results.
4252
- * @param callbackfn A function that accepts up to three arguments. The map method calls the
4253
- * callbackfn function one time for each element in the array.
4254
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
4255
- * If thisArg is omitted, undefined is used as the this value.
4256
- */
4257
- map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Float64Array<ArrayBuffer>;
4258
-
4259
- /**
4260
- * Calls the specified callback function for all the elements in an array. The return value of
4261
- * the callback function is the accumulated result, and is provided as an argument in the next
4262
- * call to the callback function.
4263
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
4264
- * callbackfn function one time for each element in the array.
4265
- * @param initialValue If initialValue is specified, it is used as the initial value to start
4266
- * the accumulation. The first call to the callbackfn function provides this value as an argument
4267
- * instead of an array value.
4268
- */
4269
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
4270
- reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
4271
-
4272
- /**
4273
- * Calls the specified callback function for all the elements in an array. The return value of
4274
- * the callback function is the accumulated result, and is provided as an argument in the next
4275
- * call to the callback function.
4276
- * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
4277
- * callbackfn function one time for each element in the array.
4278
- * @param initialValue If initialValue is specified, it is used as the initial value to start
4279
- * the accumulation. The first call to the callbackfn function provides this value as an argument
4280
- * instead of an array value.
4281
- */
4282
- reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
4283
-
4284
- /**
4285
- * Calls the specified callback function for all the elements in an array, in descending order.
4286
- * The return value of the callback function is the accumulated result, and is provided as an
4287
- * argument in the next call to the callback function.
4288
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
4289
- * the callbackfn function one time for each element in the array.
4290
- * @param initialValue If initialValue is specified, it is used as the initial value to start
4291
- * the accumulation. The first call to the callbackfn function provides this value as an
4292
- * argument instead of an array value.
4293
- */
4294
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;
4295
- reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number;
4296
-
4297
- /**
4298
- * Calls the specified callback function for all the elements in an array, in descending order.
4299
- * The return value of the callback function is the accumulated result, and is provided as an
4300
- * argument in the next call to the callback function.
4301
- * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
4302
- * the callbackfn function one time for each element in the array.
4303
- * @param initialValue If initialValue is specified, it is used as the initial value to start
4304
- * the accumulation. The first call to the callbackfn function provides this value as an argument
4305
- * instead of an array value.
4306
- */
4307
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U;
4308
-
4309
- /**
4310
- * Reverses the elements in an Array.
4311
- */
4312
- reverse(): this;
4313
-
4314
- /**
4315
- * Sets a value or an array of values.
4316
- * @param array A typed or untyped array of values to set.
4317
- * @param offset The index in the current array at which the values are to be written.
4318
- */
4319
- set(array: ArrayLike<number>, offset?: number): void;
4320
-
4321
- /**
4322
- * Returns a section of an array.
4323
- * @param start The beginning of the specified portion of the array.
4324
- * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
4325
- */
4326
- slice(start?: number, end?: number): Float64Array<ArrayBuffer>;
4327
-
4328
- /**
4329
- * Determines whether the specified callback function returns true for any element of an array.
4330
- * @param predicate A function that accepts up to three arguments. The some method calls
4331
- * the predicate function for each element in the array until the predicate returns a value
4332
- * which is coercible to the Boolean value true, or until the end of the array.
4333
- * @param thisArg An object to which the this keyword can refer in the predicate function.
4334
- * If thisArg is omitted, undefined is used as the this value.
4335
- */
4336
- some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
4337
-
4338
- /**
4339
- * Sorts an array.
4340
- * @param compareFn Function used to determine the order of the elements. It is expected to return
4341
- * a negative value if first argument is less than second argument, zero if they're equal and a positive
4342
- * value otherwise. If omitted, the elements are sorted in ascending order.
4343
- * ```ts
4344
- * [11,2,22,1].sort((a, b) => a - b)
4345
- * ```
4346
- */
4347
- sort(compareFn?: (a: number, b: number) => number): this;
4348
-
4349
- /**
4350
- * Gets a new Float64Array view of the ArrayBuffer store for this array, referencing the elements
4351
- * at begin, inclusive, up to end, exclusive.
4352
- * @param begin The index of the beginning of the array.
4353
- * @param end The index of the end of the array.
4354
- */
4355
- subarray(begin?: number, end?: number): Float64Array<TArrayBuffer>;
4356
-
4357
- /**
4358
- * Converts a number to a string by using the current locale.
4359
- */
4360
- toLocaleString(): string;
4361
-
4362
- /**
4363
- * Returns a string representation of an array.
4364
- */
4365
- toString(): string;
4366
-
4367
- /** Returns the primitive value of the specified object. */
4368
- valueOf(): this;
4369
-
4370
- [index: number]: number;
4371
- }
4372
- interface Float64ArrayConstructor {
4373
- readonly prototype: Float64Array<ArrayBufferLike>;
4374
- new (length: number): Float64Array<ArrayBuffer>;
4375
- new (array: ArrayLike<number>): Float64Array<ArrayBuffer>;
4376
- new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Float64Array<TArrayBuffer>;
4377
- new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Float64Array<ArrayBuffer>;
4378
- new (array: ArrayLike<number> | ArrayBuffer): Float64Array<ArrayBuffer>;
4379
-
4380
- /**
4381
- * The size in bytes of each element in the array.
4382
- */
4383
- readonly BYTES_PER_ELEMENT: number;
4384
-
4385
- /**
4386
- * Returns a new array from a set of elements.
4387
- * @param items A set of elements to include in the new array object.
4388
- */
4389
- of(...items: number[]): Float64Array<ArrayBuffer>;
4390
-
4391
- /**
4392
- * Creates an array from an array-like or iterable object.
4393
- * @param arrayLike An array-like object to convert to an array.
4394
- */
4395
- from(arrayLike: ArrayLike<number>): Float64Array<ArrayBuffer>;
4396
-
4397
- /**
4398
- * Creates an array from an array-like or iterable object.
4399
- * @param arrayLike An array-like object to convert to an array.
4400
- * @param mapfn A mapping function to call on every element of the array.
4401
- * @param thisArg Value of 'this' used to invoke the mapfn.
4402
- */
4403
- from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array<ArrayBuffer>;
4404
- }
4405
- declare var Float64Array: Float64ArrayConstructor;
4406
-
4407
- /////////////////////////////
4408
- /// ECMAScript Internationalization API
4409
- /////////////////////////////
4410
-
4411
- declare namespace Intl {
4412
- interface CollatorOptions {
4413
- usage?: "sort" | "search" | undefined;
4414
- localeMatcher?: "lookup" | "best fit" | undefined;
4415
- numeric?: boolean | undefined;
4416
- caseFirst?: "upper" | "lower" | "false" | undefined;
4417
- sensitivity?: "base" | "accent" | "case" | "variant" | undefined;
4418
- collation?: "big5han" | "compat" | "dict" | "direct" | "ducet" | "emoji" | "eor" | "gb2312" | "phonebk" | "phonetic" | "pinyin" | "reformed" | "searchjl" | "stroke" | "trad" | "unihan" | "zhuyin" | undefined;
4419
- ignorePunctuation?: boolean | undefined;
4420
- }
4421
-
4422
- interface ResolvedCollatorOptions {
4423
- locale: string;
4424
- usage: string;
4425
- sensitivity: string;
4426
- ignorePunctuation: boolean;
4427
- collation: string;
4428
- caseFirst: string;
4429
- numeric: boolean;
4430
- }
4431
-
4432
- interface Collator {
4433
- compare(x: string, y: string): number;
4434
- resolvedOptions(): ResolvedCollatorOptions;
4435
- }
4436
-
4437
- interface CollatorConstructor {
4438
- new (locales?: string | string[], options?: CollatorOptions): Collator;
4439
- (locales?: string | string[], options?: CollatorOptions): Collator;
4440
- supportedLocalesOf(locales: string | string[], options?: CollatorOptions): string[];
4441
- }
4442
-
4443
- var Collator: CollatorConstructor;
4444
-
4445
- interface NumberFormatOptionsStyleRegistry {
4446
- decimal: never;
4447
- percent: never;
4448
- currency: never;
4449
- }
4450
-
4451
- type NumberFormatOptionsStyle = keyof NumberFormatOptionsStyleRegistry;
4452
-
4453
- interface NumberFormatOptionsCurrencyDisplayRegistry {
4454
- code: never;
4455
- symbol: never;
4456
- name: never;
4457
- }
4458
-
4459
- type NumberFormatOptionsCurrencyDisplay = keyof NumberFormatOptionsCurrencyDisplayRegistry;
4460
-
4461
- interface NumberFormatOptionsUseGroupingRegistry {}
4462
-
4463
- type NumberFormatOptionsUseGrouping = {} extends NumberFormatOptionsUseGroupingRegistry ? boolean : keyof NumberFormatOptionsUseGroupingRegistry | "true" | "false" | boolean;
4464
- type ResolvedNumberFormatOptionsUseGrouping = {} extends NumberFormatOptionsUseGroupingRegistry ? boolean : keyof NumberFormatOptionsUseGroupingRegistry | false;
4465
-
4466
- interface NumberFormatOptions {
4467
- localeMatcher?: "lookup" | "best fit" | undefined;
4468
- style?: NumberFormatOptionsStyle | undefined;
4469
- currency?: string | undefined;
4470
- currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined;
4471
- useGrouping?: NumberFormatOptionsUseGrouping | undefined;
4472
- minimumIntegerDigits?: number | undefined;
4473
- minimumFractionDigits?: number | undefined;
4474
- maximumFractionDigits?: number | undefined;
4475
- minimumSignificantDigits?: number | undefined;
4476
- maximumSignificantDigits?: number | undefined;
4477
- }
4478
-
4479
- interface ResolvedNumberFormatOptions {
4480
- locale: string;
4481
- numberingSystem: string;
4482
- style: NumberFormatOptionsStyle;
4483
- currency?: string;
4484
- currencyDisplay?: NumberFormatOptionsCurrencyDisplay;
4485
- minimumIntegerDigits: number;
4486
- minimumFractionDigits?: number;
4487
- maximumFractionDigits?: number;
4488
- minimumSignificantDigits?: number;
4489
- maximumSignificantDigits?: number;
4490
- useGrouping: ResolvedNumberFormatOptionsUseGrouping;
4491
- }
4492
-
4493
- interface NumberFormat {
4494
- format(value: number): string;
4495
- resolvedOptions(): ResolvedNumberFormatOptions;
4496
- }
4497
-
4498
- interface NumberFormatConstructor {
4499
- new (locales?: string | string[], options?: NumberFormatOptions): NumberFormat;
4500
- (locales?: string | string[], options?: NumberFormatOptions): NumberFormat;
4501
- supportedLocalesOf(locales: string | string[], options?: NumberFormatOptions): string[];
4502
- readonly prototype: NumberFormat;
4503
- }
4504
-
4505
- var NumberFormat: NumberFormatConstructor;
4506
-
4507
- interface DateTimeFormatOptions {
4508
- localeMatcher?: "best fit" | "lookup" | undefined;
4509
- weekday?: "long" | "short" | "narrow" | undefined;
4510
- era?: "long" | "short" | "narrow" | undefined;
4511
- year?: "numeric" | "2-digit" | undefined;
4512
- month?: "numeric" | "2-digit" | "long" | "short" | "narrow" | undefined;
4513
- day?: "numeric" | "2-digit" | undefined;
4514
- hour?: "numeric" | "2-digit" | undefined;
4515
- minute?: "numeric" | "2-digit" | undefined;
4516
- second?: "numeric" | "2-digit" | undefined;
4517
- timeZoneName?: "short" | "long" | "shortOffset" | "longOffset" | "shortGeneric" | "longGeneric" | undefined;
4518
- formatMatcher?: "best fit" | "basic" | undefined;
4519
- hour12?: boolean | undefined;
4520
- timeZone?: string | undefined;
4521
- }
4522
-
4523
- interface ResolvedDateTimeFormatOptions {
4524
- locale: string;
4525
- calendar: string;
4526
- numberingSystem: string;
4527
- timeZone: string;
4528
- hour12?: boolean;
4529
- weekday?: string;
4530
- era?: string;
4531
- year?: string;
4532
- month?: string;
4533
- day?: string;
4534
- hour?: string;
4535
- minute?: string;
4536
- second?: string;
4537
- timeZoneName?: string;
4538
- }
4539
-
4540
- interface DateTimeFormat {
4541
- format(date?: Date | number): string;
4542
- resolvedOptions(): ResolvedDateTimeFormatOptions;
4543
- }
4544
-
4545
- interface DateTimeFormatConstructor {
4546
- new (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;
4547
- (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;
4548
- supportedLocalesOf(locales: string | string[], options?: DateTimeFormatOptions): string[];
4549
- readonly prototype: DateTimeFormat;
4550
- }
4551
-
4552
- var DateTimeFormat: DateTimeFormatConstructor;
4553
- }
4554
-
4555
- interface String {
4556
- /**
4557
- * Determines whether two strings are equivalent in the current or specified locale.
4558
- * @param that String to compare to target string
4559
- * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.
4560
- * @param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.
4561
- */
4562
- localeCompare(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
4563
- }
4564
-
4565
- interface Number {
4566
- /**
4567
- * Converts a number to a string by using the current or specified locale.
4568
- * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
4569
- * @param options An object that contains one or more properties that specify comparison options.
4570
- */
4571
- toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
4572
- }
4573
-
4574
- interface Date {
4575
- /**
4576
- * Converts a date and time to a string by using the current or specified locale.
4577
- * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
4578
- * @param options An object that contains one or more properties that specify comparison options.
4579
- */
4580
- toLocaleString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
4581
- /**
4582
- * Converts a date to a string by using the current or specified locale.
4583
- * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
4584
- * @param options An object that contains one or more properties that specify comparison options.
4585
- */
4586
- toLocaleDateString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
4587
-
4588
- /**
4589
- * Converts a time to a string by using the current or specified locale.
4590
- * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
4591
- * @param options An object that contains one or more properties that specify comparison options.
4592
- */
4593
- toLocaleTimeString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
4594
- }