UNPKG

@sebastianwessel/quickjs

Version:

A typescript package to execute JavaScript and TypeScript code in a WebAssembly QuickJS sandbox

8 lines (7 loc) 280 B
import { type QuickJSAsyncContext, type QuickJSContext } from 'quickjs-emscripten-core'; export declare const provideTimingFunctions: (ctx: QuickJSContext | QuickJSAsyncContext, max: { maxTimeoutCount: number; maxIntervalCount: number; }) => { dispose: () => void; };