W3cubDocs

/Angular

Type

class

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

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/Type