aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-08-09 05:52:05 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-08-09 05:52:05 +0800
commit44b01f2069c10e84fc7fd55dc24767dfe877321c (patch)
tree584f9a0828bd55f9ad0ffff40e3eb9fa3e158e42 /packages
parent09af23f950b6143cc3aec3c5843963e70d2a5b5c (diff)
downloaddexon-sol-tools-44b01f2069c10e84fc7fd55dc24767dfe877321c.tar
dexon-sol-tools-44b01f2069c10e84fc7fd55dc24767dfe877321c.tar.gz
dexon-sol-tools-44b01f2069c10e84fc7fd55dc24767dfe877321c.tar.bz2
dexon-sol-tools-44b01f2069c10e84fc7fd55dc24767dfe877321c.tar.lz
dexon-sol-tools-44b01f2069c10e84fc7fd55dc24767dfe877321c.tar.xz
dexon-sol-tools-44b01f2069c10e84fc7fd55dc24767dfe877321c.tar.zst
dexon-sol-tools-44b01f2069c10e84fc7fd55dc24767dfe877321c.zip
Update ethers typings for TypeScript 2.9.2
Diffstat (limited to 'packages')
-rw-r--r--packages/typescript-typings/types/ethers/index.d.ts4
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;
}
}