From 4220f25e011a95b72e17795d3e5cca259352ef10 Mon Sep 17 00:00:00 2001 From: Sergey Ukustov Date: Mon, 10 Jul 2017 02:35:27 +0300 Subject: Constructor definition does not include name or constant modifier --- packages/web3-typescript-typings/index.d.ts | 6 +++--- 1 file 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; outputs?: Array; - constant: boolean; - payable: boolean; + constant?: boolean; + payable?: boolean; } interface EventParameter { -- cgit