Created
June 7, 2018 19:07
-
-
Save feuGeneA/b1abfbd942c0ad303049235c214cb38b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ yarn tsc | |
yarn run v1.7.0 | |
$ tsc --lib ES2015 build/contracts/types/migrations.ts | |
build/contracts/types/migrations.ts:39:91 - error TS2345: Argument of type 'import("/home/gene/ethopt/node_modules/ethereum-types/lib/index").BlockParam' is not assignable to parameter of type 'import("/home/gene/ethopt/node_modules/@0xproject/types/lib/index").BlockParam'. | |
Type 'BlockParamLiteral.Earliest' is not assignable to type 'BlockParam'. | |
39 const rawCallResult = await self._web3Wrapper.callAsync(callDataWithDefaults, defaultBlock); | |
~~~~~~~~~~~~ | |
build/contracts/types/migrations.ts:67:91 - error TS2345: Argument of type 'import("/home/gene/ethopt/node_modules/ethereum-types/lib/index").BlockParam' is not assignable to parameter of type 'import("/home/gene/ethopt/node_modules/@0xproject/types/lib/index").BlockParam'. | |
Type 'BlockParamLiteral.Earliest' is not assignable to type 'BlockParam'. | |
67 const rawCallResult = await self._web3Wrapper.callAsync(callDataWithDefaults, defaultBlock); | |
~~~~~~~~~~~~ | |
build/contracts/types/migrations.ts:82:23 - error TS1013: A rest parameter or binding pattern may not have a trailing comma. | |
82 [completed, | |
~ | |
build/contracts/types/migrations.ts:109:23 - error TS1013: A rest parameter or binding pattern may not have a trailing comma. | |
109 [completed, | |
~ | |
build/contracts/types/migrations.ts:131:23 - error TS1013: A rest parameter or binding pattern may not have a trailing comma. | |
131 [completed, | |
~ | |
build/contracts/types/migrations.ts:147:25 - error TS1013: A rest parameter or binding pattern may not have a trailing comma. | |
147 [new_address, | |
~ | |
build/contracts/types/migrations.ts:174:25 - error TS1013: A rest parameter or binding pattern may not have a trailing comma. | |
174 [new_address, | |
~ | |
build/contracts/types/migrations.ts:196:25 - error TS1013: A rest parameter or binding pattern may not have a trailing comma. | |
196 [new_address, | |
~ | |
build/contracts/types/migrations.ts:238:45 - error TS2551: Property 'awaitTransactionSuccessAsync' does not exist on type 'Web3Wrapper'. Did you mean 'awaitTransactionMinedAsync'? | |
238 const txReceipt = await web3Wrapper.awaitTransactionSuccessAsync(txHash); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/@0xproject/base-contract/lib/src/index.d.ts:1:23 - error TS2688: Cannot find type definition file for 'ethers'. | |
1 /// <reference types="ethers" /> | |
~~~~~~ | |
node_modules/@0xproject/sol-compiler/lib/src/utils/types.d.ts:1:23 - error TS2688: Cannot find type definition file for 'solc'. | |
1 /// <reference types="solc" /> | |
~~~~ | |
node_modules/@0xproject/web3-wrapper/lib/src/web3_wrapper.d.ts:1:23 - error TS2688: Cannot find type definition file for 'web3'. | |
1 /// <reference types="web3" /> | |
~~~~ | |
error Command failed with exit code 2. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment