Skip to content

Commit

Permalink
chore(api): generate types
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Oct 11, 2023
1 parent 75252c4 commit 9e77416
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion api/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6570,6 +6570,20 @@ declare module "socket:notification" {
* @return {Promise}
*/
export function showNotification(title: string, options?: NotificationOptions | undefined, onclick?: ((arg0: Event) => any) | undefined, onshow?: any): Promise<any>;
/**
* The global event dispatched when a `Notification` is presented to
* the user.
* @ignore
* @type {string}
*/
export const NOTIFICATION_PRESENTED_EVENT: string;
/**
* The global event dispatched when a `Notification` has a response
* from the user.
* @ignore
* @type {string}
*/
export const NOTIFICATION_RESPONSE_EVENT: string;
/**
* An enumeratino of notification test directions:
* - 'auto' Automatically determined by the operating system
Expand Down Expand Up @@ -6896,7 +6910,7 @@ declare module "socket:notification" {
/**
* Closes the notification programmatically.
*/
close(): Promise<void>;
close(): Promise<any>;
#private;
}
export default Notification;
Expand Down

0 comments on commit 9e77416

Please sign in to comment.