cap: type the boolean

This commit is contained in:
Reto Brunner 2024-04-15 07:52:48 +02:00
parent 5c8951ffc3
commit edb96f683b

View file

@ -14,7 +14,7 @@ export default <IrcEventHandler>function (irc, network) {
handleSTS(data, false);
});
function handleSTS(data, shouldReconnect) {
function handleSTS(data, shouldReconnect: boolean) {
if (!Object.prototype.hasOwnProperty.call(data.capabilities, "sts")) {
return;
}