UNPKG

angular2

Version:

Angular 2 - a web framework for modern web apps

20 lines (17 loc) 599 B
import {Type} from 'angular2/src/facade/lang'; import {List} from 'angular2/src/facade/collection'; import {Directive} from 'angular2/src/core/annotations/annotations' import {ResolvedBinding} from 'angular2/di'; /** * Combination of a type with the Directive annotation */ export class DirectiveMetadata { type:Type; annotation:Directive; resolvedInjectables:List<ResolvedBinding>; constructor(type:Type, annotation:Directive, resolvedInjectables:List<ResolvedBinding>) { this.annotation = annotation; this.type = type; this.resolvedInjectables = resolvedInjectables; } }