diff --git a/core/src/utils/hardware-back-button.ts b/core/src/utils/hardware-back-button.ts index beec2dfb91..9e7d9d690b 100644 --- a/core/src/utils/hardware-back-button.ts +++ b/core/src/utils/hardware-back-button.ts @@ -36,6 +36,7 @@ export function startHardwareBackButton(win: Window) { }); const result = handler!(); if (result) { + // tslint:disable-next-line:no-floating-promises result.then(() => busy = false); } } diff --git a/core/src/utils/overlays.ts b/core/src/utils/overlays.ts index 22b514f440..34dd5a8f90 100644 --- a/core/src/utils/overlays.ts +++ b/core/src/utils/overlays.ts @@ -1,4 +1,4 @@ -import { AnimationBuilder, HTMLIonOverlayElement, IonicConfig, OverlayInterface, BackButtonEvent } from '../interface'; +import { AnimationBuilder, BackButtonEvent, HTMLIonOverlayElement, IonicConfig, OverlayInterface } from '../interface'; let lastId = 0;