@types/chance
Advanced tools
Comparing version 0.7.33 to 0.7.34
@@ -7,5 +7,6 @@ // Type definitions for Chance 0.7.3 | ||
declare namespace Chance { | ||
type Seed = number | string; | ||
interface Seeded { | ||
seed: number; | ||
seed: Seed; | ||
} | ||
@@ -17,7 +18,7 @@ | ||
(): Chance | ||
(seed: number): SeededChance | ||
(seed: Seed): SeededChance | ||
(generator: () => any): Chance | ||
new(): Chance; | ||
new(seed: number): SeededChance; | ||
new(seed: Seed): SeededChance; | ||
new(generator: () => any): Chance; | ||
@@ -161,3 +162,3 @@ } | ||
cc_types(): CreditCardType[]; | ||
mersenne_twister(seed?: number): any; // API return type not defined in docs | ||
mersenne_twister(seed?: Seed): any; // API return type not defined in docs | ||
months(): Month[]; | ||
@@ -164,0 +165,0 @@ name_prefixes(): Name[]; |
{ | ||
"name": "@types/chance", | ||
"version": "0.7.33", | ||
"version": "0.7.34", | ||
"description": "TypeScript definitions for Chance", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "307a108bee7ee9b6e874def91ff8cf5d8f5279b0f1e7de48203c434080779186", | ||
"typesPublisherContentHash": "965f8f8b5d670e7ecae3167a4506e5dfc91e86d4bb3ffd00221862229545aaad", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 26 Apr 2017 17:34:12 GMT | ||
* Last updated: Tue, 01 Aug 2017 21:20:06 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: Chance, chance |
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
9086
209