mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
ref(tabby-terminal): make Reconnectable interface deprecated
This commit is contained in:
@@ -20,10 +20,19 @@ export interface BaseTerminalProfile extends Profile {
|
||||
terminalColorScheme?: TerminalColorScheme
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Use ConnectableTerminalTab instead
|
||||
* @deprecated
|
||||
*/
|
||||
export interface Reconnectable {
|
||||
reconnect: () => Promise<void>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Use ConnectableTerminalTab instead
|
||||
* @deprecated
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
export function isReconnectable (object: any): object is Reconnectable {
|
||||
return 'reconnect' in object
|
||||
|
Reference in New Issue
Block a user