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 2822096 commit 4b44978Copy full SHA for 4b44978
lib_src/misc/blocks.ts
@@ -19,7 +19,7 @@ export function getLine(editor: TextEditor, l: number): LineInfo {
19
}
20
21
22
-function isBlank({ line, scope }, allowDocstrings = false) {
+function isBlank({ line, scope }: LineInfo, allowDocstrings = false) {
23
for (const s of scope) {
24
if (/\bcomment\b/.test(s) || (!allowDocstrings && /\bdocstring\b/.test(s))) {
25
return true
0 commit comments