| 5 | |
| 6 | declare global { |
| 7 | interface Window { |
| 8 | VK: { |
| 9 | Share?: { |
| 10 | count: (index: number, count: number) => void; |
| 11 | }; |
| 12 | callbacks?: ((count?: number) => void)[]; |
| 13 | }; |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | function getVKShareCount(shareUrl: string, callback: (shareCount?: number) => void) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…