Attempt to fix type issue
This commit is contained in:
parent
c994afbf3c
commit
8af164dbd2
@ -1,5 +1,5 @@
|
|||||||
declare module 'ganache-core' {
|
declare module 'ganache-core' {
|
||||||
const GanacheProvider = require('ethereum-types').GanacheProvider;
|
const Provider = require('ethereum-types').Provider;
|
||||||
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): GanacheProvider;
|
export function provider(opts: GanacheOpts): Provider;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user