@signpostmarv/intermediary-number 0.5.0 → 0.5.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.
|
@@ -53,8 +53,8 @@ interface CanDoMath<ResultType extends CanDoMath_result_types = CanDoMath_result
|
|
|
53
53
|
plus(value: math_types): ResultType;
|
|
54
54
|
times(value: math_types): ResultType;
|
|
55
55
|
abs(): (operand_types);
|
|
56
|
-
max(first: math_types, ...remaining: math_types[]):
|
|
57
|
-
min(first: math_types, ...remaining: math_types[]):
|
|
56
|
+
max(first: math_types, ...remaining: math_types[]): operand_types;
|
|
57
|
+
min(first: math_types, ...remaining: math_types[]): operand_types;
|
|
58
58
|
}
|
|
59
59
|
interface CanResolveMath<T extends CanDoMath_result_types = CanDoMath_result_types> extends CanDoMath<T, string> {
|
|
60
60
|
resolve(): IntermediaryNumber;
|
|
@@ -93,8 +93,8 @@ export declare class IntermediaryNumber implements CanDoMathWithDispose {
|
|
|
93
93
|
isLessThan(value: math_types): boolean;
|
|
94
94
|
isOne(): boolean;
|
|
95
95
|
isZero(): boolean;
|
|
96
|
-
max(first: math_types, ...remaining: math_types[]):
|
|
97
|
-
min(first: math_types, ...remaining: math_types[]):
|
|
96
|
+
max(first: math_types, ...remaining: math_types[]): operand_types;
|
|
97
|
+
min(first: math_types, ...remaining: math_types[]): operand_types;
|
|
98
98
|
minus(value: math_types): operand_types;
|
|
99
99
|
modulo(value: math_types): operand_types;
|
|
100
100
|
plus(value: math_types): operand_types;
|
|
@@ -133,8 +133,8 @@ export declare class IntermediaryCalculation implements CanResolveMathWithDispos
|
|
|
133
133
|
isLessThan(value: math_types): boolean;
|
|
134
134
|
isOne(): boolean;
|
|
135
135
|
isZero(): boolean;
|
|
136
|
-
max(first: math_types, ...remaining: math_types[]):
|
|
137
|
-
min(first: math_types, ...remaining: math_types[]):
|
|
136
|
+
max(first: math_types, ...remaining: math_types[]): operand_types;
|
|
137
|
+
min(first: math_types, ...remaining: math_types[]): operand_types;
|
|
138
138
|
minus(value: math_types): operand_types;
|
|
139
139
|
modulo(value: math_types): operand_types;
|
|
140
140
|
plus(value: math_types): operand_types;
|
|
@@ -185,8 +185,8 @@ export declare class TokenScan implements CanResolveMathWithDispose {
|
|
|
185
185
|
isLessThan(value: math_types): boolean;
|
|
186
186
|
isOne(): boolean;
|
|
187
187
|
isZero(): boolean;
|
|
188
|
-
max(first: math_types, ...remaining: math_types[]):
|
|
189
|
-
min(first: math_types, ...remaining: math_types[]):
|
|
188
|
+
max(first: math_types, ...remaining: math_types[]): operand_types;
|
|
189
|
+
min(first: math_types, ...remaining: math_types[]): operand_types;
|
|
190
190
|
minus(value: math_types): TokenScan;
|
|
191
191
|
modulo(value: math_types): TokenScan;
|
|
192
192
|
plus(value: math_types): TokenScan;
|
package/package.json
CHANGED