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

1.0.3 • Public • Published

Installation

npm install --save @types/json-rpc-random-id

Summary

This package contains type definitions for json-rpc-random-id (https://github.com/kumavis/json-rpc-random-id#readme).

Details

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

index.d.ts

/**
 *  Returns a function that generates a random number
 *  This number is to be used with web3 rpc
 */
declare function IdIterator(options?: {
    max?: number | undefined;
    start?: number | undefined;
}): () => number;

export = IdIterator;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Micah Riggan.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/json-rpc-random-id

Weekly Downloads

332

Version

1.0.3

License

MIT

Unpacked Size

3.13 kB

Total Files

5

Last publish

Collaborators

  • types