Revert change
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
declare module 'ganache-core' {
|
declare module 'ganache-core' {
|
||||||
export interface GanacheProvider {
|
const Provider = require('ethereum-types').Provider;
|
||||||
sendAsync(payload: JSONRPCRequestPayload, callback: JSONRPCErrorCallback): void;
|
|
||||||
}
|
|
||||||
export interface GanacheOpts {
|
export interface GanacheOpts {
|
||||||
verbose?: boolean;
|
verbose?: boolean;
|
||||||
logger?: {
|
logger?: {
|
||||||
@@ -15,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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user