update-recorder.d.ts 502 B

12345678910111213
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.dev/license
  7. */
  8. /** Update recorder that can be used to apply changes to a source file. */
  9. export interface UpdateRecorder {
  10. insertLeft(index: number, content: string): UpdateRecorder;
  11. insertRight(index: number, content: string): UpdateRecorder;
  12. remove(index: number, length: number): UpdateRecorder;
  13. }