mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* 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>
5 lines
139 B
TypeScript
5 lines
139 B
TypeScript
import mathRandom = require("math-random");
|
|
|
|
mathRandom(); // $ExpectType number
|
|
mathRandom.cryptographic; // $ExpectType true | undefined
|