ts: Migrate channel.js module to TypeScript.

This commit is contained in:
Lalit Kumar Singh
2023-08-16 15:53:31 +05:30
committed by Tim Abbott
parent f3830a3e1e
commit 4f3a971e64
6 changed files with 44 additions and 32 deletions

View File

@@ -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) {