Attempt to fix type issue

This commit is contained in:
Fabio Berger 2019-03-20 15:05:21 +01:00
parent c994afbf3c
commit 8af164dbd2

View File

@ -1,5 +1,5 @@
declare module 'ganache-core' {
const GanacheProvider = require('ethereum-types').GanacheProvider;
const Provider = require('ethereum-types').Provider;
export interface GanacheOpts {
verbose?: boolean;
logger?: {
@ -13,5 +13,5 @@ declare module 'ganache-core' {
vmErrorsOnRPCResponse?: boolean;
db_path?: string;
}
export function provider(opts: GanacheOpts): GanacheProvider;
export function provider(opts: GanacheOpts): Provider;
}