@opencreek/ext
Advanced tools
Comparing version 1.5.1 to 1.5.2--canary.9.bbba75021b29a29a170a587ebe6ba7b70ab0cb10.0
@@ -26,2 +26,4 @@ declare type PairSplit<T> = T extends [infer F, infer L] ? [F[], L[]] : never; | ||
maxOf(selector: (el: T) => number): number | undefined; | ||
maxOf(selector: (el: T) => string): string | undefined; | ||
maxOf(selector: (el: T) => Date): Date | undefined; | ||
maxWith(comparator: (a: T, b: T) => number): T | undefined; | ||
@@ -79,2 +81,4 @@ minBy(selector: (el: T) => number): T | undefined; | ||
maxOf(selector: (el: T) => number): number | undefined; | ||
maxOf(selector: (el: T) => string): string | undefined; | ||
maxOf(selector: (el: T) => Date): Date | undefined; | ||
maxWith(comparator: (a: T, b: T) => number): T | undefined; | ||
@@ -81,0 +85,0 @@ minBy(selector: (el: T) => number): T | undefined; |
{ | ||
"name": "@opencreek/ext", | ||
"version": "1.5.1", | ||
"version": "1.5.2--canary.9.bbba75021b29a29a170a587ebe6ba7b70ab0cb10.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -89,2 +89,4 @@ import * as collections from "@opencreek/deno-std-collections" | ||
maxOf(selector: (el: T) => number): number | undefined | ||
maxOf(selector: (el: T) => string): string | undefined | ||
maxOf(selector: (el: T) => Date): Date | undefined | ||
maxWith(comparator: (a: T, b: T) => number): T | undefined | ||
@@ -147,2 +149,4 @@ minBy(selector: (el: T) => number): T | undefined | ||
maxOf(selector: (el: T) => number): number | undefined | ||
maxOf(selector: (el: T) => string): string | undefined | ||
maxOf(selector: (el: T) => Date): Date | undefined | ||
maxWith(comparator: (a: T, b: T) => number): T | undefined | ||
@@ -149,0 +153,0 @@ minBy(selector: (el: T) => number): T | undefined |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
46139
662
2