remove return from setters

This commit is contained in:
David Reed 2022-11-20 21:43:22 -05:00
parent f8c67ff3e9
commit bea03730b8
No known key found for this signature in database
GPG key ID: 2211691D8A1EE72F

View file

@ -994,8 +994,6 @@ function __uvHook(window, config = {}, bare = '/bare/') {
listeners.set(this, value);
this.addEventListener(event, value);
}
return value;
},
});
}
@ -1117,8 +1115,6 @@ function __uvHook(window, config = {}, bare = '/bare/') {
if (this.#socket) {
this.#socket.binaryType = value;
}
return value;
}
send(data) {
if (!this.#socket) {