Skip to content

Commit

Permalink
fix: fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ariesjia committed Sep 28, 2020
1 parent 773f52b commit 003c521
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/web3-eth-abi/types/tests/abi-coder-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @date 2018
*/

import { AbiCoder } from 'web3-eth-abi';
import AbiCoder from 'web3-eth-abi';

const abiCoder = new AbiCoder();

Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-accounts/types/tests/accounts-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Josh Stevens <joshstevens19@hotmail.co.uk>
* @date 2018
*/
import { Accounts, SignedTransaction } from 'web3-eth-accounts';
import Accounts, { SignedTransaction } from 'web3-eth-accounts';

// $ExpectType Accounts
const accounts_empty = new Accounts();
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-contract/types/tests/contract-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @date 2018
*/

import { Contract } from 'web3-eth-contract';
import Contract from 'web3-eth-contract';

const contract = new Contract([]);

Expand Down
4 changes: 2 additions & 2 deletions packages/web3-eth-ens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
"web3-core": "1.3.0",
"web3-core-helpers": "1.3.0",
"web3-core-promievent": "1.3.0",
"web3-eth": "1.3.0",
"web3-eth-abi": "1.3.0",
"web3-eth-contract": "1.3.0",
"web3-utils": "1.3.0"
},
"devDependencies": {
"dtslint": "^3.4.1",
"typescript": "^3.9.5"
"typescript": "^3.9.5",
"web3-eth": "1.3.0"
}
}
6 changes: 3 additions & 3 deletions packages/web3-eth-ens/types/tests/ens-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

import { TransactionRevertInstructionError } from 'web3-core-helpers';
import { TransactionReceipt } from 'web3-core';
import { Contract } from 'web3-eth-contract';
import { Ens, ContentHash } from 'web3-eth-ens';
import { Eth } from 'web3-eth';
import Contract from 'web3-eth-contract';
import Ens, { ContentHash } from 'web3-eth-ens';
import Eth from 'web3-eth';

const ens = new Ens(new Eth('http://localhost:8545'));

Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-iban/types/tests/iban-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @date 2018
*/

import { Iban, IndirectOptions } from 'web3-eth-iban';
import Iban, { IndirectOptions } from 'web3-eth-iban';

const iban = 'XE7338O073KYGTWWZN0F2WZ0R8PX5ZPPZS';
const address = '0x45cd08334aeedd8a06265b2ae302e3597d8faa28';
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-personal/types/tests/personal-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/

import { RLPEncodedTransaction } from 'web3-core';
import { Personal } from 'web3-eth-personal';
import Personal from 'web3-eth-personal';

// $ExpectType Personal
const personal_empty = new Personal();
Expand Down
3 changes: 1 addition & 2 deletions packages/web3-eth/types/tests/eth.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@
*/

import {Log} from 'web3-core';
import {
import Eth, {
BlockTransactionObject,
BlockTransactionString,
BlockHeader,
Eth,
GetProof,
Syncing,
RLPEncodedTransaction,
Expand Down

0 comments on commit 003c521

Please sign in to comment.