W3cubDocs

/Angular

Type

Represents a type that a Component or other object is instances of.

API

const Type: FunctionConstructor;

Description

Represents a type that a Component or other object is instances of.

An example of a Type is MyCustomComponent class, which in JavaScript is represented by the MyCustomComponent constructor function.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/Type