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:
Joe Previte
2021-03-11 13:26:10 -07:00
parent cc8e4ee97c
commit eaf63deb56
2 changed files with 32 additions and 8 deletions

View File

@@ -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 {