Skip to content

Commit b6f4920

Browse files
author
Christoph
committed
fix lints
1 parent c096031 commit b6f4920

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/FileIndexer.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ export class FileIndexer {
148148
}
149149

150150
private getDeclarationsForPropertyAssignment(
151-
node: ts.Node,
152-
sym: ts.Symbol
151+
node: ts.Node
153152
): ts.Declaration[] | undefined {
154153
if (!ts.isPropertyAssignment(node.parent)) {
155154
return
@@ -165,8 +164,8 @@ export class FileIndexer {
165164
const range = Range.fromNode(node).toLsif()
166165
let role = 0
167166
let declarations: ts.Node[] =
168-
this.getDeclarationsForPropertyAssignment(node, sym) ?? []
169-
let isDefinitionNode = declarations.length == 0 && isDefinition(node)
167+
this.getDeclarationsForPropertyAssignment(node) ?? []
168+
const isDefinitionNode = declarations.length === 0 && isDefinition(node)
170169
if (isDefinitionNode) {
171170
role |= scip.scip.SymbolRole.Definition
172171
}

0 commit comments

Comments
 (0)