@rslint/tsgo 0.0.15 → 0.1.15-canary.1768377508

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 (206) hide show
  1. package/LICENSE +21 -0
  2. package/bin/tsgo.cjs +34 -0
  3. package/package.json +29 -12
  4. package/index.js +0 -1
  5. package/lib/lib.d.ts +0 -22
  6. package/lib/lib.decorators.d.ts +0 -384
  7. package/lib/lib.decorators.legacy.d.ts +0 -22
  8. package/lib/lib.dom.asynciterable.d.ts +0 -41
  9. package/lib/lib.dom.d.ts +0 -39429
  10. package/lib/lib.dom.iterable.d.ts +0 -571
  11. package/lib/lib.es2015.collection.d.ts +0 -147
  12. package/lib/lib.es2015.core.d.ts +0 -597
  13. package/lib/lib.es2015.d.ts +0 -28
  14. package/lib/lib.es2015.generator.d.ts +0 -77
  15. package/lib/lib.es2015.iterable.d.ts +0 -605
  16. package/lib/lib.es2015.promise.d.ts +0 -81
  17. package/lib/lib.es2015.proxy.d.ts +0 -128
  18. package/lib/lib.es2015.reflect.d.ts +0 -144
  19. package/lib/lib.es2015.symbol.d.ts +0 -46
  20. package/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  21. package/lib/lib.es2016.array.include.d.ts +0 -116
  22. package/lib/lib.es2016.d.ts +0 -21
  23. package/lib/lib.es2016.full.d.ts +0 -23
  24. package/lib/lib.es2016.intl.d.ts +0 -31
  25. package/lib/lib.es2017.arraybuffer.d.ts +0 -21
  26. package/lib/lib.es2017.d.ts +0 -26
  27. package/lib/lib.es2017.date.d.ts +0 -31
  28. package/lib/lib.es2017.full.d.ts +0 -23
  29. package/lib/lib.es2017.intl.d.ts +0 -44
  30. package/lib/lib.es2017.object.d.ts +0 -49
  31. package/lib/lib.es2017.sharedmemory.d.ts +0 -135
  32. package/lib/lib.es2017.string.d.ts +0 -45
  33. package/lib/lib.es2017.typedarrays.d.ts +0 -53
  34. package/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  35. package/lib/lib.es2018.asynciterable.d.ts +0 -53
  36. package/lib/lib.es2018.d.ts +0 -24
  37. package/lib/lib.es2018.full.d.ts +0 -24
  38. package/lib/lib.es2018.intl.d.ts +0 -83
  39. package/lib/lib.es2018.promise.d.ts +0 -30
  40. package/lib/lib.es2018.regexp.d.ts +0 -37
  41. package/lib/lib.es2019.array.d.ts +0 -79
  42. package/lib/lib.es2019.d.ts +0 -24
  43. package/lib/lib.es2019.full.d.ts +0 -24
  44. package/lib/lib.es2019.intl.d.ts +0 -23
  45. package/lib/lib.es2019.object.d.ts +0 -33
  46. package/lib/lib.es2019.string.d.ts +0 -37
  47. package/lib/lib.es2019.symbol.d.ts +0 -24
  48. package/lib/lib.es2020.bigint.d.ts +0 -765
  49. package/lib/lib.es2020.d.ts +0 -27
  50. package/lib/lib.es2020.date.d.ts +0 -42
  51. package/lib/lib.es2020.full.d.ts +0 -24
  52. package/lib/lib.es2020.intl.d.ts +0 -474
  53. package/lib/lib.es2020.number.d.ts +0 -28
  54. package/lib/lib.es2020.promise.d.ts +0 -47
  55. package/lib/lib.es2020.sharedmemory.d.ts +0 -99
  56. package/lib/lib.es2020.string.d.ts +0 -44
  57. package/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  58. package/lib/lib.es2021.d.ts +0 -23
  59. package/lib/lib.es2021.full.d.ts +0 -24
  60. package/lib/lib.es2021.intl.d.ts +0 -166
  61. package/lib/lib.es2021.promise.d.ts +0 -48
  62. package/lib/lib.es2021.string.d.ts +0 -33
  63. package/lib/lib.es2021.weakref.d.ts +0 -78
  64. package/lib/lib.es2022.array.d.ts +0 -121
  65. package/lib/lib.es2022.d.ts +0 -25
  66. package/lib/lib.es2022.error.d.ts +0 -75
  67. package/lib/lib.es2022.full.d.ts +0 -24
  68. package/lib/lib.es2022.intl.d.ts +0 -145
  69. package/lib/lib.es2022.object.d.ts +0 -26
  70. package/lib/lib.es2022.regexp.d.ts +0 -39
  71. package/lib/lib.es2022.string.d.ts +0 -25
  72. package/lib/lib.es2023.array.d.ts +0 -924
  73. package/lib/lib.es2023.collection.d.ts +0 -21
  74. package/lib/lib.es2023.d.ts +0 -22
  75. package/lib/lib.es2023.full.d.ts +0 -24
  76. package/lib/lib.es2023.intl.d.ts +0 -56
  77. package/lib/lib.es2024.arraybuffer.d.ts +0 -65
  78. package/lib/lib.es2024.collection.d.ts +0 -29
  79. package/lib/lib.es2024.d.ts +0 -26
  80. package/lib/lib.es2024.full.d.ts +0 -24
  81. package/lib/lib.es2024.object.d.ts +0 -29
  82. package/lib/lib.es2024.promise.d.ts +0 -35
  83. package/lib/lib.es2024.regexp.d.ts +0 -25
  84. package/lib/lib.es2024.sharedmemory.d.ts +0 -68
  85. package/lib/lib.es2024.string.d.ts +0 -29
  86. package/lib/lib.es5.d.ts +0 -4601
  87. package/lib/lib.es6.d.ts +0 -23
  88. package/lib/lib.esnext.array.d.ts +0 -35
  89. package/lib/lib.esnext.collection.d.ts +0 -96
  90. package/lib/lib.esnext.d.ts +0 -29
  91. package/lib/lib.esnext.decorators.d.ts +0 -28
  92. package/lib/lib.esnext.disposable.d.ts +0 -193
  93. package/lib/lib.esnext.error.d.ts +0 -24
  94. package/lib/lib.esnext.float16.d.ts +0 -445
  95. package/lib/lib.esnext.full.d.ts +0 -24
  96. package/lib/lib.esnext.intl.d.ts +0 -21
  97. package/lib/lib.esnext.iterator.d.ts +0 -148
  98. package/lib/lib.esnext.promise.d.ts +0 -34
  99. package/lib/lib.esnext.sharedmemory.d.ts +0 -25
  100. package/lib/lib.scripthost.d.ts +0 -322
  101. package/lib/lib.webworker.asynciterable.d.ts +0 -41
  102. package/lib/lib.webworker.d.ts +0 -13150
  103. package/lib/lib.webworker.importscripts.d.ts +0 -23
  104. package/lib/lib.webworker.iterable.d.ts +0 -340
  105. package/lib/local/lib.d.ts +0 -22
  106. package/lib/local/lib.decorators.d.ts +0 -384
  107. package/lib/local/lib.decorators.legacy.d.ts +0 -22
  108. package/lib/local/lib.dom.asynciterable.d.ts +0 -41
  109. package/lib/local/lib.dom.d.ts +0 -39429
  110. package/lib/local/lib.dom.iterable.d.ts +0 -571
  111. package/lib/local/lib.es2015.collection.d.ts +0 -147
  112. package/lib/local/lib.es2015.core.d.ts +0 -597
  113. package/lib/local/lib.es2015.d.ts +0 -28
  114. package/lib/local/lib.es2015.generator.d.ts +0 -77
  115. package/lib/local/lib.es2015.iterable.d.ts +0 -605
  116. package/lib/local/lib.es2015.promise.d.ts +0 -81
  117. package/lib/local/lib.es2015.proxy.d.ts +0 -128
  118. package/lib/local/lib.es2015.reflect.d.ts +0 -144
  119. package/lib/local/lib.es2015.symbol.d.ts +0 -46
  120. package/lib/local/lib.es2015.symbol.wellknown.d.ts +0 -326
  121. package/lib/local/lib.es2016.array.include.d.ts +0 -116
  122. package/lib/local/lib.es2016.d.ts +0 -21
  123. package/lib/local/lib.es2016.full.d.ts +0 -23
  124. package/lib/local/lib.es2016.intl.d.ts +0 -31
  125. package/lib/local/lib.es2017.arraybuffer.d.ts +0 -21
  126. package/lib/local/lib.es2017.d.ts +0 -26
  127. package/lib/local/lib.es2017.date.d.ts +0 -31
  128. package/lib/local/lib.es2017.full.d.ts +0 -23
  129. package/lib/local/lib.es2017.intl.d.ts +0 -44
  130. package/lib/local/lib.es2017.object.d.ts +0 -49
  131. package/lib/local/lib.es2017.sharedmemory.d.ts +0 -135
  132. package/lib/local/lib.es2017.string.d.ts +0 -45
  133. package/lib/local/lib.es2017.typedarrays.d.ts +0 -53
  134. package/lib/local/lib.es2018.asyncgenerator.d.ts +0 -77
  135. package/lib/local/lib.es2018.asynciterable.d.ts +0 -53
  136. package/lib/local/lib.es2018.d.ts +0 -24
  137. package/lib/local/lib.es2018.full.d.ts +0 -24
  138. package/lib/local/lib.es2018.intl.d.ts +0 -83
  139. package/lib/local/lib.es2018.promise.d.ts +0 -30
  140. package/lib/local/lib.es2018.regexp.d.ts +0 -37
  141. package/lib/local/lib.es2019.array.d.ts +0 -79
  142. package/lib/local/lib.es2019.d.ts +0 -24
  143. package/lib/local/lib.es2019.full.d.ts +0 -24
  144. package/lib/local/lib.es2019.intl.d.ts +0 -23
  145. package/lib/local/lib.es2019.object.d.ts +0 -33
  146. package/lib/local/lib.es2019.string.d.ts +0 -37
  147. package/lib/local/lib.es2019.symbol.d.ts +0 -24
  148. package/lib/local/lib.es2020.bigint.d.ts +0 -765
  149. package/lib/local/lib.es2020.d.ts +0 -27
  150. package/lib/local/lib.es2020.date.d.ts +0 -42
  151. package/lib/local/lib.es2020.full.d.ts +0 -24
  152. package/lib/local/lib.es2020.intl.d.ts +0 -474
  153. package/lib/local/lib.es2020.number.d.ts +0 -28
  154. package/lib/local/lib.es2020.promise.d.ts +0 -47
  155. package/lib/local/lib.es2020.sharedmemory.d.ts +0 -99
  156. package/lib/local/lib.es2020.string.d.ts +0 -44
  157. package/lib/local/lib.es2020.symbol.wellknown.d.ts +0 -41
  158. package/lib/local/lib.es2021.d.ts +0 -23
  159. package/lib/local/lib.es2021.full.d.ts +0 -24
  160. package/lib/local/lib.es2021.intl.d.ts +0 -166
  161. package/lib/local/lib.es2021.promise.d.ts +0 -48
  162. package/lib/local/lib.es2021.string.d.ts +0 -33
  163. package/lib/local/lib.es2021.weakref.d.ts +0 -78
  164. package/lib/local/lib.es2022.array.d.ts +0 -121
  165. package/lib/local/lib.es2022.d.ts +0 -25
  166. package/lib/local/lib.es2022.error.d.ts +0 -75
  167. package/lib/local/lib.es2022.full.d.ts +0 -24
  168. package/lib/local/lib.es2022.intl.d.ts +0 -145
  169. package/lib/local/lib.es2022.object.d.ts +0 -26
  170. package/lib/local/lib.es2022.regexp.d.ts +0 -39
  171. package/lib/local/lib.es2022.string.d.ts +0 -25
  172. package/lib/local/lib.es2023.array.d.ts +0 -924
  173. package/lib/local/lib.es2023.collection.d.ts +0 -21
  174. package/lib/local/lib.es2023.d.ts +0 -22
  175. package/lib/local/lib.es2023.full.d.ts +0 -24
  176. package/lib/local/lib.es2023.intl.d.ts +0 -56
  177. package/lib/local/lib.es2024.arraybuffer.d.ts +0 -65
  178. package/lib/local/lib.es2024.collection.d.ts +0 -29
  179. package/lib/local/lib.es2024.d.ts +0 -26
  180. package/lib/local/lib.es2024.full.d.ts +0 -24
  181. package/lib/local/lib.es2024.object.d.ts +0 -29
  182. package/lib/local/lib.es2024.promise.d.ts +0 -35
  183. package/lib/local/lib.es2024.regexp.d.ts +0 -25
  184. package/lib/local/lib.es2024.sharedmemory.d.ts +0 -68
  185. package/lib/local/lib.es2024.string.d.ts +0 -29
  186. package/lib/local/lib.es5.d.ts +0 -4601
  187. package/lib/local/lib.es6.d.ts +0 -23
  188. package/lib/local/lib.esnext.array.d.ts +0 -35
  189. package/lib/local/lib.esnext.collection.d.ts +0 -96
  190. package/lib/local/lib.esnext.d.ts +0 -29
  191. package/lib/local/lib.esnext.decorators.d.ts +0 -28
  192. package/lib/local/lib.esnext.disposable.d.ts +0 -193
  193. package/lib/local/lib.esnext.error.d.ts +0 -24
  194. package/lib/local/lib.esnext.float16.d.ts +0 -445
  195. package/lib/local/lib.esnext.full.d.ts +0 -24
  196. package/lib/local/lib.esnext.intl.d.ts +0 -21
  197. package/lib/local/lib.esnext.iterator.d.ts +0 -148
  198. package/lib/local/lib.esnext.promise.d.ts +0 -34
  199. package/lib/local/lib.esnext.sharedmemory.d.ts +0 -25
  200. package/lib/local/lib.scripthost.d.ts +0 -322
  201. package/lib/local/lib.webworker.asynciterable.d.ts +0 -41
  202. package/lib/local/lib.webworker.d.ts +0 -13150
  203. package/lib/local/lib.webworker.importscripts.d.ts +0 -23
  204. package/lib/local/lib.webworker.iterable.d.ts +0 -340
  205. package/lib/local/tsgo +0 -0
  206. package/lib/tsgo +0 -0
