refactor(lib): run prettier

This commit is contained in:
Daniel Sogl
2020-05-16 14:40:49 +02:00
parent f5133c691d
commit 511a02d50b
326 changed files with 3079 additions and 4092 deletions
@@ -30,10 +30,7 @@ export interface MediaFile {
* @param {Function} successCallback
* @param {Function} [errorCallback]
*/
getFormatData(
successCallback: (data: MediaFileData) => any,
errorCallback?: (err: any) => any
): any;
getFormatData(successCallback: (data: MediaFileData) => any, errorCallback?: (err: any) => any): any;
}
export interface MediaFileData {
@@ -135,7 +132,7 @@ export interface VideoCapturePlusOptions {
plugin: 'cordova-plugin-video-capture-plus',
pluginRef: 'window.plugins.videocaptureplus',
repo: 'https://github.com/danielsogl/cordova-plugin-video-capture-plus',
platforms: ['Android', 'iOS']
platforms: ['Android', 'iOS'],
})
@Injectable()
export class VideoCapturePlus extends IonicNativePlugin {
@@ -145,7 +142,7 @@ export class VideoCapturePlus extends IonicNativePlugin {
* @return {Promise<MediaFile[]>}
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
captureVideo(options?: VideoCapturePlusOptions): Promise<MediaFile[]> {
return;