docs(async): adding type to EventEmitter now that it is generic
Closes #5391
This commit is contained in:
parent
3c8fa8c50d
commit
ae58934d52
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user