diff options
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 { |