From 383daaf0708546ca244e5eb418c10f22430e3768 Mon Sep 17 00:00:00 2001 From: Doug Parker Date: Fri, 25 Sep 2026 20:14:26 -0700 Subject: [PATCH] refactor(@angular/cli): name entry point function Internal tooling does not like anonymous externs, failing the g3 syncing process: http://sponge2/30b47d1d-0607-425c-bd78-8d5a63af3f2f --- packages/angular/cli/index.d.ts | 2 +- packages/angular/cli/lib/cli/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/angular/cli/index.d.ts b/packages/angular/cli/index.d.ts index 2a73c4bbc059..3e9cf84418cf 100644 --- a/packages/angular/cli/index.d.ts +++ b/packages/angular/cli/index.d.ts @@ -16,4 +16,4 @@ export declare class Version { export declare const VERSION: Version; -export default function (options: { cliArgs: string[] }): Promise; +export default function execute(options: { cliArgs: string[] }): Promise; diff --git a/packages/angular/cli/lib/cli/index.ts b/packages/angular/cli/lib/cli/index.ts index 32f1eac5bab1..3c72f5668a1c 100644 --- a/packages/angular/cli/lib/cli/index.ts +++ b/packages/angular/cli/lib/cli/index.ts @@ -18,7 +18,7 @@ import { isNodeVersionMinSupported, supportedNodeVersions } from '../../src/util export { VERSION } from '../../src/utilities/version'; /* eslint-disable no-console */ -export default async function (options: { cliArgs: string[] }) { +export default async function execute(options: { cliArgs: string[] }) { // This node version check ensures that the requirements of the project instance of the CLI are met if (!isNodeVersionMinSupported()) {