CodeChain-io / CodeChain-io/codechain-sdk-js

Change all of the SDK functions to arrow function

オープン
#70 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement good first issue
主要言語
TypeScript
スター
26
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

説明

Currently, the below example doesn't work
```
let sdk = new SDK(...);
let { getBlock, ... } = sdk.rpc.chain;

getBlock("0x123..").then(...)
```

Because of the function context.

Changing all the functions to the arrow function is one of the solutions.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。