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 6b38b93 commit 5291209Copy full SHA for 5291209
lib/adapters/definition-adapter.ts
@@ -74,7 +74,7 @@ export default class DefinitionAdapter {
74
if (locationResult == null) {
75
return null
76
}
77
- return (Array.isArray(locationResult) ? locationResult as any[] : [locationResult]).filter(
+ return (Array.isArray(locationResult) ? (locationResult as any[]) : [locationResult]).filter(
78
(d: Location | LocationLink) => ("range" in d ? d.range : d.targetRange).start != null
79
)
80
0 commit comments