Skip to content

Commit 5291209

Browse files
committed
fix: format
1 parent 6b38b93 commit 5291209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/adapters/definition-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default class DefinitionAdapter {
7474
if (locationResult == null) {
7575
return null
7676
}
77-
return (Array.isArray(locationResult) ? locationResult as any[] : [locationResult]).filter(
77+
return (Array.isArray(locationResult) ? (locationResult as any[]) : [locationResult]).filter(
7878
(d: Location | LocationLink) => ("range" in d ? d.range : d.targetRange).start != null
7979
)
8080
}

0 commit comments

Comments
 (0)