mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
ts: Migrate scroll_util.js
to TypeScript.
This commit migrates `scroll_util.js` to typescript. I made a helper type `JQueryOrZJQuery` for the argument of `get_scroll_element` instead of adding a `__zjquery` property to the global JQuery object because it isn't being used anywhere outside of this function and hence it makes sense to have a little helper type than to add the property to the global object.
This commit is contained in:
@@ -149,7 +149,7 @@ EXEMPT_FILES = make_set(
|
||||
"web/src/scheduled_messages.js",
|
||||
"web/src/scheduled_messages_overlay_ui.js",
|
||||
"web/src/scroll_bar.ts",
|
||||
"web/src/scroll_util.js",
|
||||
"web/src/scroll_util.ts",
|
||||
"web/src/search_pill_widget.js",
|
||||
"web/src/sent_messages.js",
|
||||
"web/src/sentry.ts",
|
||||
|
Reference in New Issue
Block a user