Skip to content

Conversation

@tsc036
Copy link
Contributor

@tsc036 tsc036 commented Nov 12, 2025

…s and framework to shared devtools folder

move framework enum and profile_types to a shared folder so it can be used by wiz

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.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

The ProfilerEvent is exported as const enum which causes Cannot access ambient const enums when 'isolatedModules' is enabled when trying to build the file I'm importing it into. Also profile_types.ts and Framework are not located in the devtools folder.

Issue Number: N/A

What is the new behavior?

profile_types.ts and the Framework enum have been move to a shared devtools folder, so they can be used in the Wiz devtools implementation. In addition ProfilerEvent has been exported just as an enum

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@pullapprove pullapprove bot added the requires: TGP This PR requires a passing TGP before merging is allowed label Nov 12, 2025
@angular-robot angular-robot bot added the area: core Issues related to the framework runtime label Nov 12, 2025
@ngbot ngbot bot added this to the Backlog milestone Nov 12, 2025
@tsc036 tsc036 force-pushed the move-framework-and-profile-types-to-shared branch from 8415272 to d44acc4 Compare November 12, 2025 00:51
@tsc036 tsc036 force-pushed the move-framework-and-profile-types-to-shared branch 2 times, most recently from a1bb684 to dcbbca1 Compare November 12, 2025 19:26
@tsc036
Copy link
Contributor Author

tsc036 commented Nov 12, 2025

Caretaker note: Build changes in cl/831475450 need to be patched when these changes are synced to google3. Can someone add the merge: caretaker note for me.

…s and framework to shared devtools folder

move framework enum and profile_types to a shared folder so it can be used by wiz
@tsc036 tsc036 force-pushed the move-framework-and-profile-types-to-shared branch from dcbbca1 to d2846fd Compare November 13, 2025 00:43
@pullapprove pullapprove bot requested a review from mmalerba November 13, 2025 16:11
Copy link
Contributor

@mmalerba mmalerba left a comment

Choose a reason for hiding this comment

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

reviewed-for: public-api

@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Nov 17, 2025
…types.ts and framework to shared devtools folder
@thePunderWoman thePunderWoman added target: patch This PR is targeted for the next patch release state: blocked merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed state: blocked labels Nov 18, 2025
@thePunderWoman thePunderWoman merged commit 34e1fe2 into angular:main Nov 19, 2025
22 of 24 checks passed
@thePunderWoman
Copy link
Contributor

This PR was merged into the repository. The changes were merged into the following branches:

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: core Issues related to the framework runtime merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note requires: TGP This PR requires a passing TGP before merging is allowed target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants