You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(@angular/ssr): handle promise-like results from loadChildrenHelper
The `loadChildrenHelper` function can return either an Observable or a Promise.
This change ensures that we correctly handle both cases by checking if the
return value is "thenable" before calling `.toPromise()`.
This provides compatibility with different versions of Angular framework that have different return types for `loadChildren`.
This is a temporary workaround and should be removed when Angular framework v21.0.0-next.7 is released.
0 commit comments