DefinitelyTyped/types/math-random/index.d.ts
Richie Bendall d05a9de5c6
feat: Add typings for math-random (#42082)
* feat: Add typings for math-random

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* fix: `cryptographic` should be true | undefined

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-02-05 10:51:24 -08:00

12 lines
342 B
TypeScript

// Type definitions for math-random 1.0
// Project: https://github.com/michaelrhodes/math-random#readme
// Definitions by: Richie Bendall <https://github.com/Richienb>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare const mathRandom: {
(): number;
cryptographic: true | undefined;
};
export = mathRandom;