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
+6 -10
View File
@@ -42,7 +42,7 @@ export interface DialogsPromptCallback {
plugin: 'cordova-plugin-dialogs',
pluginRef: 'navigator.notification',
repo: 'https://github.com/apache/cordova-plugin-dialogs',
platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows']
platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows'],
})
@Injectable()
export class Dialogs extends IonicNativePlugin {
@@ -55,7 +55,7 @@ export class Dialogs extends IonicNativePlugin {
*/
@Cordova({
successIndex: 1,
errorIndex: 4
errorIndex: 4,
})
alert(message: string, title?: string, buttonName?: string): Promise<any> {
return;
@@ -70,13 +70,9 @@ export class Dialogs extends IonicNativePlugin {
*/
@Cordova({
successIndex: 1,
errorIndex: 4
errorIndex: 4,
})
confirm(
message: string,
title?: string,
buttonLabels?: string[]
): Promise<number> {
confirm(message: string, title?: string, buttonLabels?: string[]): Promise<number> {
return;
}
@@ -90,7 +86,7 @@ export class Dialogs extends IonicNativePlugin {
*/
@Cordova({
successIndex: 1,
errorIndex: 5
errorIndex: 5,
})
prompt(
message?: string,
@@ -106,7 +102,7 @@ export class Dialogs extends IonicNativePlugin {
* @param {numbers} times The number of times to repeat the beep.
*/
@Cordova({
sync: true
sync: true,
})
beep(times: number): void {}
}