瀏覽代碼

ref(connectable tab) unused import

Clem Fern 2 年之前
父節點
當前提交
89b3f3892e

+ 1 - 1
tabby-serial/src/components/serialTab.component.ts

@@ -2,7 +2,7 @@
 import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'
 import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'
 import colors from 'ansi-colors'
 import colors from 'ansi-colors'
 import { Component, Injector } from '@angular/core'
 import { Component, Injector } from '@angular/core'
-import { GetRecoveryTokenOptions, Platform, SelectorService } from 'tabby-core'
+import { Platform, SelectorService } from 'tabby-core'
 import { BaseTerminalTabComponent, ConnectableTerminalTabComponent } from 'tabby-terminal'
 import { BaseTerminalTabComponent, ConnectableTerminalTabComponent } from 'tabby-terminal'
 import { SerialSession, BAUD_RATES, SerialProfile } from '../api'
 import { SerialSession, BAUD_RATES, SerialProfile } from '../api'
 
 

+ 1 - 1
tabby-ssh/src/components/sshTab.component.ts

@@ -2,7 +2,7 @@ import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'
 import colors from 'ansi-colors'
 import colors from 'ansi-colors'
 import { Component, Injector, HostListener } from '@angular/core'
 import { Component, Injector, HostListener } from '@angular/core'
 import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
 import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
-import { GetRecoveryTokenOptions, Platform, ProfilesService, RecoveryToken } from 'tabby-core'
+import { Platform, ProfilesService } from 'tabby-core'
 import { BaseTerminalTabComponent, ConnectableTerminalTabComponent } from 'tabby-terminal'
 import { BaseTerminalTabComponent, ConnectableTerminalTabComponent } from 'tabby-terminal'
 import { SSHService } from '../services/ssh.service'
 import { SSHService } from '../services/ssh.service'
 import { KeyboardInteractivePrompt, SSHSession } from '../session/ssh'
 import { KeyboardInteractivePrompt, SSHSession } from '../session/ssh'

+ 1 - 1
tabby-telnet/src/components/telnetTab.component.ts

@@ -1,7 +1,7 @@
 import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'
 import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'
 import colors from 'ansi-colors'
 import colors from 'ansi-colors'
 import { Component, Injector } from '@angular/core'
 import { Component, Injector } from '@angular/core'
-import { GetRecoveryTokenOptions, Platform, RecoveryToken } from 'tabby-core'
+import { Platform } from 'tabby-core'
 import { BaseTerminalTabComponent, ConnectableTerminalTabComponent } from 'tabby-terminal'
 import { BaseTerminalTabComponent, ConnectableTerminalTabComponent } from 'tabby-terminal'
 import { TelnetProfile, TelnetSession } from '../session'
 import { TelnetProfile, TelnetSession } from '../session'
 
 

+ 2 - 2
tabby-terminal/src/api/connectableTerminalTab.component.ts

@@ -6,7 +6,7 @@ import { first } from 'rxjs'
 
 
 import { BaseTerminalProfile } from './interfaces'
 import { BaseTerminalProfile } from './interfaces'
 import { BaseTerminalTabComponent } from './baseTerminalTab.component'
 import { BaseTerminalTabComponent } from './baseTerminalTab.component'
-import { GetRecoveryTokenOptions } from 'tabby-core'
+import { GetRecoveryTokenOptions, RecoveryToken } from 'tabby-core'
 
 
 
 
 /**
 /**
@@ -77,7 +77,7 @@ export abstract class ConnectableTerminalTabComponent<P extends BaseTerminalProf
         }
         }
     }
     }
 
 
-    async getRecoveryToken (options?: GetRecoveryTokenOptions): Promise<any> {
+    async getRecoveryToken (options?: GetRecoveryTokenOptions): Promise<RecoveryToken> {
         return {
         return {
             type: `app:${this.profile.type}-tab`,
             type: `app:${this.profile.type}-tab`,
             profile: this.profile,
             profile: this.profile,