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 49a474f commit 2822096Copy full SHA for 2822096
lib_src/misc/blocks.ts
@@ -9,7 +9,7 @@ interface LineInfo {
9
line: string
10
}
11
12
-export function getLine(editor: TextEditor, l) {
+export function getLine(editor: TextEditor, l: number): LineInfo {
13
return {
14
scope: editor.scopeDescriptorForBufferPosition([l, 0]).getScopesArray(),
15
line: editor.getTextInBufferRange([
0 commit comments