Skip to content

Commit

Permalink
export decorate func #979
Browse files Browse the repository at this point in the history
  • Loading branch information
fkhadra committed Jul 1, 2023
1 parent eb17a31 commit 62b486f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export function useNotificationCenter<Data = {}>(
};
}

function decorate<Data>(
export function decorate<Data>(
item: NotificationCenterItem<Data> | Partial<NotificationCenterItem<Data>>
) {
if (item.id == null) item.id = Date.now().toString(36).substring(2, 9);
Expand Down

0 comments on commit 62b486f

Please sign in to comment.