Skip to content

Commit

Permalink
Fix Notifications extension API (#6946)
Browse files Browse the repository at this point in the history
* Fix Notifications extension API

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Only export specific types and values.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
  • Loading branch information
panuhorsmalahti committed Jan 16, 2023
1 parent c361852 commit 90c8e8e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/extensions/renderer-api/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ export * from "../../renderer/components/dialog";
export * from "../../renderer/components/line-progress";
export * from "../../renderer/components/menu";

export type {
CreateNotificationOptions,
Notification,
NotificationId,
NotificationMessage,
export {
NotificationStatus,
ShowNotification,
NotificationsStore,
type CreateNotificationOptions,
type Notification,
type NotificationId,
type NotificationMessage,
type ShowNotification,
type NotificationsStore,
} from "../../renderer/components/notifications";

export const Notifications = {
Expand Down

0 comments on commit 90c8e8e

Please sign in to comment.