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()) {