fix: a type, plus add the type-check to the mobile build scripts

This commit is contained in:
2025-11-08 08:31:42 -07:00
parent d265a9f78c
commit 5050156beb
3 changed files with 47 additions and 16 deletions

View File

@@ -1686,7 +1686,10 @@ export async function register(
"Registration thrown error:",
errorMessage || JSON.stringify(err),
);
return { error: errorMessage || "Got a server error when registering." };
return {
error:
(errorMessage as string) || "Got a server error when registering.",
};
}
return { error: "Got a server error when registering." };
}