Skip to content

Conversation

JoostK
Copy link
Member

@JoostK JoostK commented Sep 12, 2024

The Readonly mapped type only introduces the readonly modifier for each property, but Map has mutating methods like clear, delete and set that would still remain usable. This commit switches those usages over to the ReadonlyMap type which doesn't have any of the mutating methods.

…d type

The `Readonly` mapped type only introduces the `readonly` modifier for each property,
but `Map` has mutating methods like `clear`, `delete` and `set` that would still
remain usable. This commit switches those usages over to the `ReadonlyMap` type which
doesn't have any of the mutating methods.
Copy link
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

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

LGTM, can you please change the commit message scope to @angular/ssr?

@alan-agius4 alan-agius4 added target: major This PR is targeted for the next major release action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Sep 12, 2024
@JoostK
Copy link
Member Author

JoostK commented Sep 12, 2024

LGTM, can you please change the commit message scope to @angular/ssr?

Yep, done, I was waiting to see if all other tests were green 😄

@JoostK JoostK marked this pull request as ready for review September 12, 2024 12:59
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Sep 12, 2024
@alan-agius4 alan-agius4 merged commit 056d17a into angular:main Sep 12, 2024
33 checks passed
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/ssr target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants