Rename file to types.ts

This commit is contained in:
RMidhunSuresh 2021-11-23 19:37:25 +05:30
parent 69e67ad5ac
commit 4bdcafad4b
2 changed files with 2 additions and 4 deletions

View file

@ -19,7 +19,7 @@ import {encodeQueryParams, encodeBody} from "./common";
import {HomeServerRequest} from "./HomeServerRequest";
import type {Reconnector} from "./Reconnector";
import type {IEncodedBody} from "./common";
import type {IRequestOptions, RequestFunction} from "../../platform/types/Platform";
import type {IRequestOptions, RequestFunction} from "../../platform/types/types";
import type {LogItem} from "../../logging/LogItem";
type RequestMethod = "POST" | "GET" | "PUT";

View file

@ -14,11 +14,9 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// todo: this file should be called something else?
import type {RequestResult} from "../web/dom/request/fetch.js";
import type {IEncodedBody} from "../../matrix/net/common";
import {LogItem} from "../../logging/LogItem";
import type {LogItem} from "../../logging/LogItem";
export interface IRequestOptions {
uploadProgress?: (loadedBytes: number) => void;