diff options
author | Sergey Ukustov <sergey@ukstv.me> | 2017-07-10 07:35:27 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:33 +0800 |
commit | 4220f25e011a95b72e17795d3e5cca259352ef10 (patch) | |
tree | 8478afb637196708c8688b3e77fef7f8efb6f7e3 /packages | |
parent | 4ff5afecc8f7314ebd04bd4a41c393d05e790ed9 (diff) | |
download | dexon-sol-tools-4220f25e011a95b72e17795d3e5cca259352ef10.tar dexon-sol-tools-4220f25e011a95b72e17795d3e5cca259352ef10.tar.gz dexon-sol-tools-4220f25e011a95b72e17795d3e5cca259352ef10.tar.bz2 dexon-sol-tools-4220f25e011a95b72e17795d3e5cca259352ef10.tar.lz dexon-sol-tools-4220f25e011a95b72e17795d3e5cca259352ef10.tar.xz dexon-sol-tools-4220f25e011a95b72e17795d3e5cca259352ef10.tar.zst dexon-sol-tools-4220f25e011a95b72e17795d3e5cca259352ef10.zip |
Constructor definition does not include name or constant modifier
Diffstat (limited to 'packages')
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index 3deb96c24..95772364f 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -50,11 +50,11 @@ declare module 'web3' { interface FunctionDescription { type: "function" | "constructor" | "fallback"; - name: string; + name?: string; inputs: Array<FunctionParameter>; outputs?: Array<FunctionParameter>; - constant: boolean; - payable: boolean; + constant?: boolean; + payable?: boolean; } interface EventParameter { |