Skip to content

Commit f0fc3e2

Browse files
committed
add explicit type in _countUsagesBefore
1 parent 13ab01f commit f0fc3e2

File tree

1 file changed

+1
-1
lines changed
  • packages/jupyterlab-go-to-definition/src/editors/codemirror

1 file changed

+1
-1
lines changed

packages/jupyterlab-go-to-definition/src/editors/codemirror/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export class CodeMirrorExtension extends CodeMirrorTokensProvider
190190
usagesBeforeTarget += 1;
191191
}
192192

193-
let nextSibling = sibling.previousSibling;
193+
let nextSibling = sibling.previousSibling as Node;
194194

195195
while (nextSibling == null) {
196196
while (!sibling.previousSibling) {

0 commit comments

Comments
 (0)