normal() should return a number, not a string

Small change to ensure the normal() function declares that it returns a number and not a string.
This commit is contained in:
Mike Morton
2015-08-08 18:54:05 -04:00
parent 3b0f362204
commit fc806e7e1d

2
chance/chance.d.ts vendored
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;