From d6766ba6098de79ea0e0dbdc3432e1a8f490ab49 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Tue, 26 Nov 2024 17:56:38 +0000 Subject: [PATCH] refactor: remove unnecessary type conversion failing lint I suspect there were some versioning changes with the e.g. `hoist = false` setting in npmrc; so eslint now starts failing about this unnessary type cast. Seems reasonable so this is committed without deep investigation. --- .../build_angular/src/builders/dev-server/webpack-server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular_devkit/build_angular/src/builders/dev-server/webpack-server.ts b/packages/angular_devkit/build_angular/src/builders/dev-server/webpack-server.ts index 0f1b51b59d80..ee4b369a89cb 100644 --- a/packages/angular_devkit/build_angular/src/builders/dev-server/webpack-server.ts +++ b/packages/angular_devkit/build_angular/src/builders/dev-server/webpack-server.ts @@ -263,7 +263,7 @@ export function serveWebpackBrowser( ...buildEvent, baseUrl: serverAddress, stats: generateBuildEventStats(webpackRawStats, browserOptions), - } as DevServerBuilderOutput; + }; }), ); }),