diff --git a/tabby-serial/src/components/serialTab.component.ts b/tabby-serial/src/components/serialTab.component.ts index d1042fe1..acac9b4a 100644 --- a/tabby-serial/src/components/serialTab.component.ts +++ b/tabby-serial/src/components/serialTab.component.ts @@ -86,7 +86,7 @@ export class SerialTabComponent extends ConnectableTerminalTabComponent return session } - protected onSessionDestroyed() { + protected onSessionDestroyed (): void { if (this.frontend) { // Session was closed abruptly this.write('\r\n' + colors.black.bgWhite(' SSH ') + ` ${this.sshSession?.profile.options.host}: session closed\r\n`) diff --git a/tabby-telnet/src/components/telnetTab.component.ts b/tabby-telnet/src/components/telnetTab.component.ts index 767cea97..e1af86ff 100644 --- a/tabby-telnet/src/components/telnetTab.component.ts +++ b/tabby-telnet/src/components/telnetTab.component.ts @@ -42,7 +42,7 @@ export class TelnetTabComponent extends ConnectableTerminalTabComponent extends Bas }) this.attachSessionHandler(this.session.destroyed$, () => { - this.onSessionDestroyed() + this.onSessionDestroyed() }) this.attachSessionHandler(this.session.oscProcessor.copyRequested$, content => { @@ -796,7 +796,7 @@ export class BaseTerminalTabComponent

extends Bas /** * Method called when session is destroyed. Set the session to null */ - protected onSessionDestroyed() { + protected onSessionDestroyed (): void { this.setSession(null) } diff --git a/tabby-terminal/src/api/connectableTerminalTab.component.ts b/tabby-terminal/src/api/connectableTerminalTab.component.ts index 7309929e..eef9ccd4 100644 --- a/tabby-terminal/src/api/connectableTerminalTab.component.ts +++ b/tabby-terminal/src/api/connectableTerminalTab.component.ts @@ -26,7 +26,7 @@ export abstract class ConnectableTerminalTabComponent

{ @@ -36,7 +36,7 @@ export abstract class ConnectableTerminalTabComponent