Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page for the current version of Angular.

Type

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

See more...

      
      class Type<T> extends Function {
  constructor(...args: any[]): T
}
    

Description

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

Constructor

      
      constructor(...args: any[]): T
    
Parameters
args any[]
Returns

T