Skip to content

Commit fbfb2c7

Browse files
committed
fix(angular): es6 build
fixes ionic-team#15979
1 parent d817cc3 commit fbfb2c7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

angular/src/providers/platform.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import { proxyEvent } from '../util/util';
44

55

66
export class BackButtonEmitter extends EventEmitter<BackButtonDetail> {
7+
constructor() {
8+
super();
9+
}
710
subscribeWithPriority(priority: number, callback: () => Promise<any> | void) {
811
return this.subscribe((ev: BackButtonDetail) => {
912
ev.register(priority, callback);

core/src/interface.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export * from './global/config';
3434
export * from './utils/overlays-interface';
3535

3636
// Global types
37-
export type TextFieldTypes = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url';
37+
export type TextFieldTypes = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'time';
3838
export type Side = 'start' | 'end';
3939
export type PredefinedColors = 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';
4040
export type Color = PredefinedColors | string;

0 commit comments

Comments
 (0)