rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
11 lines • 373 B
TypeScript
import { IRandomNumberGenerator } from "./i-random-number-generator.js";
/**
* @public
* Instead of returning a random number, return the constant instead.
*/
export declare class NotRandomGenerator implements IRandomNumberGenerator {
private readonly value;
constructor(value: number);
getNext(): number;
}
//# sourceMappingURL=not-random-generator.d.ts.map