Update types
This commit is contained in:
parent
5bc9eb884a
commit
411dd55259
|
@ -130,7 +130,7 @@ export class IsolatedVM implements VM {
|
|||
return this
|
||||
}
|
||||
|
||||
execute(code: string): string {
|
||||
execute(code: string): any {
|
||||
if (this.isolateAccumulatedTimeout) {
|
||||
const cpuMs = Number(this.isolate.cpuTime) / 1e6
|
||||
if (cpuMs > this.isolateAccumulatedTimeout) {
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
export interface VM {
|
||||
execute(code: string): string
|
||||
execute(code: string): any
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue