Skip to content

Commit e2d9e43

Browse files
committed
setting the type of the indentation line number and the level
1 parent e4126d8 commit e2d9e43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,8 +802,8 @@ export class InteractiveEditorZoneWidget extends ZoneWidget {
802802
const visibleRange = viewModel.getCompletelyVisibleViewRange();
803803
const startLineVisibleRange = visibleRange.startLineNumber;
804804
const positionLine = position.lineNumber;
805-
let indentationLineNumber;
806-
let indentationLevel;
805+
let indentationLineNumber: number | undefined;
806+
let indentationLevel: number | undefined;
807807
for (let lineNumber = positionLine; lineNumber >= startLineVisibleRange; lineNumber--) {
808808
const currentIndentationLevel = viewModel.getLineFirstNonWhitespaceColumn(lineNumber);
809809
if (currentIndentationLevel !== 0) {

0 commit comments

Comments
 (0)