Skip to content

Commit

Permalink
fix mw.notify types
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthvp committed Mar 1, 2021
1 parent 6790a76 commit 0098d73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mw/notification.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ declare global {
*/
function notify(
message: string | JQuery | HTMLElement | HTMLElement[],
options?: { tag?: string; type?: string; title?: string }
options?: Partial<typeof notification.defaults>
): {
pause: () => void;
resume: () => void;
Expand All @@ -34,8 +34,8 @@ declare global {
function resume(): void;

function notify(
message: string,
options?: typeof notification.defaults
message: string | JQuery | HTMLElement | HTMLElement[],
options?: Partial<typeof notification.defaults>
): {
pause: () => void;
resume: () => void;
Expand Down

0 comments on commit 0098d73

Please sign in to comment.