refactor(flashlight):

This commit is contained in:
Guille 2016-07-08 01:00:45 +02:00
parent 6fcc109b6b
commit c94ba61a66

View File

@ -1,4 +1,5 @@
import {Plugin, Cordova} from './plugin'; import { Cordova, Plugin } from './plugin';
/** /**
* @name Flashlight * @name Flashlight
@ -21,7 +22,6 @@ import {Plugin, Cordova} from './plugin';
}) })
export class Flashlight { export class Flashlight {
/** /**
* Checks if the flashlight is available * Checks if the flashlight is available
* @returns {Promise<boolean>} Returns a promise that resolves with a boolean stating if the flashlight is available. * @returns {Promise<boolean>} Returns a promise that resolves with a boolean stating if the flashlight is available.