Skip to content

Commit 2822096

Browse files
committed
getLine types
1 parent 49a474f commit 2822096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib_src/misc/blocks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface LineInfo {
99
line: string
1010
}
1111

12-
export function getLine(editor: TextEditor, l) {
12+
export function getLine(editor: TextEditor, l: number): LineInfo {
1313
return {
1414
scope: editor.scopeDescriptorForBufferPosition([l, 0]).getScopesArray(),
1515
line: editor.getTextInBufferRange([

0 commit comments

Comments
 (0)