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

Function applyRefactoring

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

Source from the content-addressed store, hash-verified

279 }
280
281 function applyRefactoring(
282 fileName: string,
283 positionOrRange: number | ts.TextRange,
284 refactorName: string,
285 reportProgress: ApplyRefactoringProgressFn,
286 ): Promise<ApplyRefactoringResult | undefined> {
287 return ngLS.applyRefactoring(fileName, positionOrRange, refactorName, reportProgress);
288 }
289
290 function getCodeFixesAtPosition(
291 fileName: string,

Callers

nothing calls this directly

Calls 1

applyRefactoringMethod · 0.65

Tested by

no test coverage detected