@types/seed-random
TypeScript icon, indicating that this package has built-in type declarations

2.2.4 • Public • Published

Installation

npm install --save @types/seed-random

Summary

This package contains type definitions for seed-random (https://github.com/ForbesLindesay/seed-random).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/seed-random.

index.d.ts

/*
 * Usage:
 *  import * as seed from 'seed-random';
 */

export = SeedRandom;

declare function SeedRandom(seed?: string, options?: SeedRandom.Options): () => number;

declare namespace SeedRandom {
    interface Options {
        global?: boolean | undefined;
        entropy?: boolean | undefined;
    }

    function resetGlobal(): void;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Jonas Lochmann.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/seed-random

Weekly Downloads

47,807

Version

2.2.4

License

MIT

Unpacked Size

3.25 kB

Total Files

5

Last publish

Collaborators

  • types