@jonahsnider/util
Advanced tools
Comparing version 2.10.0 to 2.10.1
@@ -36,4 +36,3 @@ /** A 2-dimensional table of type `T`. */ | ||
*/ | ||
export declare function sample<T>(array: T[]): T; | ||
export declare function sample(array: readonly []): undefined; | ||
export declare function sample<T>(array: readonly T[]): T; | ||
/** | ||
@@ -86,3 +85,3 @@ * A uniformly random array shuffle. | ||
*/ | ||
export declare function binarySearch<T>(array: T[], directionFn: DirectionFn<T>): ReturnType<typeof array['find']>; | ||
export declare function binarySearch<T>(array: readonly T[], directionFn: DirectionFn<T>): ReturnType<typeof array['find']>; | ||
/** | ||
@@ -89,0 +88,0 @@ * Divides an array into several chunks of `size`. |
@@ -13,5 +13,5 @@ { | ||
"eslint-plugin-prettier": "3.4.0", | ||
"eslint-plugin-tsdoc": "0.2.12", | ||
"eslint-plugin-tsdoc": "0.2.14", | ||
"prettier": "2.2.1", | ||
"prettier-config-xo": "1.0.3", | ||
"prettier-config-xo": "1.0.4", | ||
"semantic-release": "17.4.2", | ||
@@ -22,3 +22,3 @@ "size-limit": "4.10.2", | ||
"tslib": "2.2.0", | ||
"typedoc": "0.20.35", | ||
"typedoc": "0.20.36", | ||
"typescript": "4.2.4" | ||
@@ -77,3 +77,3 @@ }, | ||
"typings": "dist/index.d.ts", | ||
"version": "2.10.0" | ||
"version": "2.10.1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
359830
4431