You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 lines
976 B

"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["V21"] = "version 21";
})(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