123456789101112131415161718192021222324252627 |
- "use strict";
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.dev/license
- */
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.TargetVersion = void 0;
- exports.getAllVersionNames = getAllVersionNames;
- /** Possible versions that can be automatically migrated by `ng update`. */
- // tslint:disable-next-line:prefer-const-enum
- var TargetVersion;
- (function (TargetVersion) {
- TargetVersion["V19"] = "version 19";
- })(TargetVersion || (exports.TargetVersion = TargetVersion = {}));
- /**
- * Returns all versions that are supported by "ng update". The versions are determined
- * based on the "TargetVersion" enum.
- */
- function getAllVersionNames() {
- return Object.keys(TargetVersion).filter(enumValue => {
- return typeof TargetVersion[enumValue] === 'string';
- });
- }
- //# sourceMappingURL=target-version.js.map
|