klaytn/caver-js

caver-js/types/packages/caver-utils/src/index.d.ts hexToNumber type mismatch

Closed this issue · 2 comments

hexToNumber(value: string | number | BN): string

I think this should be fixed to
hexToNumber(value: string | number | BN): string -> hexToNumber(value: string | number | BN): number.

ref) https://docs.klaytn.com/dapp/sdk/caver-js/api-references/caver.utils#hextonumber

I fixed #635

@Seunghwan96 Thanks for sharing the issues. Of course, since klaytn and caver-js is an open-source repository, you can also contribute. :)