diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-08-09 05:52:05 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-08-09 05:52:05 +0800 |
commit | 44b01f2069c10e84fc7fd55dc24767dfe877321c (patch) | |
tree | 584f9a0828bd55f9ad0ffff40e3eb9fa3e158e42 /packages | |
parent | 09af23f950b6143cc3aec3c5843963e70d2a5b5c (diff) | |
download | dexon-0x-contracts-44b01f2069c10e84fc7fd55dc24767dfe877321c.tar.gz dexon-0x-contracts-44b01f2069c10e84fc7fd55dc24767dfe877321c.tar.zst dexon-0x-contracts-44b01f2069c10e84fc7fd55dc24767dfe877321c.zip |
Update ethers typings for TypeScript 2.9.2
Diffstat (limited to 'packages')
-rw-r--r-- | packages/typescript-typings/types/ethers/index.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/typescript-typings/types/ethers/index.d.ts b/packages/typescript-typings/types/ethers/index.d.ts index 58bc1e8a9..875563ba2 100644 --- a/packages/typescript-typings/types/ethers/index.d.ts +++ b/packages/typescript-typings/types/ethers/index.d.ts @@ -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; } } |