ClassDefinition

Stable Interface

Interface Overview

interface ClassDefinition {
  extends : Type<any>
  constructor : Function|any[]
}

Interface Description

Declares the interface to be used with Class.

Interface Details

extends : Type<any>

Optional argument for specifying the superclass.

constructor : Function|any[]

Required constructor function for a class.

The function may be optionally wrapped in an Array, in which case additional parameter annotations may be specified. The number of arguments and the number of parameter annotations must match.

See Class for example of usage.

exported from @angular/core/index, defined in @angular/core/src/util/decorators.ts

doc_Angular
2016-10-06 09:46:19
Comments
Leave a Comment

Please login to continue.