ClassDefinition

export interface ClassDefinition

exported from angular2/core defined in angular2/src/core/util/decorators.ts (line 1)

Declares the interface to be used with Class.

Members

extends : Type

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.