From 90c8e8e70c6ca8a6b15e8c9587a961a3441aaedb Mon Sep 17 00:00:00 2001 From: Panu Horsmalahti Date: Mon, 16 Jan 2023 14:27:25 +0200 Subject: [PATCH] Fix Notifications extension API (#6946) * Fix Notifications extension API Signed-off-by: Panu Horsmalahti * Only export specific types and values. Signed-off-by: Panu Horsmalahti Signed-off-by: Panu Horsmalahti --- src/extensions/renderer-api/components.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/extensions/renderer-api/components.ts b/src/extensions/renderer-api/components.ts index dc8c52053d..e4102433bf 100644 --- a/src/extensions/renderer-api/components.ts +++ b/src/extensions/renderer-api/components.ts @@ -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 = {