klaytn/caver-js

caver-js/types/packages/caver-rtm/src/index.d.ts getBlockNumber type mismatch

Closed this issue · 1 comments

klay_blockNumber(callback?: (error: Error, result: string) => void): Promise<string>

여기서 string 으로 리턴된다고 하는데 docs에서는 number 로 리턴한다고 나와있습니다. 혹시나 아니라면 죄송합니다.

(참고자료
https://docs.klaytn.com/dapp/sdk/caver-js/v1.4.1/api-references/caver.klay/block#getblocknumber)

I fixed in #633.
Please use english to communicate in this public caver-js repository. ;-;