fix(angular): es6 build (#16207)

fixes #15979
This commit is contained in:
Manu MA
2018-11-03 02:14:33 +01:00
committed by GitHub
parent d817cc3b30
commit a9811169fc
3 changed files with 34 additions and 31 deletions

View File

@ -4,6 +4,9 @@ import { proxyEvent } from '../util/util';
export class BackButtonEmitter extends EventEmitter<BackButtonDetail> {
constructor() {
super();
}
subscribeWithPriority(priority: number, callback: () => Promise<any> | void) {
return this.subscribe((ev: BackButtonDetail) => {
ev.register(priority, callback);