mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-06-08 00:00:19 +08:00
refactor(lib): run prettier
This commit is contained in:
@@ -33,7 +33,7 @@ export interface LastCamStartupOptions {
|
||||
plugin: 'cordova-plugin-last-cam',
|
||||
pluginRef: 'LastCam',
|
||||
repo: 'https://github.com/bengejd/cordova-plugin-last-cam',
|
||||
platforms: ['iOS']
|
||||
platforms: ['iOS'],
|
||||
})
|
||||
@Injectable()
|
||||
export class LastCam extends IonicNativePlugin {
|
||||
@@ -44,7 +44,7 @@ export class LastCam extends IonicNativePlugin {
|
||||
*/
|
||||
@Cordova({
|
||||
successIndex: 1,
|
||||
errorIndex: 2
|
||||
errorIndex: 2,
|
||||
})
|
||||
startCamera(options: LastCamStartupOptions): Promise<any> {
|
||||
return;
|
||||
@@ -83,7 +83,7 @@ export class LastCam extends IonicNativePlugin {
|
||||
*/
|
||||
@Cordova({
|
||||
successIndex: 0,
|
||||
errorIndex: 1
|
||||
errorIndex: 1,
|
||||
})
|
||||
takePicture(): Promise<any> {
|
||||
return;
|
||||
@@ -104,7 +104,7 @@ export class LastCam extends IonicNativePlugin {
|
||||
*/
|
||||
@Cordova({
|
||||
successIndex: 0,
|
||||
errorIndex: 1
|
||||
errorIndex: 1,
|
||||
})
|
||||
stopVideoCapture(): Promise<any> {
|
||||
return;
|
||||
@@ -116,7 +116,7 @@ export class LastCam extends IonicNativePlugin {
|
||||
*/
|
||||
@Cordova({
|
||||
successIndex: 0,
|
||||
errorIndex: 1
|
||||
errorIndex: 1,
|
||||
})
|
||||
recordingTimer(): Promise<any> {
|
||||
return;
|
||||
@@ -129,7 +129,7 @@ export class LastCam extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
successIndex: 0,
|
||||
errorIndex: 1,
|
||||
observable: true
|
||||
observable: true,
|
||||
})
|
||||
watchRecordingTimer(): Observable<any> {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user