@types/chance
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -169,3 +169,4 @@ // Type definitions for Chance 1.0 | ||
hash(opts?: Options): string; | ||
n<T>(generator: () => T, count: number, opts?: Options): T[]; | ||
n<T>(generator: () => T, count: number): T[]; | ||
n<T, O extends Options>(generator: (options: O) => T, count: number, options: O): T[]; | ||
normal(opts?: Options): number; | ||
@@ -176,3 +177,4 @@ radio(opts?: Options): string; | ||
tv(opts?: Options): string; | ||
unique<T>(generator: () => T, count: number, opts?: Options): T[]; | ||
unique<T>(generator: () => T, count: number): T[]; | ||
unique<T, O extends Options>(generator: (options: O) => T, count: number, options: O): T[]; | ||
weighted<T>(values: T[], weights: number[]): T; | ||
@@ -179,0 +181,0 @@ |
{ | ||
"name": "@types/chance", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "TypeScript definitions for Chance", | ||
@@ -37,4 +37,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "f3e64e441933a48e1b38787a2c259bec6abb3dce72c8c5d15c68d9f5cac3e6d8", | ||
"typesPublisherContentHash": "71f78093514a861373eb9901f9246d7080ca30c435984970d8320c2c930ae5e0", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 19 Aug 2019 17:51:12 GMT | ||
* Last updated: Thu, 03 Oct 2019 21:25:52 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
12883
293