Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 44a62a8

Browse files
committed
Add missing function export
1 parent 7472eb0 commit 44a62a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/web3-utils/types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export function testAddress(bloom: string, address: string): boolean;
122122
export function testTopic(bloom: string, topic: string): boolean;
123123
export function getSignatureParameters(signature: string): {r: string; s: string; v: number};
124124
export function stripHexPrefix(str: string): string;
125+
export function toNumber(value: number | string | BN): number;
125126

126127
// interfaces
127128
export interface Utils {

0 commit comments

Comments
 (0)