modify types

This commit is contained in:
Fabio Berger 2019-03-21 15:13:39 +01:00
parent 0f59256ca7
commit 7dcdda14f5

View File

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