ts-node fix

This commit is contained in:
Matthias Kretschmann 2019-06-06 12:27:58 +02:00 committed by Pedro Gutiérrez
parent 632bf9e477
commit 34308e867f
2 changed files with 3 additions and 4 deletions

View File

@ -57,6 +57,6 @@ export class EventHandler extends Instantiable {
this.events.forEach((fn) => fn(this.lastBlock + 1))
this.lastBlock = blockNumber
}
this.lastTimeout = setTimeout(() => this.checkBlock(true, n++), this.interval)
this.lastTimeout = global.setTimeout(() => this.checkBlock(true, n++), this.interval)
}
}

View File

@ -6,7 +6,7 @@
"es2017",
"es6",
"es7",
"DOM"
"dom"
],
"declaration": true,
"module": "commonjs",
@ -27,7 +27,6 @@
],
"exclude": [
"node_modules",
"**/*.test.ts",
"src/examples"
"**/*.test.ts"
]
}