public-typescript/attendance.ts
import type { Attend as AttendGlobal } from '../types/globalTypes.js'
;(() => {
// eslint-disable-next-line unicorn/prefer-module
const Attend = exports.Attend as AttendGlobal
const menuTabElements: NodeListOf<HTMLAnchorElement> =
document.querySelectorAll('#menu--attendance a')
const tabContainerElements: NodeListOf<HTMLElement> =
document.querySelectorAll('#tabs-container--attendance > article')
Attend.initializeMenuTabs(menuTabElements, tabContainerElements)
})()