diff --git a/example/web/tdweb/src/worker.js b/example/web/tdweb/src/worker.js index 50024c458..2672eaeb3 100644 --- a/example/web/tdweb/src/worker.js +++ b/example/web/tdweb/src/worker.js @@ -102,7 +102,7 @@ async function loadTdlibAsmjs(onFS) { console.log('got td_asm.js'); const fromFile = 'td_asmjs.js.mem'; const toFile = td_asmjs_mem_release; - const module = Module.default({ + const module = Module({ onRuntimeInitialized: () => { console.log('runtime intialized'); },