modify types
This commit is contained in:
parent
0f59256ca7
commit
7dcdda14f5
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user