mirror of
https://github.com/coder/code-server.git
synced 2026-05-05 20:15:19 +02:00
fix(lib/vscode): fix return type shutdown in ptyService
In the squash/merge update, we forgot to update the return type. Add Promise<void> instead of void for shutdown method.
This commit is contained in:
@@ -305,7 +305,7 @@ export class PersistentTerminalProcess extends Disposable {
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
shutdown(immediate: boolean): void {
|
||||
shutdown(immediate: boolean): Promise<void> {
|
||||
return this._terminalProcess.shutdown(immediate);
|
||||
}
|
||||
input(data: string): void {
|
||||
|
||||
Reference in New Issue
Block a user