mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-24 03:00:39 +08:00
22 lines
979 B
JavaScript
22 lines
979 B
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License. See License.txt in the project root for license information.
|
|
import { __extends } from "tslib";
|
|
import { FetchHttpClient, } from "./fetchHttpClient";
|
|
var BrowserFetchHttpClient = /** @class */ (function (_super) {
|
|
__extends(BrowserFetchHttpClient, _super);
|
|
function BrowserFetchHttpClient() {
|
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
}
|
|
BrowserFetchHttpClient.prototype.prepareRequest = function (_httpRequest) {
|
|
return Promise.resolve({});
|
|
};
|
|
BrowserFetchHttpClient.prototype.processRequest = function (_operationResponse) {
|
|
return Promise.resolve();
|
|
};
|
|
BrowserFetchHttpClient.prototype.fetch = function (input, init) {
|
|
return fetch(input, init);
|
|
};
|
|
return BrowserFetchHttpClient;
|
|
}(FetchHttpClient));
|
|
export { BrowserFetchHttpClient };
|
|
//# sourceMappingURL=browserFetchHttpClient.js.map
|