Skip to content

A mistake in the docs - in the description of the Component Class section #32948

@fouaddev

Description

@fouaddev

📚 Docs or angular.io bug report

Description

In the Component Class section, the reference of angular in relation to typescript should be angular instead of angularJS.

🔬 Minimal Reproduction

What's the affected URL?**

https://angular.io/guide/ajs-quick-reference

Reproduction Steps**

Go to the link above and scroll down to the Component class section. Read its description.

Expected vs Actual Behavior**

Expected:

NOTE: If you are using TypeScript with Angular, you must use the export keyword to export the component class.

Actual Behavior:

NOTE: If you are using TypeScript with AngularJS, you must use the export keyword to export the component class.

📷Screenshot

angular_mistake

🔥 Exception or Error





🌍 Your Environment

Browser info

Version 77.0.3865.90 (Official Build) (64-bit)

Anything else relevant?

This is just a text mistake in the docs, not a code error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    freq1: lowgood first issueAn issue that is suitable for first-time contributors; often a documentation issue.type: bug/fix

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions