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

View File

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