Skip to content

Commit

Permalink
fix: event emitter type (#18664)
Browse files Browse the repository at this point in the history
* fix: event emitter type

* regenerate golden api
  • Loading branch information
mmalerba committed Mar 6, 2020
1 parent 1410358 commit b486891
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/material/tabs/tab-body.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export abstract class _MatTabBodyBase implements OnInit, OnDestroy {
@Output() readonly _beforeCentering: EventEmitter<boolean> = new EventEmitter<boolean>();

/** Event emitted before the centering of the tab begins. */
@Output() readonly _afterLeavingCenter: EventEmitter<boolean> = new EventEmitter<boolean>();
@Output() readonly _afterLeavingCenter: EventEmitter<void> = new EventEmitter<void>();

/** Event emitted when the tab completes its animation towards the center. */
@Output() readonly _onCentered: EventEmitter<void> = new EventEmitter<void>(true);
Expand Down
2 changes: 1 addition & 1 deletion tools/public_api_guard/material/tabs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface _MatInkBarPositioner {
}

export declare abstract class _MatTabBodyBase implements OnInit, OnDestroy {
readonly _afterLeavingCenter: EventEmitter<boolean>;
readonly _afterLeavingCenter: EventEmitter<void>;
readonly _beforeCentering: EventEmitter<boolean>;
_content: TemplatePortal;
readonly _onCentered: EventEmitter<void>;
Expand Down

0 comments on commit b486891

Please sign in to comment.