resize_handler: Convert module to Typescript.

This commit is contained in:
Temidayo32 2024-03-05 15:21:59 +00:00 committed by Tim Abbott
parent b0283c42f9
commit 11e498f937
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ EXEMPT_FILES = make_set(
"web/src/reload_setup.js",
"web/src/reminder.js",
"web/src/resize.ts",
"web/src/resize_handler.js",
"web/src/resize_handler.ts",
"web/src/rows.ts",
"web/src/scheduled_messages.ts",
"web/src/scheduled_messages_feed_ui.ts",

View File

@ -11,7 +11,7 @@ import * as util from "./util";
export let _old_width = $(window).width();
export function handler() {
export function handler(): void {
const new_width = $(window).width();
const mobile = util.is_mobile();