mirror of
https://github.com/thelounge/thelounge
synced 2024-11-24 21:13:06 +00:00
cap: type the boolean
This commit is contained in:
parent
5c8951ffc3
commit
edb96f683b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue