MCPcopy Create free account
hub / github.com/angular/components / getAllVersionNames

Function getAllVersionNames

src/cdk/schematics/update-tool/target-version.ts:20–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18 * based on the "TargetVersion" enum.
19 */
20export function getAllVersionNames(): string[] {
21 return Object.keys(TargetVersion).filter(enumValue => {
22 return typeof (TargetVersion as Record<string, string | undefined>)[enumValue] === 'string';
23 });
24}

Callers 1

index.spec.tsFile · 0.90

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected