diff --git a/clients/js/src/utils.ts b/clients/js/src/utils.ts index 3bf85c8a98cf..557135ed58a8 100644 --- a/clients/js/src/utils.ts +++ b/clients/js/src/utils.ts @@ -77,7 +77,7 @@ export async function handleSuccess(response: Response | string | Count200Respon * @returns {Promise} Returns a Promise that resolves to the imported module. */ export async function importOptionalModule(moduleName: string) { - return Function(`return import("${moduleName}}")`)(); + return Function(`return import("${moduleName}")`)(); } /**