mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-04 12:10:30 +08:00
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:
1 parent
3b0f362204
commit
fc806e7e1d
1 file changed
+1
-1
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user