Rename file to types.ts
This commit is contained in:
parent
69e67ad5ac
commit
4bdcafad4b
2 changed files with 2 additions and 4 deletions
|
@ -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";
|
||||
|
|
|
@ -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;
|
Reference in a new issue