mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Matching dslint Using declare function Header is required Adding a comment Moving export line Missing space Tslint...
15 lines
468 B
TypeScript
15 lines
468 B
TypeScript
// 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;
|
|
start?: number;
|
|
}): () => number;
|
|
|
|
export = IdIterator;
|