mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 12:33:17 +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:
2
chance/chance.d.ts
vendored
2
chance/chance.d.ts
vendored
@@ -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