Try import instead of const

This commit is contained in:
Fabio Berger
2019-03-21 14:46:47 +01:00
parent e866add4b0
commit ddee04e98c

View File

@@ -1,5 +1,5 @@
declare module 'ganache-core' {
const Provider = require('ethereum-types').Provider;
import Provider = require('ethereum-types').Provider;
export interface GanacheOpts {
verbose?: boolean;
logger?: {