W3cubDocs

/Angular 11

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–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/core/Type