Skip to content

Commit 4b44978

Browse files
committed
isBlank types
1 parent 2822096 commit 4b44978

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
@@ -19,7 +19,7 @@ export function getLine(editor: TextEditor, l: number): LineInfo {
1919
}
2020
}
2121

22-
function isBlank({ line, scope }, allowDocstrings = false) {
22+
function isBlank({ line, scope }: LineInfo, allowDocstrings = false) {
2323
for (const s of scope) {
2424
if (/\bcomment\b/.test(s) || (!allowDocstrings && /\bdocstring\b/.test(s))) {
2525
return true

0 commit comments

Comments
 (0)