mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 20:48:29 +02:00
feat: add @actions/cache
This commit is contained in:
parent
b15fb7d098
commit
16e8c96a41
1932 changed files with 261172 additions and 10 deletions
23
node_modules/@azure/ms-rest-js/es/lib/fetchHttpClient.d.ts
generated
vendored
Normal file
23
node_modules/@azure/ms-rest-js/es/lib/fetchHttpClient.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
import { HttpClient } from "./httpClient";
|
||||
import { WebResourceLike } from "./webResource";
|
||||
import { HttpOperationResponse } from "./httpOperationResponse";
|
||||
import { HttpHeadersLike } from "./httpHeaders";
|
||||
export declare type CommonRequestInfo = string;
|
||||
export declare type CommonRequestInit = Omit<RequestInit, "body" | "headers" | "signal"> & {
|
||||
body?: any;
|
||||
headers?: any;
|
||||
signal?: any;
|
||||
};
|
||||
export declare type CommonResponse = Omit<Response, "body" | "trailer" | "formData"> & {
|
||||
body: any;
|
||||
trailer: any;
|
||||
formData: any;
|
||||
};
|
||||
export declare abstract class FetchHttpClient implements HttpClient {
|
||||
sendRequest(httpRequest: WebResourceLike): Promise<HttpOperationResponse>;
|
||||
abstract prepareRequest(httpRequest: WebResourceLike): Promise<Partial<RequestInit>>;
|
||||
abstract processRequest(operationResponse: HttpOperationResponse): Promise<void>;
|
||||
abstract fetch(input: CommonRequestInfo, init?: CommonRequestInit): Promise<CommonResponse>;
|
||||
}
|
||||
export declare function parseHeaders(headers: Headers): HttpHeadersLike;
|
||||
//# sourceMappingURL=fetchHttpClient.d.ts.map
|
Loading…
Add table
Add a link
Reference in a new issue