Merge pull request #320 from joincivil/feature/default-account
Fix web3 typing defaultAccount not allowing `undefined`
This commit is contained in:
commit
0e3bd0c6c1
@ -3,3 +3,4 @@
|
|||||||
## v0.9.3 - _January 11, 2018_
|
## v0.9.3 - _January 11, 2018_
|
||||||
|
|
||||||
* Add type for getData on a contract
|
* Add type for getData on a contract
|
||||||
|
* Fixed the `defaultAccount` not allowing for `undefined` value (#320)
|
||||||
|
2
packages/web3-typescript-typings/index.d.ts
vendored
2
packages/web3-typescript-typings/index.d.ts
vendored
@ -170,7 +170,7 @@ declare module 'web3' {
|
|||||||
gasPrice: BigNumber.BigNumber;
|
gasPrice: BigNumber.BigNumber;
|
||||||
accounts: string[];
|
accounts: string[];
|
||||||
blockNumber: number;
|
blockNumber: number;
|
||||||
defaultAccount: string;
|
defaultAccount?: string;
|
||||||
defaultBlock: Web3.BlockParam;
|
defaultBlock: Web3.BlockParam;
|
||||||
syncing: Web3.SyncingResult;
|
syncing: Web3.SyncingResult;
|
||||||
compile: {
|
compile: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user