diff --git a/src/plugins/localnotifications.ts b/src/plugins/localnotifications.ts index 585d1c8f..fd03199f 100644 --- a/src/plugins/localnotifications.ts +++ b/src/plugins/localnotifications.ts @@ -1,4 +1,6 @@ -import {Plugin, Cordova} from './plugin'; +import { Cordova, Plugin } from './plugin'; + + /** * @name Local Notifications * @description @@ -57,7 +59,7 @@ export class LocalNotifications { @Cordova({ sync: true }) - static schedule(options?: Notification|Array): void {} + static schedule(options?: Notification | Array): void { } /** * Updates a previously scheduled notification. Must include the id in the options parameter. @@ -66,14 +68,14 @@ export class LocalNotifications { @Cordova({ sync: true }) - static update(options?: Notification): void {} + static update(options?: Notification): void { } /** * Clears single or multiple notifications * @param notificationId A single notification id, or an array of notification ids. */ @Cordova() - static clear(notificationId: any): Promise {return; } + static clear(notificationId: any): Promise { return; } /** * Clears all notifications @@ -82,14 +84,14 @@ export class LocalNotifications { successIndex: 0, errorIndex: 2 }) - static clearAll(): Promise {return; } + static clearAll(): Promise { return; } /** * Cancels single or multiple notifications * @param notificationId A single notification id, or an array of notification ids. */ @Cordova() - static cancel(notificationId: any): Promise {return; } + static cancel(notificationId: any): Promise { return; } /** * Cancels all notifications @@ -98,85 +100,85 @@ export class LocalNotifications { successIndex: 0, errorIndex: 2 }) - static cancelAll(): Promise {return; } + static cancelAll(): Promise { return; } /** * Checks presence of a notification * @param notificationId */ @Cordova() - static isPresent (notificationId: number): Promise {return; } + static isPresent(notificationId: number): Promise { return; } /** * Checks is a notification is scheduled * @param notificationId */ @Cordova() - static isScheduled (notificationId: number): Promise {return; } + static isScheduled(notificationId: number): Promise { return; } /** * Checks if a notification is triggered * @param notificationId */ @Cordova() - static isTriggered (notificationId: number): Promise {return; } + static isTriggered(notificationId: number): Promise { return; } /** * Get all the notification ids */ @Cordova() - static getAllIds (): Promise> {return; } + static getAllIds(): Promise> { return; } /** * Get the ids of triggered notifications */ @Cordova() - static getTriggeredIds (): Promise> {return; } + static getTriggeredIds(): Promise> { return; } /** * Get the ids of scheduled notifications */ @Cordova() - static getScheduledIds (): Promise> {return; } + static getScheduledIds(): Promise> { return; } /** * Get a notification object * @param notificationId The id of the notification to get */ @Cordova() - static get (notificationId: any): Promise {return; } + static get(notificationId: any): Promise { return; } /** * Get a scheduled notification object * @param notificationId The id of the notification to get */ @Cordova() - static getScheduled (notificationId: any): Promise {return; } + static getScheduled(notificationId: any): Promise { return; } /** * Get a triggered notification object * @param notificationId The id of the notification to get */ @Cordova() - static getTriggered (notificationId: any): Promise {return; } + static getTriggered(notificationId: any): Promise { return; } /** * Get all notification objects */ @Cordova() - static getAll(): Promise> {return; } + static getAll(): Promise> { return; } /** * Get all scheduled notification objects */ @Cordova() - static getAllScheduled(): Promise> {return; } + static getAllScheduled(): Promise> { return; } /** * Get all triggered notification objects */ @Cordova() - static getAllTriggered(): Promise> {return; } + static getAllTriggered(): Promise> { return; } /** @@ -187,7 +189,7 @@ export class LocalNotifications { @Cordova({ sync: true }) - static on(eventName: string, callback: any): void {} + static on(eventName: string, callback: any): void { } }