Skip to content

Commit

Permalink
Any removed for ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
Karakoc committed Sep 9, 2024
1 parent cd7b8dc commit 7b9d728
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion web/ts/utilities/lecture-hall-validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@ export function isLectureHallValid(lectureHall: string): boolean {
return regex.test(lectureHall);
}

(window as any).isLectureHallValid = isLectureHallValid;
declare global {
interface Window {
isLectureHallValid: (lectureHall: string) => boolean;
}
}

window.isLectureHallValid = isLectureHallValid;

0 comments on commit 7b9d728

Please sign in to comment.