From 2caa1516ab6f52da212dded63ccfd3c1b67588c4 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Sun, 6 Mar 2016 16:59:09 -0500 Subject: [PATCH] fix: added dummy boolean not sure if required --- src/plugins/flashlight.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/flashlight.ts b/src/plugins/flashlight.ts index 9cd9f23c25..68cd68f0bd 100644 --- a/src/plugins/flashlight.ts +++ b/src/plugins/flashlight.ts @@ -85,6 +85,9 @@ export class Flashlight { @Cordova({ sync: true }) - static isSwitchedOn() {} + static isSwitchedOn() : boolean { + // DUMMY BOOLEAN, @Cordova decorator will replace value. + return true; + } } \ No newline at end of file