Type

interface

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

See more...

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

Description

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

Methods

new (...args: any[]): T

Parameters

args

Type: any[].

Returns

T

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