We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ea55cb commit e85798fCopy full SHA for e85798f
lib_src/misc/blocks.ts
@@ -82,7 +82,7 @@ function walkForward(editor: TextEditor, start: number) {
82
return end
83
}
84
85
-function getRange(editor: TextEditor, row) {
+function getRange(editor: TextEditor, row: number): [[number, number], [number, number]] {
86
const start = walkBack(editor, row)
87
const end = walkForward(editor, start)
88
if (start <= row && row <= end) {
0 commit comments