File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -148,8 +148,7 @@ export class FileIndexer {
148
148
}
149
149
150
150
private getDeclarationsForPropertyAssignment (
151
- node : ts . Node ,
152
- sym : ts . Symbol
151
+ node : ts . Node
153
152
) : ts . Declaration [ ] | undefined {
154
153
if ( ! ts . isPropertyAssignment ( node . parent ) ) {
155
154
return
@@ -165,8 +164,8 @@ export class FileIndexer {
165
164
const range = Range . fromNode ( node ) . toLsif ( )
166
165
let role = 0
167
166
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 )
170
169
if ( isDefinitionNode ) {
171
170
role |= scip . scip . SymbolRole . Definition
172
171
}
You can’t perform that action at this time.
0 commit comments