From 4230e56d2e327dfb4ae083e5db38f6177f3c0216 Mon Sep 17 00:00:00 2001 From: Mikolaj Boc Date: Wed, 7 Jun 2023 15:29:09 +0200 Subject: [PATCH] Correctly document qtLoad's return value Documentation got outdated during review of the new qt loader. Change-Id: I8e23016b9a42e5f003e88c58a8e546255b167983 Reviewed-by: Lorn Potter --- src/plugins/platforms/wasm/qtloader.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/plugins/platforms/wasm/qtloader.js b/src/plugins/platforms/wasm/qtloader.js index 8ec4cb0ca49..24f20b18d55 100644 --- a/src/plugins/platforms/wasm/qtloader.js +++ b/src/plugins/platforms/wasm/qtloader.js @@ -22,14 +22,9 @@ * - entryFunction: (emscriptenConfig: object) => Promise * Qt always uses emscripten's MODULARIZE option. This is the MODULARIZE entry function. * - * @return Promise<{ - * instance: EmscriptenModule, - * exitStatus?: { text: string, code?: number, crashed: bool } - * }> + * @return Promise * The promise is resolved when the module has been instantiated and its main function has been - * called. The returned exitStatus is defined if the application crashed or exited immediately - * after its entry function has been called. Otherwise, config.onExit will get called at a - * later time when (and if) the application exits. + * called. * * @see https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/emscripten for * EmscriptenModule