Update ethers typings for TypeScript 2.9.2
This commit is contained in:
parent
09af23f950
commit
44b01f2069
@ -49,7 +49,7 @@ declare module 'ethers' {
|
||||
};
|
||||
|
||||
export interface AbiCoder {
|
||||
encode: (names?: ParamName[], types: string[], args: any[]) => string;
|
||||
decode: (names?: ParamName[], types: string[], data: string) => any;
|
||||
encode: (names: ParamName[] | string[], types: string[] | any[], args: any[] | undefined) => string;
|
||||
decode: (names: ParamName[] | string[], types: string[] | string, data: string | undefined) => any;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user