Skip to content

refactor(devtools): remove unnecessary async from serializeTransferState#68854

Open
bravesasha wants to merge 1 commit into
angular:mainfrom
bravesasha:main
Open

refactor(devtools): remove unnecessary async from serializeTransferState#68854
bravesasha wants to merge 1 commit into
angular:mainfrom
bravesasha:main

Conversation

@bravesasha
Copy link
Copy Markdown

@bravesasha bravesasha commented May 21, 2026

Remove unnecessary async/Promise<void> from serializeTransferState and the redundant async () => wrapper in provideAppInitializer the function contains no async operations, so this is a zero behavior change cleanup.

@pullapprove pullapprove Bot requested a review from AleksanderBodurri May 21, 2026 12:22
Copy link
Copy Markdown
Contributor

@erkamyaman erkamyaman left a comment

Choose a reason for hiding this comment

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

I believe your commit message should have a scope and also you should also add a commit body.

See: https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md

@bravesasha bravesasha changed the title refactor: remove unnecessary async from serializeTransferState refactor(devtools): remove unnecessary async from serializeTransferState May 21, 2026
Remove unnecessary `async`/`Promise<void>` from `serializeTransferState` and the
redundant `async () =>` wrapper in `provideAppInitializer` — the function contains
no async operations, so this is a zero behavior change cleanup.
@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels May 22, 2026
@ngbot ngbot Bot modified the milestone: Backlog May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: devtools target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants