Skip to content

Commit

Permalink
Adds TypeScript interface for SafeStorage (#155)
Browse files Browse the repository at this point in the history
Allows typescript to easily access SafeStorage.
  • Loading branch information
pnelego committed Jul 3, 2023
1 parent 9f543a1 commit 2f79ed6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export {
DownloadItem,
IncomingMessage,
MessagePortMain,
SafeStorage,
ServiceWorkers,
TouchBarButton,
TouchBarColorPicker,
Expand Down Expand Up @@ -47,6 +48,7 @@ export var Notification: typeof Electron.Notification;
export var powerMonitor: Electron.PowerMonitor;
export var powerSaveBlocker: Electron.PowerSaveBlocker;
export var protocol: Electron.Protocol;
export var safeStorage: Electron.SafeStorage;
export var screen: Electron.Screen;
export var session: typeof Electron.session;
export var ShareMenu: typeof Electron.ShareMenu;
Expand Down

0 comments on commit 2f79ed6

Please sign in to comment.