Comparing version 2.5.12 to 2.5.13
@@ -37,3 +37,3 @@ /** | ||
*/ | ||
export declare function minmax<T>(items: T[], comp: Comparator<T>): Pair<T, T>; | ||
export declare function minmax<T>(items: T[], comp?: Comparator<T>): Pair<T, T>; | ||
/** | ||
@@ -40,0 +40,0 @@ * Get the minimum element in range. |
@@ -59,2 +59,3 @@ "use strict"; | ||
function minmax(items, comp) { | ||
if (comp === void 0) { comp = comparators_1.less; } | ||
var minimum = items[0]; | ||
@@ -61,0 +62,0 @@ var maximum = items[0]; |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "2.5.12", | ||
"version": "2.5.13", | ||
"typings": "./index.d.ts", | ||
@@ -12,0 +12,0 @@ "main": "./index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1161256
28904