Skip to content

Commit 5193e9a

Browse files
authored
add type annotation (#127)
1 parent 6b87cb2 commit 5193e9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/sbom.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ const tags = [
605605
<script>
606606
// Handle vulnerability details toggle for multiple rows
607607
document.addEventListener('DOMContentLoaded', function() {
608-
const toggleButtons = document.querySelectorAll('.vuln-toggle');
608+
const toggleButtons = document.querySelectorAll<HTMLButtonElement>('.vuln-toggle');
609609

610610
toggleButtons.forEach((button) => {
611611
button.addEventListener('click', function() {

0 commit comments

Comments
 (0)