mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
refactor(lib): run prettier
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user