From fc806e7e1ddb7945f9877e38feb65cece7960978 Mon Sep 17 00:00:00 2001 From: Mike Morton Date: Sat, 8 Aug 2015 18:54:05 -0400 Subject: [PATCH] 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. --- chance/chance.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chance/chance.d.ts b/chance/chance.d.ts index 2af960efec..e79304c8d5 100644 --- a/chance/chance.d.ts +++ b/chance/chance.d.ts @@ -127,7 +127,7 @@ declare module Chance { guid(): string; hash(opts?: Options): string; n(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;