mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +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({
|
||||
sync: true
|
||||
})
|
||||
static isSwitchedOn() {}
|
||||
static isSwitchedOn() : boolean {
|
||||
// DUMMY BOOLEAN, @Cordova decorator will replace value.
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user