Skip to content

Commit 509d349

Browse files
Make notification id optional fixes #703 (#709)
Makes the id optional when posting a local notification.
1 parent fb09456 commit 509d349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/Notifications.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class NotificationsRoot {
5454
/**
5555
* postLocalNotification
5656
*/
57-
public postLocalNotification(notification: Notification, id: number) {
57+
public postLocalNotification(notification: Notification, id?: number) {
5858
return this.commands.postLocalNotification(notification, id);
5959
}
6060

0 commit comments

Comments
 (0)