diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-28 00:33:32 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-28 00:33:32 +0800 |
commit | 51211a21ba64d81c50eb4e13146b1246c8da46e0 (patch) | |
tree | 8d817008f262418b460de4619b9dadce8341f489 /packages/subproviders | |
parent | 133b6fe2409930252ee332b95a14e837ed9b84e4 (diff) | |
download | dexon-sol-tools-51211a21ba64d81c50eb4e13146b1246c8da46e0.tar dexon-sol-tools-51211a21ba64d81c50eb4e13146b1246c8da46e0.tar.gz dexon-sol-tools-51211a21ba64d81c50eb4e13146b1246c8da46e0.tar.bz2 dexon-sol-tools-51211a21ba64d81c50eb4e13146b1246c8da46e0.tar.lz dexon-sol-tools-51211a21ba64d81c50eb4e13146b1246c8da46e0.tar.xz dexon-sol-tools-51211a21ba64d81c50eb4e13146b1246c8da46e0.tar.zst dexon-sol-tools-51211a21ba64d81c50eb4e13146b1246c8da46e0.zip |
Improve `ganache-core`'s `GanacheOpts` type and require it instead of `any`
Diffstat (limited to 'packages/subproviders')
-rw-r--r-- | packages/subproviders/src/subproviders/ganache.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/subproviders/src/subproviders/ganache.ts b/packages/subproviders/src/subproviders/ganache.ts index 61b6bb5e9..79c43bc68 100644 --- a/packages/subproviders/src/subproviders/ganache.ts +++ b/packages/subproviders/src/subproviders/ganache.ts @@ -15,7 +15,7 @@ export class GanacheSubprovider extends Subprovider { * Instantiates a GanacheSubprovider * @param opts The desired opts with which to instantiate the Ganache provider */ - constructor(opts: any) { + constructor(opts: Ganache.GanacheOpts) { super(); this._ganacheProvider = Ganache.provider(opts); } |