diff --git a/src_js/conditional_plugins/plugins/april_fools_star_wars.plugin.tsx b/src_js/conditional_plugins/plugins/april_fools_star_wars.plugin.tsx index 119a928..c5ef032 100644 --- a/src_js/conditional_plugins/plugins/april_fools_star_wars.plugin.tsx +++ b/src_js/conditional_plugins/plugins/april_fools_star_wars.plugin.tsx @@ -5,7 +5,7 @@ import { Month, getCurrentMonth } from '../utils/date_utils'; const PIXELS_PER_SECOND = 40; const AUTO_SCROLL_BTN_ID = 'primer-spec-star-wars-auto-scroll-ctrl'; -let specHtmlBodyElement = null; +let specHtmlBodyElement: null | HTMLElement = null; export default async function AprilFoolsLanguagesPlugin(): Promise { insertToggleIfNeeded(); @@ -227,11 +227,12 @@ function Topbar() {