Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs(templates): remove unsupported operators from supported table #62092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

guimasi1
Copy link
Contributor

In the Expression Syntax guide https://angular.dev/guide/templates/expression-syntax#what-operators-are-supported the following operators are listed under "Supported operators":

  • typeof
  • void
  • in

However, these same operators are also listed under "Unsupported operators" just below, and when tested in templates, they do not work and result in template parsing errors.

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 "Supported operators" table in the Expression Syntax guide lists typeof, void, and in as usable operators in templates. However, they are not supported and result in errors if used.

Issue Number: N/A

What is the new behavior?

The documentation has been updated to remove typeof, void, and in from the supported operators list. They remain listed under "Unsupported operators".

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@pullapprove pullapprove bot requested a review from jelbourn June 17, 2025 07:31
@crisbeto
Copy link
Member

There's an identical change to this in #62064.

@pkozlowski-opensource pkozlowski-opensource added area: docs Related to the documentation labels Jun 17, 2025
@ngbot ngbot bot modified the milestone: Backlog Jun 17, 2025
Copy link
Member

@JeanMeche JeanMeche left a comment

Choose a reason for hiding this comment

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

Thanks for this !
We'll accept this change here as we can send it in the current patch branch.

@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 Jun 17, 2025
@JeanMeche JeanMeche removed the request for review from jelbourn June 17, 2025 16:45
@crisbeto crisbeto added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: merge The PR is ready for merge by the caretaker labels Jun 19, 2025
@crisbeto
Copy link
Member

We can't merge this until the lint error for the commit message is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews area: docs Related to the documentation target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants