(options: { type?: string } = {})
| 98 | } |
| 99 | |
| 100 | function clearLogs(options: { type?: string } = {}) { |
| 101 | if (options?.type) { |
| 102 | logs.value = logs.value.filter(log => log.event.type !== options.type); |
| 103 | } else { |
| 104 | logs.value = []; |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | watch(broadcaster, () => { |
| 109 | fetchAvatar(broadcaster.value?.platforms?.twitch?.broadcastUserName); |
nothing calls this directly
no outgoing calls
no test coverage detected