mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +08:00
fix: added dummy boolean
not sure if required
This commit is contained in:
parent
3ec25fa63b
commit
2caa1516ab
@ -85,6 +85,9 @@ export class Flashlight {
|
|||||||
@Cordova({
|
@Cordova({
|
||||||
sync: true
|
sync: true
|
||||||
})
|
})
|
||||||
static isSwitchedOn() {}
|
static isSwitchedOn() : boolean {
|
||||||
|
// DUMMY BOOLEAN, @Cordova decorator will replace value.
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user