Skip to content

Commit d677f76

Browse files
committed
add type
1 parent 5d2e25a commit d677f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
11111111

11121112
/* Condenses a task's message history to use fewer tokens. */
11131113
async condenseTaskContext(taskId: string) {
1114-
let task = undefined
1114+
let task: Task | undefined
11151115
for (let i = this.clineStack.length - 1; i >= 0; i--) {
11161116
if (this.clineStack[i].taskId === taskId) {
11171117
task = this.clineStack[i]

0 commit comments

Comments
 (0)