зеркало из https://github.com/Azure/ms-rest-js.git
Stop importing from msRest
This commit is contained in:
Родитель
5d750528b7
Коммит
e513da1f3a
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
|
||||
import { WebResource } from "./webResource";
|
||||
import { HttpOperationResponse } from "./msRest";
|
||||
import { HttpOperationResponse } from "./httpOperationResponse";
|
||||
|
||||
export class RestError extends Error {
|
||||
code?: string;
|
||||
|
|
|
@ -17,12 +17,12 @@ import { rpRegistrationPolicy } from "./policies/rpRegistrationPolicy";
|
|||
import { serializationPolicy } from "./policies/serializationPolicy";
|
||||
import { signingPolicy } from "./policies/signingPolicy";
|
||||
import { systemErrorRetryPolicy } from "./policies/systemErrorRetryPolicy";
|
||||
import { QueryCollectionFormat, getQueryCollectionFormatSeparator } from "./queryCollectionFormat";
|
||||
import { Serializer } from "./serializer";
|
||||
import { URLBuilder } from "./url";
|
||||
import { Constants } from "./util/constants";
|
||||
import * as utils from "./util/utils";
|
||||
import { RequestPrepareOptions, WebResource } from "./webResource";
|
||||
import { URLBuilder } from "./url";
|
||||
import { QueryCollectionFormat, getQueryCollectionFormatSeparator } from "./queryCollectionFormat";
|
||||
|
||||
/**
|
||||
* Options to be provided while creating the client.
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
import * as assert from "assert";
|
||||
import * as should from "should";
|
||||
import { AxiosHttpClient } from "../../lib/axiosHttpClient";
|
||||
import { baseURL } from "../testUtils";
|
||||
import { isNode } from "../../lib/util/utils";
|
||||
import { WebResource } from "../../lib/webResource";
|
||||
import { isNode } from "../../lib/msRest";
|
||||
import { baseURL } from "../testUtils";
|
||||
|
||||
function getAbortController(): AbortController {
|
||||
let controller: AbortController;
|
||||
|
|
Загрузка…
Ссылка в новой задаче