MCPcopy Create free account
hub / github.com/angular/angular / applyRefactoring

Function applyRefactoring

packages/language-service/src/ts_plugin.ts:264–271  ·  view source on GitHub ↗
(
    fileName: string,
    positionOrRange: number | ts.TextRange,
    refactorName: string,
    reportProgress: ApplyRefactoringProgressFn,
  )

Source from the content-addressed store, hash-verified

262 }
263
264 function applyRefactoring(
265 fileName: string,
266 positionOrRange: number | ts.TextRange,
267 refactorName: string,
268 reportProgress: ApplyRefactoringProgressFn,
269 ): Promise<ApplyRefactoringResult | undefined> {
270 return ngLS.applyRefactoring(fileName, positionOrRange, refactorName, reportProgress);
271 }
272
273 function getCodeFixesAtPosition(
274 fileName: string,

Callers

nothing calls this directly

Calls 1

applyRefactoringMethod · 0.65

Tested by

no test coverage detected