Skip to content

Commit

Permalink
chore: add typings
Browse files Browse the repository at this point in the history
  • Loading branch information
bk1012 committed Nov 7, 2024
1 parent 926108b commit 2d3192b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/extension/src/common/vscode/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export interface TaskPresentationOptionsDTO {
panel?: number;
showReuseMessage?: boolean;
clear?: boolean;
close?: boolean;
group?: string;
}

Expand Down
5 changes: 5 additions & 0 deletions packages/types/vscode/typings/vscode.tasks.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ declare module 'vscode' {
* Controls whether the terminal is cleared before executing the task.
*/
clear?: boolean;

/**
* Controls whether the terminal is closed after executing the task.
*/
close?: boolean;
}

/**
Expand Down

0 comments on commit 2d3192b

Please sign in to comment.