docs(async): adding type to EventEmitter now that it is generic

Closes #5391
This commit is contained in:
Olivier Combe 2015-11-19 23:10:50 +01:00
parent 3c8fa8c50d
commit ae58934d52
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ export class ObservableWrapper {
* </div>`})
* export class Zippy {
* visible: boolean = true;
* @Output() open: EventEmitter = new EventEmitter();
* @Output() close: EventEmitter = new EventEmitter();
* @Output() open: EventEmitter<any> = new EventEmitter();
* @Output() close: EventEmitter<any> = new EventEmitter();
*
* toggle() {
* this.visible = !this.visible;