(event: Event)
| 27 | } |
| 28 | |
| 29 | function closeAndFocus(event: Event) { |
| 30 | if (window.parent) { |
| 31 | window.parent.focus(); |
| 32 | } |
| 33 | window.focus(); |
| 34 | window.location.href = '/'; |
| 35 | const target = event.target as Notification; |
| 36 | target.close(); |
| 37 | } |
| 38 | |
| 39 | function closeAfterTimeout(event: Event) { |
| 40 | setTimeout(() => { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…