mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
ts: Migrate channel.js module to TypeScript.
This commit is contained in:
committed by
Tim Abbott
parent
f3830a3e1e
commit
4f3a971e64
@@ -3,10 +3,10 @@ import _ from "lodash";
|
||||
|
||||
import render_dialog_widget from "../templates/dialog_widget.hbs";
|
||||
|
||||
import type {AjaxRequestHandler} from "./channel";
|
||||
import {$t_html} from "./i18n";
|
||||
import * as loading from "./loading";
|
||||
import * as overlays from "./overlays";
|
||||
import type {AjaxRequestHandler} from "./types";
|
||||
import * as ui_report from "./ui_report";
|
||||
|
||||
/*
|
||||
@@ -237,7 +237,7 @@ export function submit_api_request(
|
||||
}: RequestOpts = {},
|
||||
): void {
|
||||
show_dialog_spinner();
|
||||
request_method({
|
||||
void request_method({
|
||||
url,
|
||||
data,
|
||||
success(response_data, textStatus, jqXHR) {
|
||||
|
||||
Reference in New Issue
Block a user