1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

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.events.forEach((fn) => fn(this.lastBlock + 1))
this.lastBlock = blockNumber 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", "es2017",
"es6", "es6",
"es7", "es7",
"DOM" "dom"
], ],
"declaration": true, "declaration": true,
"module": "commonjs", "module": "commonjs",
@ -27,7 +27,6 @@
], ],
"exclude": [ "exclude": [
"node_modules", "node_modules",
"**/*.test.ts", "**/*.test.ts"
"src/examples"
] ]
} }