get rid of task as any (#1953)

* try to get rid of as any

* figure out way
This commit is contained in:
Megan Rogge
2025-11-12 17:08:58 +00:00
committed by GitHub
parent a3a3829ee3
commit e1ce5e412b
@@ -32,7 +32,7 @@ export class TasksService extends DisposableStore implements ITasksService {
) {
super();
this.add(vscode.tasks.onDidStartTask(e => {
const terminal: vscode.Terminal | undefined = (e.execution as any).terminal;
const terminal: vscode.Terminal | undefined = (e.execution as unknown as { terminal?: vscode.Terminal }).terminal;
if (!terminal) {
return;
}