Repository navigation
docs: fix wrong claims in the error reference pages - #71391
Open
erkamyaman wants to merge 1 commit into
Open
erkamyaman wants to merge 1 commit into
erkamyaman wants to merge 1 commit into
Conversation
Several error reference pages describe messages or behavior that the
framework does not have.
NG0201 quotes `No provider for ${this}!`, which is not an Angular message.
NG02200 lists `Map` among the iterables `ngFor` accepts, but `Map` is
excluded from the iterable differs, so it fails with this error. NG05101
says a typo such as `(keyup.ente)` triggers it, but `DomEventsPlugin`
supports every event name, so the error only occurs when no registered
plugin supports the event. NG8002 quotes the NG0304 unknown element
message, and the unknown property message is NG0303. NG8103 lists
`*ngSwitch`, but the check covers `*ngSwitchCase` and `*ngSwitchDefault`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No provider for ${this}!, which isn't an Angular message.Mapas an iterablengForaccepts, butMapis excluded from the iterable differs.(keyup.ente)triggers it, butDomEventsPluginsupports every event name. The error occurs only when no registered plugin supports the event.*ngSwitch, but the check covers*ngSwitchCaseand*ngSwitchDefault.