Skip to content

Conversation

@costinsin
Copy link
Contributor

Change the type of _taskCounts to an IndexSignature that can have keys named as the values of the TaskType type.

The Closure Compiler used at Google has a property renaming optimization that can change the property names when minifying code. Having the correct type helps the TSJS team that develops a tool to identfy property renaming issues directly in TypeScript.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the new behavior?

The program behavior did not change.

Does this PR introduce a breaking change?

  • Yes
  • No

@pullapprove pullapprove bot requested a review from JiaLiPassion September 12, 2023 12:23
@pkozlowski-opensource pkozlowski-opensource added action: review The PR is still awaiting reviews from at least one requested reviewer area: zones Issues related to zone.js labels Sep 13, 2023
@ngbot ngbot bot modified the milestone: Backlog Sep 13, 2023
Copy link
Contributor

@JiaLiPassion JiaLiPassion left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the PR.

@JeanMeche
Copy link
Member

Closing as this PR is stale and we're looking to reduce the number of open PR. Thank you for your understanding.

@JeanMeche JeanMeche closed this Sep 20, 2024
@costinsin
Copy link
Contributor Author

Maybe it would have been easier to close it 1 year ago by merging it. It was already approved by then. Have a great day!

@JeanMeche
Copy link
Member

If you'd like the rebase it, we can re-open the PR. It was probably forgotten to add it to the merge queue. Because of the synchronization between github and Google's monorepo the merge is less trivial than usual.

@costinsin
Copy link
Contributor Author

Hello! Sorry for the delay. I have rebased the change now as you asked me.

@costinsin
Copy link
Contributor Author

Hey @JeanMeche can you take a look over this PR, please?

@JeanMeche
Copy link
Member

We need you to sign the CLA for the PR to go foward. Thank you.

@costinsin
Copy link
Contributor Author

I have signed the CLA.

@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 and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 29, 2024
…ure that can have keys

named as the values of the `TaskType` type.

The Closure Compiler used at Google has a property renaming optimization
that can change the property names when minifying code. Having the
correct type helps the TSJS team that develops a tool to identfy
property renaming issues directly in TypeScript.

Signed-off-by: Costin Sin <sin.costinrobert@gmail.com>
thePunderWoman pushed a commit that referenced this pull request Nov 1, 2024
…ure that can have keys (#51739)

named as the values of the `TaskType` type.

The Closure Compiler used at Google has a property renaming optimization
that can change the property names when minifying code. Having the
correct type helps the TSJS team that develops a tool to identfy
property renaming issues directly in TypeScript.

Signed-off-by: Costin Sin <sin.costinrobert@gmail.com>

PR Close #51739
thePunderWoman pushed a commit that referenced this pull request Nov 1, 2024
…ure that can have keys (#51739)

named as the values of the `TaskType` type.

The Closure Compiler used at Google has a property renaming optimization
that can change the property names when minifying code. Having the
correct type helps the TSJS team that develops a tool to identfy
property renaming issues directly in TypeScript.

Signed-off-by: Costin Sin <sin.costinrobert@gmail.com>

PR Close #51739
@thePunderWoman
Copy link
Contributor

This PR was merged into the repository by commit 2e54d6d.

The changes were merged into the following branches: main, 18.2.x, 19.0.x

@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 Dec 2, 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: zones Issues related to zone.js target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants