mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(language-service): fix typo in method name (#43698)
The `fineRenameLocations` method should be called `findRenameLocations`. PR Close #43698
This commit is contained in:
committed by
Dylan Hunn
parent
fa6aa1be55
commit
7a971ca379
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user