@@ -1,147 +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
- interface Map<K, V> {
20
- clear(): void;
21
- /**
22
- * @returns true if an element in the Map existed and has been removed, or false if the element does not exist.
23
- */
24
- delete(key: K): boolean;
25
- /**
26
- * Executes a provided function once per each key/value pair in the Map, in insertion order.
27
- */
28
- forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;
29
- /**
30
- * Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
31
- * @returns Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
32
- */
33
- get(key: K): V | undefined;
34
- /**
35
- * @returns boolean indicating whether an element with the specified key exists or not.
36
- */
37
- has(key: K): boolean;
38
- /**
39
- * Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.
40
- */
41
- set(key: K, value: V): this;
42
- /**
43
- * @returns the number of elements in the Map.
44
- */
45
- readonly size: number;
46
- }
47
-
48
- interface MapConstructor {
49
- new (): Map<any, any>;
50
- new <K, V>(entries?: readonly (readonly [K, V])[] | null): Map<K, V>;
51
- readonly prototype: Map<any, any>;
52
- }
53
- declare var Map: MapConstructor;
54
-
55
- interface ReadonlyMap<K, V> {
56
- forEach(callbackfn: (value: V, key: K, map: ReadonlyMap<K, V>) => void, thisArg?: any): void;
57
- get(key: K): V | undefined;
58
- has(key: K): boolean;
59
- readonly size: number;
60
- }
61
-
62
- interface WeakMap<K extends WeakKey, V> {
63
- /**
64
- * Removes the specified element from the WeakMap.
65
- * @returns true if the element was successfully removed, or false if it was not present.
66
- */
67
- delete(key: K): boolean;
68
- /**
69
- * @returns a specified element.
70
- */
71
- get(key: K): V | undefined;
72
- /**
73
- * @returns a boolean indicating whether an element with the specified key exists or not.
74
- */
75
- has(key: K): boolean;
76
- /**
77
- * Adds a new element with a specified key and value.
78
- * @param key Must be an object or symbol.
79
- */
80
- set(key: K, value: V): this;
81
- }
82
-
83
- interface WeakMapConstructor {
84
- new <K extends WeakKey = WeakKey, V = any>(entries?: readonly (readonly [K, V])[] | null): WeakMap<K, V>;
85
- readonly prototype: WeakMap<WeakKey, any>;
86
- }
87
- declare var WeakMap: WeakMapConstructor;
88
-
89
- interface Set<T> {
90
- /**
91
- * Appends a new element with a specified value to the end of the Set.
92
- */
93
- add(value: T): this;
94
-
95
- clear(): void;
96
- /**
97
- * Removes a specified value from the Set.
98
- * @returns Returns true if an element in the Set existed and has been removed, or false if the element does not exist.
99
- */
100
- delete(value: T): boolean;
101
- /**
102
- * Executes a provided function once per each value in the Set object, in insertion order.
103
- */
104
- forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any): void;
105
- /**
106
- * @returns a boolean indicating whether an element with the specified value exists in the Set or not.
107
- */
108
- has(value: T): boolean;
109
- /**
110
- * @returns the number of (unique) elements in Set.
111
- */
112
- readonly size: number;
113
- }
114
-
115
- interface SetConstructor {
116
- new <T = any>(values?: readonly T[] | null): Set<T>;
117
- readonly prototype: Set<any>;
118
- }
119
- declare var Set: SetConstructor;
120
-
121
- interface ReadonlySet<T> {
122
- forEach(callbackfn: (value: T, value2: T, set: ReadonlySet<T>) => void, thisArg?: any): void;
123
- has(value: T): boolean;
124
- readonly size: number;
125
- }
126
-
127
- interface WeakSet<T extends WeakKey> {
128
- /**
129
- * Appends a new value to the end of the WeakSet.
130
- */
131
- add(value: T): this;
132
- /**
133
- * Removes the specified element from the WeakSet.
134
- * @returns Returns true if the element existed and has been removed, or false if the element does not exist.
135
- */
136
- delete(value: T): boolean;
137
- /**
138
- * @returns a boolean indicating whether a value exists in the WeakSet or not.
139
- */
140
- has(value: T): boolean;
141
- }
142
-
143
- interface WeakSetConstructor {
144
- new <T extends WeakKey = WeakKey>(values?: readonly T[] | null): WeakSet<T>;
145
- readonly prototype: WeakSet<WeakKey>;
146
- }
147
- declare var WeakSet: WeakSetConstructor;