ok thank you javascript for not being a half baked language at all

This commit is contained in:
modeco80 2024-03-11 23:47:49 -04:00
parent 4dd5c42d55
commit 3b4891c0a7

View File

@ -330,7 +330,7 @@ export default class CollabVMClient {
send(...args : StringLike[]) {
let guacElements = [...args].map((el) => {
// This catches cases where the thing already is a string
if(el instanceof String)
if(typeof el == "string")
return (el as string);
return el.toString();
});