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
{{ message }}
Repository navigation
Commit 8471ba6
Browse filesBrowse the repository at this point in the historyBrowse files
fix(@angular/ssr): support server-side rendering configuration options
Introduce the ServerRenderingOptions interface to support configuring options such as maxResponseBodySize for server-side rendering.
- Clean up overloads of provideServerRendering to use the ServerRenderingOptions interface instead of inline anonymous types.
- Add an array-level type guard hasOptions to check for options arguments at runtime, allowing TypeScript to narrow the arguments union type automatically without the need for manual type assertions (casts).
- Update the JSDocs for the provideServerRendering overloads to document parameter options and include clear examples.
(cherry picked from commit 21ca098)
0 commit comments