Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Jan 16, 2026

See individual commits.

…ted declarations

This commit adds explicit return types to schematic factory functions in the test suite to satisfy the `isolatedDeclarations` requirement.
This commit adds explicit return types and parameter types to the `@angular/ssr` package to satisfy the `isolatedDeclarations` compiler option.
@clydin clydin added the target: minor This PR is targeted for the next minor release label Jan 16, 2026
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jan 16, 2026
* An set of HTTP status codes that are considered valid for redirect responses.
*/
export const VALID_REDIRECT_RESPONSE_CODES = new Set([301, 302, 303, 307, 308]);
export const VALID_REDIRECT_RESPONSE_CODES: Set<number> = new Set([301, 302, 303, 307, 308]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious: does new Set on the RHS work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: @angular/ssr area: @angular-devkit/schematics target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants