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:
parent
632bf9e477
commit
34308e867f
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user