Constructor definition does not include name or constant modifier
This commit is contained in:
committed by
Leonid Logvinov
parent
4ff5afecc8
commit
4220f25e01
6
packages/web3-typescript-typings/index.d.ts
vendored
6
packages/web3-typescript-typings/index.d.ts
vendored
@@ -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 {
|
||||
|
Reference in New Issue
Block a user