From fdb16f7cd4327980436ddb1ce190c67c86588d2d Mon Sep 17 00:00:00 2001 From: Olivier Combe Date: Thu, 24 Aug 2023 11:16:04 +0200 Subject: [PATCH] fix(@angular-devkit/build-angular): use correct type for `extraEntryPoints` (cherry picked from commit 7970c3f25e53a4c4b36d2067bab139f6c53434c5) --- .../build_angular/src/utils/package-chunk-sort.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular_devkit/build_angular/src/utils/package-chunk-sort.ts b/packages/angular_devkit/build_angular/src/utils/package-chunk-sort.ts index e8188a7cdff5..236751052214 100644 --- a/packages/angular_devkit/build_angular/src/utils/package-chunk-sort.ts +++ b/packages/angular_devkit/build_angular/src/utils/package-chunk-sort.ts @@ -18,7 +18,7 @@ export function generateEntryPoints(options: { }): EntryPointsType[] { // Add all styles/scripts, except lazy-loaded ones. const extraEntryPoints = ( - extraEntryPoints: (ScriptElement | ScriptElement)[], + extraEntryPoints: (ScriptElement | StyleElement)[], defaultBundleName: string, ) => { const entryPoints = normalizeExtraEntryPoints(extraEntryPoints, defaultBundleName)