mirror of
https://github.com/hanzoai/quickjs-emscripten.git
synced 2026-10-30 19:37:29 +00:00
11 lines
489 B
TypeScript
11 lines
489 B
TypeScript
import type { EmscriptenModuleLoader, QuickJSEmscriptenModule } from "@jitl/quickjs-ffi-types"
|
|
/**
|
|
* Emscripten module built from the unmodified [`quickjs/quickjs.h`](../quickjs/quickjs.h)
|
|
* and our FFI support functions [c/interface.c](../c/interface.c).
|
|
*
|
|
* Note that emscripten modules returned by a `MODULARIZE=1` emscripten build
|
|
* (like this one) load asynchronously.
|
|
*/
|
|
declare const ModuleLoader: EmscriptenModuleLoader<QuickJSEmscriptenModule>
|
|
export default ModuleLoader
|