mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-30 21:47:35 +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
|