From 1d56dc713cf7a3e6ee233705dbe7979d15f9da19 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Tue, 4 Sep 2018 01:11:35 +0200 Subject: [PATCH] chore(): fix linter issues --- core/src/utils/hardware-back-button.ts | 1 + core/src/utils/overlays.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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;