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