ts-node fix
This commit is contained in:
parent
632bf9e477
commit
34308e867f
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue