()
| 29 | const importFFI: QuickJSSyncVariant["importFFI"] = () => |
| 30 | import("@jitl/quickjs-wasmfile-release-sync/ffi").then((m) => m.QuickJSFFI); |
| 31 | const importModuleLoader: QuickJSSyncVariant["importModuleLoader"] = async () => { |
| 32 | const { default: original } = |
| 33 | await import("@jitl/quickjs-wasmfile-release-sync/emscripten-module"); |
| 34 | return (moduleArg = {}) => original({ ...moduleArg, wasmBinary }); |
| 35 | }; |
| 36 | const variant: QuickJSSyncVariant = { |
| 37 | type: "sync" as const, |
| 38 | importFFI, |
nothing calls this directly
no outgoing calls
no test coverage detected