refactor(language-service): fix typo in method name (#43698)

The `fineRenameLocations` method should be called `findRenameLocations`.

PR Close #43698
This commit is contained in:
Kristiyan Kostadinov
2021-10-04 11:22:55 +02:00
committed by Dylan Hunn
parent fa6aa1be55
commit 7a971ca379
2 changed files with 2 additions and 2 deletions
@@ -1628,7 +1628,7 @@ describe('find references and rename locations', () => {
function getRenameLocationsAtPosition(file: OpenBuffer) {
env.expectNoSourceDiagnostics();
const result = file.fineRenameLocations();
const result = file.findRenameLocations();
return result?.map((item) => humanizeDocumentSpanLike(item, env));
}
});
@@ -96,7 +96,7 @@ export class OpenBuffer {
return this.ngLS.getReferencesAtPosition(this.scriptInfo.fileName, this._cursor);
}
fineRenameLocations() {
findRenameLocations() {
return this.ngLS.findRenameLocations(this.scriptInfo.fileName, this._cursor);
}