Skip to content
This repository was archived by the owner on Sep 28, 2025. It is now read-only.

Commit 84183d7

Browse files
committed
refactor: updating to the changes of the package
1 parent 3947574 commit 84183d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

server/src/lib/lsp/database/references.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,15 @@ export class ReferenceBuilder {
108108
const doc = this.documents.get(holder.location.uri);
109109
if (doc === undefined) return;
110110

111-
const r = DocumentLocation.ToRange(item, doc, item.length);
111+
const r = DocumentLocation.toRange(item, doc, item.length);
112112
this.locations.push(Location.create(doc.uri, r));
113113
}
114114

115115
addItem(holder: Base, item: DocumentLocation, length: number): void {
116116
const doc = this.documents.get(holder.location.uri);
117117
if (doc === undefined) return;
118118

119-
const r = DocumentLocation.ToRange(item, doc, length);
119+
const r = DocumentLocation.toRange(item, doc, length);
120120
this.locations.push(Location.create(doc.uri, r));
121121
}
122122
}

server/src/lib/util/references.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export namespace References {
2020
const document = documents.get(item.location.uri);
2121
if (!document) return;
2222

23-
const range = DocumentLocation.ToRange(item.location.position, document, item.id.length);
23+
const range = DocumentLocation.toRange(item.location.position, document, item.id.length);
2424
return Location.create(document.uri, range);
2525
}
2626

0 commit comments

Comments
 (0)