Skip to content

Commit

Permalink
NotificationEventCallbacks corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Sébastien VIDAL committed Aug 20, 2024
1 parent cfd8ae5 commit 1e74c67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build/lib/events.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export declare type FirmwareUpdateNotificationCallback = (releaseNotes: string,
export declare type InternetConnectivityChangedCallback = (connected: boolean) => void;
export interface NotificationEventCallbacks {
"rebooting": RebootNotificationCallback;
"internet connectivity changed": FirmwareUpdateNotificationCallback;
"firmware update available": InternetConnectivityChangedCallback;
"internet connectivity changed": InternetConnectivityChangedCallback;
"firmware update available": FirmwareUpdateNotificationCallback;
}
export declare type NotificationEvents = keyof NotificationEventCallbacks;
export declare type AllEventCallbacks = Merge<Merge<ObservableEventCallbacks, NotificationEventCallbacks>, Merge<ConnectionWatcherEventCallbacks, ConnectionEventCallbacks>>;
Expand Down
4 changes: 2 additions & 2 deletions src/lib/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export type InternetConnectivityChangedCallback = (connected: boolean) => void;

export interface NotificationEventCallbacks {
"rebooting": RebootNotificationCallback;
"internet connectivity changed": FirmwareUpdateNotificationCallback;
"firmware update available": InternetConnectivityChangedCallback;
"internet connectivity changed": InternetConnectivityChangedCallback;
"firmware update available": FirmwareUpdateNotificationCallback;
}
export type NotificationEvents = keyof NotificationEventCallbacks;

Expand Down

0 comments on commit 1e74c67

Please sign in to comment.