mirror of
https://github.com/thelounge/thelounge
synced 2024-11-21 19:43:07 +00:00
add timestamp to NotificationOptions
This commit is contained in:
parent
42ea66c343
commit
300bd4c84c
1 changed files with 8 additions and 0 deletions
|
@ -96,6 +96,14 @@ socket.on("msg", function (data) {
|
|||
}
|
||||
});
|
||||
|
||||
declare global {
|
||||
// this extends the interface from lib.dom with additional stuff which is not
|
||||
// exactly standard but implemented in some browsers
|
||||
interface NotificationOptions {
|
||||
timestamp?: number; // chrome has it, other browsers ignore it
|
||||
}
|
||||
}
|
||||
|
||||
function notifyMessage(
|
||||
targetId: number,
|
||||
channel: ClientChan,
|
||||
|
|
Loading…
Reference in a new issue