mirror of https://github.com/zulip/zulip.git
resize_handler: Convert module to Typescript.
This commit is contained in:
parent
b0283c42f9
commit
11e498f937
|
@ -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",
|
||||
|
|
|
@ -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();
|
Loading…
Reference in New Issue