1.0.3 • Published 2 years ago
@types/json-rpc-random-id v1.0.3
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
// Type definitions for json-rpc-random-id 1.0
// Project: https://github.com/kumavis/json-rpc-random-id#readme
// Definitions by: Micah Riggan <https://github.com/micahriggan>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* 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: Thu, 08 Jul 2021 16:22:51 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Micah Riggan.