target-version.d.ts 570 B

123456789101112131415161718
  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.io/license
  7. */
  8. /** Possible versions that can be automatically migrated by `ng update`. */
  9. export declare enum TargetVersion {
  10. V6 = "version 6",
  11. V7 = "version 7",
  12. V8 = "version 8"
  13. }
  14. /**
  15. * Returns all versions that are supported by "ng update". The versions are determined
  16. * based on the "TargetVersion" enum.
  17. */
  18. export declare function getAllVersionNames(): string[];