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
+4 -8
View File
@@ -48,7 +48,7 @@ export interface SmsOptionsAndroid {
plugin: 'cordova-sms-plugin',
pluginRef: 'sms',
repo: 'https://github.com/cordova-sms/cordova-sms-plugin',
platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8']
platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'],
})
@Injectable()
export class SMS extends IonicNativePlugin {
@@ -61,13 +61,9 @@ export class SMS extends IonicNativePlugin {
*/
@Cordova({
successIndex: 3,
errorIndex: 4
errorIndex: 4,
})
send(
phoneNumber: string | string[],
message: string,
options?: SmsOptions
): Promise<any> {
send(phoneNumber: string | string[], message: string, options?: SmsOptions): Promise<any> {
return;
}
@@ -76,7 +72,7 @@ export class SMS extends IonicNativePlugin {
* @return {Promise<boolean>} returns a promise that resolves with a boolean that indicates if we have permission
*/
@Cordova({
platforms: ['Android']
platforms: ['Android'],
})
hasPermission(): Promise<boolean> {
return;