mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-29 13:44:47 +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
|
terminalColorScheme?: TerminalColorScheme
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Use ConnectableTerminalTab instead
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
export interface Reconnectable {
|
export interface Reconnectable {
|
||||||
reconnect: () => Promise<void>;
|
reconnect: () => Promise<void>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Use ConnectableTerminalTab instead
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||||
export function isReconnectable (object: any): object is Reconnectable {
|
export function isReconnectable (object: any): object is Reconnectable {
|
||||||
return 'reconnect' in object
|
return 'reconnect' in object
|
||||||
|
Reference in New Issue
Block a user