()
| 1 | export function initializeCodeCopyButtons(): void { |
| 2 | document.querySelectorAll<HTMLElement>(".code-copy-btn").forEach((button) => { |
| 3 | button.addEventListener("click", handleCodeCopy); |
| 4 | }); |
| 5 | } |
| 6 | |
| 7 | function handleCodeCopy(event: Event): void { |
| 8 | const button = event.currentTarget as HTMLElement; |
nothing calls this directly
no outgoing calls
no test coverage detected