Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

poll_widget: Remove handle_events augmentation of jQuery interface.

Anders Kaseorge0f634ae1183
diff --git a/web/src/poll_widget.ts b/web/src/poll_widget.ts
index 38f9a1d25e6..10dd4940b7c 100644
--- a/web/src/poll_widget.ts
+++ b/web/src/poll_widget.ts
@@ -23,13 +23,6 @@ export type PollWidgetExtraData = {
options?: string[];
};
-declare global {
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions
- interface JQuery {
- handle_events: (events: Event[]) => void;
- }
-}
-
export function activate({
$elem,
callback,