docs(annotations): correct List for directives for Component

@Component takes a List of directives

https://github.com/angular/angular/blob/master/modules/angular2/src/core
/annotations_impl/annotations.js#L867
This commit is contained in:
gdi2290 2015-05-14 08:13:54 -07:00
parent b1ef30aa20
commit 1d11fdecdc
1 changed files with 1 additions and 1 deletions

View File

@ -832,7 +832,7 @@ export class Component extends Directive {
* })
* @View({
* template: `{{greeter.greet('world')}}!`,
* directives: Child
* directives: [Child]
* })
* class HelloWorld {
* greeter:Greeter;