DefinitelyTyped/types/random-float/index.d.ts
2018-12-03 00:42:33 +01:00

10 lines
414 B
TypeScript

// Type definitions for random-float 1.0
// Project: https://github.com/sindresorhus/random-float
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = randomFloat;
declare function randomFloat(max: number): number;
declare function randomFloat(min: number, max: number): number; // tslint:disable-line unified-signatures