Merge pull request #5283 from mikemorton/patch-1

normal() should return a number, not a string
This commit is contained in:
Horiuchi_H
2015-08-12 12:43:44 +09:00
+1 -1
View File
@@ -127,7 +127,7 @@ declare module Chance {
guid(): string;
hash(opts?: Options): string;
n<T>(generator: () => T, count: number, opts?: Options): T[];
normal(opts?: Options): string;
normal(opts?: Options): number;
radio(opts?: Options): string;
rpg(dice: string): number[];
rpg(dice: string, opts?: Options): number[]|number;