zulip/static/js/global.d.ts

50 lines
1.4 KiB
TypeScript

// These declarations tell the TypeScript compiler about the existence
// of the global variables for our untyped JavaScript modules. Please
// remove each declaration when the corresponding module is migrated
// to TS.
declare let admin: any;
declare let blueslip: any;
declare let bot_data: any;
declare let compose_actions: any;
declare let composebox_typeahead: any;
declare let compose_ui: any;
declare let csrf_token: any;
declare let current_msg_list: any;
declare let emoji: any;
declare let emoji_picker: any;
declare let favicon: any;
declare let helpers: any;
declare let home_msg_list: any;
declare let i18n: any;
declare let input_pill: any;
declare let message_events: any;
declare let message_list: any;
declare let narrow: any;
declare let page_params: any;
declare let panels: any;
declare let pointer: any;
declare let reactions: any;
declare let recent_topics: any;
declare let search_pill_widget: any;
declare let settings: any;
declare let settings_invites: any;
declare let settings_linkifiers: any;
declare let settings_org: any;
declare let settings_profile_fields: any;
declare let settings_streams: any;
declare let settings_user_groups: any;
declare let settings_users: any;
declare let stream_list: any;
declare let subs: any;
declare let message_view_header: any;
declare let typing_events: any;
declare let ui: any;
declare let unread: any;
declare let unread_ops: any;
declare let widgetize: any;
interface JQuery {
expectOne(): JQuery;
}