From 51211a21ba64d81c50eb4e13146b1246c8da46e0 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 27 Jun 2018 18:33:32 +0200 Subject: Improve `ganache-core`'s `GanacheOpts` type and require it instead of `any` --- packages/subproviders/src/subproviders/ganache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/subproviders') 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); } -- cgit v1.2.3