@radomiej/compiler-types 3.0.9-types.0 → 3.0.9-types.1

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types/core.d.ts +52 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radomiej/compiler-types",
3
- "version": "3.0.9-types.0",
3
+ "version": "3.0.9-types.1",
4
4
  "description": "",
5
5
  "main": "types/core.d.ts",
6
6
  "types": "types/core.d.ts",
package/types/core.d.ts CHANGED
@@ -155,3 +155,55 @@ interface TypedPropertyDescriptor<T> {
155
155
  * Marker for non-inference type position
156
156
  */
157
157
  type NoInfer<T> = intrinsic;
158
+
159
+ interface Add<T, R = T> {
160
+ add(other: T): R;
161
+ }
162
+
163
+ interface Sub<T, R = T> {
164
+ sub(other: T): R;
165
+ }
166
+
167
+ interface Mul<T, R = T> {
168
+ mul(other: T): R;
169
+ }
170
+
171
+ interface Div<T, R = T> {
172
+ div(other: T): R;
173
+ }
174
+
175
+ interface IDiv<T, R = T> {
176
+ idiv(other: T): R;
177
+ }
178
+
179
+ interface Mod<T, R = T> {
180
+ mod(other: T): R;
181
+ }
182
+
183
+ interface Pow<T, R = T> {
184
+ pow(other: T): R;
185
+ }
186
+
187
+ interface Concat<T, R = T> {
188
+ concat(other: T): R;
189
+ }
190
+
191
+ interface Eq<T> {
192
+ eq(other: T): boolean;
193
+ }
194
+
195
+ interface Lt<T> {
196
+ lt(other: T): boolean;
197
+ }
198
+
199
+ interface Le<T> {
200
+ le(other: T): boolean;
201
+ }
202
+
203
+ interface Unm<R> {
204
+ unm(): R;
205
+ }
206
+
207
+ interface Len<R> {
208
+ len(): R;
209
+ }