selfcarebot/node_modules/random/dist/generators/function.d.ts

10 lines
355 B
TypeScript
Raw Normal View History

2023-03-31 03:22:50 +00:00
import RNG, { SeedFn } from '../rng';
export default class RNGFunction extends RNG {
_rng: SeedFn;
constructor(thunk: SeedFn, opts?: Record<string, unknown>);
get name(): string;
next(): number;
seed(thunk: SeedFn, _opts?: Record<string, unknown>): void;
clone(_: undefined, opts: Record<string, unknown>): RNGFunction;
}